This website requires JavaScript.
db8b516e07
make: Added missing BUILD_DEP include
Christopher Haster
2025-05-15 13:36:49 -05:00
eba1e44c66
make: Adopted upstream Makefile changes
Christopher Haster
2025-05-15 13:32:49 -05:00
df7bdf5df9
Generated v2 prefixes
geky-bot
2025-05-15 02:10:27 +00:00
16ceb67934
Merge pull request #1103 from littlefs-project/devel
v2.11.0
Christopher Haster
2025-05-14 20:45:44 -05:00
8434536f0a
Bumped minor version to v2.11
Christopher Haster
2025-05-13 13:18:31 -05:00
523319b685
Merge pull request #1104 from DvdGiessen/os-rename-between-filesystems
Christopher Haster
2025-05-13 13:17:53 -05:00
ba250a3075
use shutil.move instead of os.rename to move file
Daniël van de Giessen
2025-05-13 13:12:42 +02:00
8c458fa6bd
Merge pull request #1094 from sosthene-nitrokey/shrink-fs
Christopher Haster
2025-05-13 00:45:32 -05:00
3149201ae5
Merge pull request #1091 from yamt/mach-o
Christopher Haster
2025-05-13 00:45:02 -05:00
6a43f3cdc3
Merge pull request #1090 from yamt/clang
Christopher Haster
2025-05-13 00:44:46 -05:00
d73fb8ef3c
Merge pull request #1099 from littlefs-project/fix-remove-double-deorphan
Christopher Haster
2025-05-13 00:44:26 -05:00
c1bf7cee84
Merge pull request #1100 from selimkeles/fix/bitshift_overflow
Christopher Haster
2025-05-13 00:44:05 -05:00
b26bf3494c
Merge pull request #1095 from DvdGiessen/lfs_crc
Christopher Haster
2025-05-13 00:43:24 -05:00
0115cf6b74
gha: Dropped explicit CFLAGS from clang testing in CI
Christopher Haster
2025-05-07 23:45:29 -05:00
bff4dfd1b1
Added NO_GCC to allow users to explicitly disable GCC-specific flags
Christopher Haster
2025-05-07 22:46:31 -05:00
edaaaf88ea
Apply review comments
Sosthène Guédon
2025-05-07 10:38:43 +02:00
7d79423972
Rename SHRINKIFCHEAP to SHRINKNONRELOCATING
Sosthène Guédon
2025-05-07 10:32:03 +02:00
7782d3dfa3
Mention that shrinking is unlikely to work
Sosthène Guédon
2025-05-06 10:59:32 +02:00
f4a1bb328a
fix: added uint32_t cast to the bitshift places In 16 bit and 8 bit architectures, overflow and underflow issues were occuring while using functions lfs_frombe32 and lfs_fromle32
selim.keles
2025-05-05 13:38:05 +03:00
9b8f802b43
fixup! Add support for shrinking a filesystem
Sosthène Guédon
2025-05-05 11:37:39 +02:00
a3d6bec5f0
Fixed a double deorphan caused by relocation mid dir remove
fix-remove-double-deorphan
Christopher Haster
2025-05-03 17:20:02 -05:00
0634d13e07
tests: Added non-reentrant variants of orphan/relocation tests
Christopher Haster
2025-05-03 17:15:26 -05:00
9f2f0b92e9
Renamed lfsr_fs_size -> lfsr_fs_usage
Christopher Haster
2025-05-01 00:37:07 -05:00
4a50c5c9ce
scripts: dbgbmap[d3].py: Adopted slightly different row prioritization
Christopher Haster
2025-04-30 02:30:31 -05:00
de7564e448
Added phase bits to cksum tags
Christopher Haster
2025-04-29 17:31:12 -05:00
97f8eeb9e9
Tweaked more functions to operate on lfs_t directly
Christopher Haster
2025-04-29 14:16:49 -05:00
f2e6b60f36
Reworked grm encoding a bit
Christopher Haster
2025-04-29 12:32:01 -05:00
98b4aaccc5
Dropped lfsr_tag_key from in-device lfsr_mdir_commit__ tags
Christopher Haster
2025-04-29 01:35:12 -05:00
ee406c1709
Adopted internal LFSR_TAG_GRMPUSH for atomic self-grming commits
Christopher Haster
2025-04-29 00:48:39 -05:00
e6f28e202e
Recycle mdir rbyd in mtree lookups
Christopher Haster
2025-04-29 00:01:32 -05:00
dc2d58d28e
scripts: dbgbmap[d3].py: Prioritize rows at low resolution
Christopher Haster
2025-04-28 21:48:10 -05:00
1f4d7b3b7e
scripts: dbgmtree.py: Dropped Mtree.lookupnext
Christopher Haster
2025-04-28 20:20:51 -05:00
6c8fa28ae4
Reverted lfsr_mtree_*lookupleaf -> lfsr_mtree_lookup
Christopher Haster
2025-04-28 19:37:52 -05:00
38f9f2541f
Require bptr_ out-pointers to be non-null
Christopher Haster
2025-04-28 19:10:00 -05:00
6cde75d671
Require rbyd_/mdir_ out-pointers to be non-null
Christopher Haster
2025-04-28 18:28:46 -05:00
27dd339a6a
Added big vestigial-name-split comment
Christopher Haster
2025-04-28 17:30:05 -05:00
677c078b50
Added LFSR_TAG_BNAME/MNAME, stop btree lookups at first tag
Christopher Haster
2025-04-28 13:59:10 -05:00
5eb194c215
scripts: dbgbmap[d3].py: Limited block conflicts to mismatched types
Christopher Haster
2025-04-27 15:08:09 -05:00
879a55add9
Another ckparity flaw
Christopher Haster
2025-04-27 14:33:25 -05:00
d308ec8322
Reworked tag encoding a little bit
Christopher Haster
2025-04-27 11:25:53 -05:00
237ca859d5
Split lfsr_f_set* functions in lfsr_f_*flags/lfsr_f_set*
Christopher Haster
2025-04-27 01:51:56 -05:00
9ac73ceb86
Reverted non-dag file bshrubs/btrees
Christopher Haster
2025-04-27 01:11:35 -05:00
85778b2813
Ripped out most of LFS_O_SYNC, restrict to writes
Christopher Haster
2025-04-26 14:18:08 -05:00
78f9dac162
Just assert on LFS_O_SYNC + lfsr_file_desync
Christopher Haster
2025-04-26 02:39:46 -05:00
7b81f01db4
Tweaked lfsr_file_open to only sync when unsynced
Christopher Haster
2025-04-26 01:28:00 -05:00
4b87499605
Tweaked lfsr_file_open to only sync when LFS_O_SYNC + LFS_O_CREAT
Christopher Haster
2025-04-25 21:17:50 -05:00
0f4ad6d842
Tweaked lfsr_file_open to sync when LFS_O_SYNC
Christopher Haster
2025-04-25 20:51:17 -05:00
b5e503ca85
Made lfsr_file_sync a noop if zombied
Christopher Haster
2025-04-25 17:29:34 -05:00
f29e4b9a6e
Added test_fsync_*_zero tests
Christopher Haster
2025-04-25 16:14:32 -05:00
0fe89f8cd0
Terminate all switch cases with at least LFS_UNREACHABLE()
Christopher Haster
2025-04-25 15:03:25 -05:00
5b4fd72226
Adopted masked tag lookups in a couple more places
Christopher Haster
2025-04-25 14:58:02 -05:00
f67791b511
Dropped bmoss/bsprout support from lfsr_stat_
Christopher Haster
2025-04-25 14:37:09 -05:00
89cb740e1c
Fixed lfsr_o_isbshrub falling out-of-date
Christopher Haster
2025-04-24 15:24:44 -05:00
f3cd9802b8
Adopted LFSR_TAG_ORPHAN, simplified internal stickynote handling
Christopher Haster
2025-04-24 15:03:00 -05:00
9eac456663
Reworked lfsr_rbyd_appendrattr_ a little bit
Christopher Haster
2025-04-24 14:27:07 -05:00
a34bcdb5bf
Allowed modification of unknown file types
Christopher Haster
2025-04-24 14:00:12 -05:00
09c3749d7a
Reworked how unknown file types are handled
Christopher Haster
2025-04-24 02:09:28 -05:00
7dd473df82
Tweaked LFSR_TAG_STICKYNOTE encoding 0x205 -> 0x203
Christopher Haster
2025-04-23 03:14:39 -05:00
fc7f2a66b6
Added stickynotes to test_attrs
Christopher Haster
2025-04-23 02:56:11 -05:00
3b1526ace9
Renamed test_forphans -> test_stickynotes
Christopher Haster
2025-04-23 01:40:58 -05:00
76493142e7
Reworked stickynote API, exposed LFS_TYPE_STICKYNOTE to users
Christopher Haster
2025-04-22 15:24:42 -05:00
0a485da7c9
Added bigger_than_expected tests, allow fragments/blocks > weight
Christopher Haster
2025-04-21 20:21:22 -05:00
a0b3eccf15
Added a couple more fwrite litmus tests
Christopher Haster
2025-04-21 19:01:25 -05:00
b3669f02c2
Dropped __cplusplus guards
Christopher Haster
2025-04-21 15:46:35 -05:00
5f7647dc0c
make: Forward all LFS_* prefixed environment variables as defines
Christopher Haster
2025-04-21 15:09:19 -05:00
3ccd7d39be
Added LFS_YES_* ifdefs for all mount/format flags
Christopher Haster
2025-04-21 14:36:12 -05:00
96eb38c8c2
Added LFS_REVDBG, tweaked LFS_REVNOISE
Christopher Haster
2025-04-21 13:45:36 -05:00
7cd4c1f12f
Adopted shift-table hack for lfsr_tag_mask
Christopher Haster
2025-04-20 17:13:14 -05:00
670b8e6732
A couple tweaks to bit twiddling utils
Christopher Haster
2025-04-20 16:24:09 -05:00
306ca25970
make: Dropped ascii-art codemap rules
Christopher Haster
2025-04-20 15:47:41 -05:00
83668e9782
Eliminated dags from file bshrubs/btrees
Christopher Haster
2025-04-20 02:41:26 -05:00
31e34f54f3
Added test_fwrite_truncate/fruncate_litmus_zero
Christopher Haster
2025-04-19 15:53:29 -05:00
385199d4b5
Tweaked some crystallization comments
Christopher Haster
2025-04-19 15:39:15 -05:00
a73f221317
scripts: Fixed issue where rbyd lookups rejected shrub tags
Christopher Haster
2025-04-19 13:05:51 -05:00
fc095af472
Fixed never fully fragmenting bptrs
Christopher Haster
2025-04-19 12:29:35 -05:00
6d97398efc
scripts: dbglfs.py: Fixed a couple mid=-1 issues
Christopher Haster
2025-04-19 11:56:21 -05:00
2909da9c13
scripts: tracebd.py: Prioritize erases when rendering
Christopher Haster
2025-04-19 10:17:04 -05:00
9820e369a3
Dropped the commitleaf set of functions
Christopher Haster
2025-04-19 10:08:54 -05:00
00705b15a5
Reduced lfsr_file_carve's rattr scratch buffer 5 -> 3
Christopher Haster
2025-04-18 18:02:33 -05:00
c5efe35ab2
Split crystal_thresh into crystal_thresh + fragment_thresh
Christopher Haster
2025-04-18 15:43:38 -05:00
200830aafe
Adopted mask bits for tag lookup/append
Christopher Haster
2025-04-18 02:51:03 -05:00
8f1ccf089e
Adopted lookupleaf, reworked internal btree APIs
Christopher Haster
2025-04-17 16:53:20 -05:00
95eca09d12
Renamed LFS_DEBUG* -> LFS_DBG*
Christopher Haster
2025-04-17 13:07:26 -05:00
3ca6670dcd
Always log mbid=-1 for mroots and inlined mdirs
Christopher Haster
2025-04-17 01:41:44 -05:00
89356fc697
Renamed a couple mbit related things
Christopher Haster
2025-04-17 00:37:41 -05:00
04d3002f3a
Adopted ceiling division in mbits formula
Christopher Haster
2025-04-16 23:42:15 -05:00
84b3bdda52
make: Adopted script changes in the Makefile
Christopher Haster
2025-04-16 04:50:51 -05:00
2105e502c5
Add support for shrinking a filesystem
Sosthène Guédon
2025-04-16 17:46:34 +02:00
ea535faaba
scripts: codemap[d3].py: Added --tile-* for tiling by stack/ctx/etc
Christopher Haster
2025-04-16 02:23:27 -05:00
7c26bfc0a3
scripts: Simplified csv.py's func/uop/bop/top helpers
Christopher Haster
2025-04-15 01:34:03 -05:00
bd70270e11
scripts: Added -w/--word-bits to bound dbgleb128/dbgle32 parsing
Christopher Haster
2025-04-14 16:26:21 -05:00
0cea8b96fb
scripts: Fixed O(n^2) slicing in Rbyd.fetch
Christopher Haster
2025-04-14 14:27:44 -05:00
8b11cea3f2
scripts: Added dbgleb128.py and dbgle32.py
Christopher Haster
2025-04-14 02:47:52 -05:00
b5c3b97ae1
scripts: Reworked dbgtag.py, added -i/--input, included hex in output
Christopher Haster
2025-04-14 02:45:50 -05:00
9085f1fdd9
scripts: crc32c.py/parity.py: Show string with -s/--string
Christopher Haster
2025-04-14 02:44:20 -05:00
a5747bb2b2
scripts: dbgmtree.py: Fixed minor mtree rendering/traversal issues
Christopher Haster
2025-04-12 17:45:26 -05:00
71930a5c01
scripts: Tweaked openio comment
Christopher Haster
2025-04-12 15:39:13 -05:00
57c77b1b72
scripts: Fixed most flickering issues in RingIO
Christopher Haster
2025-04-12 15:29:04 -05:00
0af90ea44b
scripts: dbgtrace.py: Allow no-arg -w/--block-cycles to imply wear
Christopher Haster
2025-04-12 14:32:10 -05:00
c63ed79c5f
scripts: Prefer .a for single entry namedtuples
Christopher Haster
2025-04-12 01:40:16 -05:00