-
27e3e10634
bmap: Added error propagation to ckpoints and cleaned up test TODOs
Christopher Haster
2025-07-30 11:44:36 -05:00
-
41be512272
bmap: Fixed up low-hanging fruit, tests and things
Christopher Haster
2025-07-29 15:38:42 -05:00
-
047fb83b62
dread: Fixed lingering orphans affecting dir positions
Christopher Haster
2025-07-29 01:59:30 -05:00
-
726cccfe76
bmap: Tweaked bmapcache algo to piggyback on mdir commits
Christopher Haster
2025-07-29 00:42:40 -05:00
-
316ca1cc05
bmap: The initial bmapcache algorithm seems to be working
Christopher Haster
2025-07-28 23:27:02 -05:00
-
8666830515
bmap: scripts: Fixed missing geometry race condition
Christopher Haster
2025-07-28 01:26:33 -05:00
-
71b9ad2412
bmap: Enabled at least opportunistic bmap allocations
Christopher Haster
2025-07-28 01:11:48 -05:00
-
838a4beee1
bmap: Moved gbmap traversal to the end
Christopher Haster
2025-07-27 22:03:29 -05:00
-
ebae43898e
bmap: Changing direction, store bmap mode in wcompat flags
Christopher Haster
2025-07-27 16:41:30 -05:00
-
beb1f1346a
bmap: Started implementing ctrled/unctrled lfs3_alloc paths
Christopher Haster
2025-07-27 12:27:16 -05:00
-
e7c3755e21
bmap: Split known into ctrled+unctrled
Christopher Haster
2025-07-26 10:37:59 -05:00
-
732d6079e3
bmap: Added low-level bmap set algorithm and related tests
Christopher Haster
2025-07-25 13:12:54 -05:00
-
98f016b07e
bmap: Added initial gbatc interactions, up until out-of-known or remount
Christopher Haster
2025-07-24 23:41:02 -05:00
-
357526e775
rbyd: Allow refetching after claiming erased-state
Christopher Haster
2025-07-24 13:18:48 -05:00
-
59a4ae6f61
bmap: Taught littlefs how to traverse the gbmap
Christopher Haster
2025-07-24 00:16:14 -05:00
-
1537f6a430
bmap: Decoding the gbmap in gstate now works
Christopher Haster
2025-07-23 23:43:17 -05:00
-
5f65b49ef8
bmap: scripts: Added on-disk bmap traversal to dbgbmap and friends
Christopher Haster
2025-07-23 22:58:26 -05:00
-
88180b6081
bmap: Initial scaffolding for on-disk block map
Christopher Haster
2025-07-23 15:32:35 -05:00
-
ab59ab7f8d
Bump default inline_max up to 1/4 block size
bump-default-inline-max
Christopher Haster
2025-09-29 13:49:58 -05:00
-
445381645f
Generated v2 prefixes
geky-bot
2025-09-29 21:24:05 +00:00
-
-
adad0fbbcf
Merge pull request #1140 from tjko/littlefs-toy
v2.11.2
Christopher Haster
2025-09-29 15:10:55 -05:00
-
-
ed127050bb
Merge pull request #1137 from dschendt/dschendt-fix-dir-count
Christopher Haster
2025-09-29 15:10:42 -05:00
-
-
ec26996631
Merge pull request #1134 from elupus/patch-2
Christopher Haster
2025-09-29 15:10:26 -05:00
-
-
17ab6e92f7
Merge pull request #1133 from elupus/patch-1
Christopher Haster
2025-09-29 15:10:10 -05:00
-
-
-
-
4cd2bfc2c1
Fixed inverted dir->count check logic
Christopher Haster
2025-09-25 15:22:19 -05:00
-
f24ff9fb25
Moved dir->count check before commit, limited to < 0xff
Christopher Haster
2025-09-25 13:03:42 -05:00
-
f5b2226a80
Add littlefs-toy to the related projects section.
Timo Kokkonen
2025-09-15 17:32:05 -07:00
-
-
-
172a186fa9
compact when dir count hits 0x3ff
David
2025-09-02 19:36:10 -04:00
-
-
-
8b75de74c9
fix: add missing return causing uninitialized reads
Joakim Plate
2025-08-12 17:03:40 +02:00
-
-
-
11cecd079c
fix: also assert inside lfs_bd_read
Joakim Plate
2025-08-12 16:29:31 +02:00
-
8c7b6b26e6
fix: false uninitialized read warning
Joakim Plate
2025-08-12 14:56:29 +02:00
-
-
238dbc705d
Abandoned data-backed cache, use indirect lfs3_data_t on stack
Christopher Haster
2025-07-22 13:39:43 -05:00
-
5035aa566b
Adopted data-backed cache in lfs3_file_t to avoid undefined behavior
Christopher Haster
2025-07-22 13:15:41 -05:00
-
14d1f4778f
trv: mtortoise: Gave up on a reasonable type, abuse shrub fields
Christopher Haster
2025-07-22 12:50:39 -05:00
-
fadf0cbd0e
trv: Moved cycle detection tortoise into the shrub leaf
Christopher Haster
2025-07-22 11:50:30 -05:00
-
70872b5703
trv: Renamed trv.htrv -> trv.h
Christopher Haster
2025-07-21 17:24:46 -05:00
-
4b7a5c9201
trv: Renamed OMDIRS -> HANDLES, OBTREE -> HBTREE
Christopher Haster
2025-07-21 16:47:24 -05:00
-
ff7e196f92
btree: Renamed btree.leaf.rbyd -> btree.leaf.r
Christopher Haster
2025-07-21 16:40:31 -05:00
-
a871e02354
btree: Reworked btree traversal to leverage leaf caches
Christopher Haster
2025-07-21 16:36:50 -05:00
-
e3e719a0f5
btree: Dropped bcommit->bid TODO comment
Christopher Haster
2025-07-20 12:35:14 -05:00
-
ae53c326d6
btree: Limited leaf discarding in mdir commit to shrub roots only
Christopher Haster
2025-07-20 12:33:49 -05:00
-
cd9f93d859
btree: Resurrected btree leaf caching
Christopher Haster
2025-07-20 12:33:19 -05:00
-
ba9a45aa01
runners: Don't include case-less suites in -Y/--summary
Christopher Haster
2025-07-20 10:22:22 -05:00
-
c87361508b
scripts: test.py/bench.py: Added --no-internal to skip internal tests
Christopher Haster
2025-07-20 09:40:46 -05:00
-
4aaa928554
Renamed scmp -> cmp
Christopher Haster
2025-07-18 18:37:41 -05:00
-
2e47172fa4
Renamed error -> err
Christopher Haster
2025-07-18 18:32:12 -05:00
-
7b330d67eb
Renamed config -> cfg
Christopher Haster
2025-07-18 18:17:45 -05:00
-
d410d4dfad
Dropped trv.u.gtrv graft traversal state
Christopher Haster
2025-07-18 18:22:46 -05:00
-
2586fe68a2
Renamed traversal -> trv
Christopher Haster
2025-07-18 17:46:16 -05:00
-
4cea5af96f
Renamed omdir -> handle
Christopher Haster
2025-07-18 15:22:22 -05:00
-
ee3be04a93
bptr: Adopted lfs3_bptr_alloc
Christopher Haster
2025-07-18 14:57:58 -05:00
-
b67bdbb13b
Dropped an outdated TODO comment
Christopher Haster
2025-07-18 14:39:15 -05:00
-
457a0c0487
alloc: Added the concept of block allocator flags
Christopher Haster
2025-07-17 20:35:50 -05:00
-
9657fecfbf
alloc: Reorganized some block allocator related things
Christopher Haster
2025-07-17 20:15:43 -05:00
-
9ac5ee4f53
Moved away from bool exists, prefer tag != LFS3_ERR_NOENT
Christopher Haster
2025-07-17 18:38:45 -05:00
-
35d8c36dd1
tag-returning: Adopted tag-returns in lfs3_mtree_pathlookup
Christopher Haster
2025-07-17 17:20:01 -05:00
-
f9d7885edc
tag-returning: Adopted tag-returns in mdir/mtree namelookup
Christopher Haster
2025-07-17 16:42:45 -05:00
-
a549654618
tag-returning: Adopted tag-returns in mtree traversals
Christopher Haster
2025-07-17 16:12:17 -05:00
-
bfab282b9e
tag-returning: Adopted tag-returnn in mdir lookups
Christopher Haster
2025-07-17 15:44:47 -05:00
-
100fb66d37
tag-returning: Adopted tag-returns in btree lookups
Christopher Haster
2025-07-17 15:11:40 -05:00
-
8be483d493
tag-returning: Tweaked some rbyd namelookup arguments
Christopher Haster
2025-07-17 14:37:09 -05:00
-
1cae72f419
tag-returning: Adopted tag-returns in rbyd lookupnext/lookup
Christopher Haster
2025-07-17 06:25:37 -05:00
-
b0ac5bf9e6
dbgrbydbalance: Fixed height=0 corner case
Christopher Haster
2025-07-17 14:11:31 -05:00
-
9f246b33a8
btree: Tweaked btree root conditions in lfs3_btree_commit_
Christopher Haster
2025-07-16 21:59:52 -05:00
-
ee3cd1ce88
btree: Brought back LFS3_ERR_EXIST when hitting a shrub root
Christopher Haster
2025-07-16 21:56:17 -05:00
-
a6dff0539c
Slightly simplified bshrub commitroot logic
Christopher Haster
2025-07-16 20:59:52 -05:00
-
6a2ecbac87
Replaced bool with lfs3->pcksum for prog-aligned cksums
Christopher Haster
2025-07-16 17:50:06 -05:00
-
fb0d8e5380
Adopted lfs3_bptr_slice for in-place bptr slicing
Christopher Haster
2025-07-16 15:04:31 -05:00
-
0828fd9bf3
Reverted LFS3_CKDATACKSUMREADS -> LFS3_CKDATACKSUMS
Christopher Haster
2025-07-16 14:13:08 -05:00
-
17cefcdd42
Dropped LFS3_FORCEINLINE from lfs3_data_slice
Christopher Haster
2025-07-16 13:59:00 -05:00
-
dbad3e6863
Prefer lfs3_data_slice over LFS3_DATA_SLICE macro
Christopher Haster
2025-07-16 13:58:07 -05:00
-
bf3078b7bd
Dropped LFS3_DATA_TRUNCATE/FRUNCATE
Christopher Haster
2025-07-16 13:27:10 -05:00
-
7b7dbae1df
Simplified fragment coalescing bounds logic
Christopher Haster
2025-07-16 13:25:34 -05:00
-
2d10a61732
Reverted bptr -> bptr_ in mtree traverse/gc functions
Christopher Haster
2025-07-16 12:53:53 -05:00
-
55cc661283
Tweaked LFS3_DBGRBYDBALANCE, adopted lfs3_rheight_t
Christopher Haster
2025-07-16 00:40:24 -05:00
-
7c1fe0f199
btree: Tried to better deduplicate split commit building logic
Christopher Haster
2025-07-15 21:20:39 -05:00
-
3e47304e9b
btree: Adopted LFS3_ERR_EXIST for terminating at shrubs
Christopher Haster
2025-07-15 20:46:12 -05:00
-
6d003543d8
btree: Moved internal commit state into new lfs3_bcommit_t struct
Christopher Haster
2025-07-15 20:09:08 -05:00
-
794bd3df61
btree: Slightly tweaked lfs3_btree_commit_'s internal gotos
Christopher Haster
2025-07-15 18:48:42 -05:00
-
0364ed5011
attr: Fixed custom attrs overflowing rattr.count
Christopher Haster
2025-07-15 14:22:36 -05:00
-
5b0ec8090a
Adopted rattr.from for simpler appendrattr_ lazy encoding
Christopher Haster
2025-07-15 00:26:08 -05:00
-
0bed3867d8
Adopted more single-char field names
Christopher Haster
2025-07-14 15:12:51 -05:00
-
29e1701964
scripts: gdb: Globbed all dbg scripts into dbg.gdb.py
Christopher Haster
2025-07-04 18:06:44 -05:00
-
090611af14
scripts: dbgflags.py: Tweaked internals for readability
Christopher Haster
2025-07-04 13:52:17 -05:00
-
19747f691e
scripts: dbgflags.py: Reimplemented filters as flags
Christopher Haster
2025-07-04 13:33:45 -05:00
-
0c19a68536
scripts: test.py/bench.py: Added support for multiple header files
Christopher Haster
2025-07-04 12:49:00 -05:00
-
0b804c092b
scripts: gdb: Added some useful GDB scripts to test.py --gdb
Christopher Haster
2025-07-04 12:35:49 -05:00
-
b700c8c819
Dropped fragmenting blocks > 1 fragment
Christopher Haster
2025-07-03 19:15:10 -05:00
-
3f2e8b53c5
Manually inlined lfs3_file_crystallize into lfs3_file_flush_
Christopher Haster
2025-07-03 15:25:59 -05:00
-
35e407372c
Adopted similar mark-if-truncate-to-zero logic for file caches
Christopher Haster
2025-07-03 15:06:28 -05:00
-
8365b27dea
Reworked lfs3_file_truncate/fruncate to simplify crystallize
Christopher Haster
2025-07-03 15:04:45 -05:00
-
e443af800b
Adopted compiler friendly generalized lfs3_file_crystallize_ API
Christopher Haster
2025-07-03 18:24:48 -05:00
-
d6f332fa9f
Dropped the generalized lfs3_file_crystallize_ API
Christopher Haster
2025-07-03 15:11:36 -05:00
-
a85f08cfe3
Dropped lazy grafting, but kept lazy crystallization
Christopher Haster
2025-07-03 13:42:54 -05:00
-
eb884011ec
Reworked the read path to use a single flush
Christopher Haster
2025-07-01 21:56:06 -05:00
-
b6a36e75cf
Limited graft traversal scope to lfs3_alloc
Christopher Haster
2025-07-01 14:08:24 -05:00
-
1bf2a4b520
Fixed grafting allocator checkpoint hole
Christopher Haster
2025-06-30 15:23:35 -05:00
-
13fbd2f006
Slightly reworked btree staging in lfs3_btree_commit_
Christopher Haster
2025-07-01 13:47:42 -05:00
-
8ee08a5b89
Slightly reworked mdir staging in in lfs3_mdir_commit_
Christopher Haster
2025-06-29 02:13:44 -05:00
-
4241f3bdc5
Generated v2 prefixes
geky-bot
2025-06-30 17:50:42 +00:00
-