Commit Graph

  • 238dbc705d Abandoned data-backed cache, use indirect lfs3_data_t on stack v3-alpha 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 v2-prefix geky-bot 2025-06-30 17:50:42 +00:00
  • 8e251dd675 Merge pull request #1110 from Ryan-CW-Code/perf_gc master v2.11.1 v2 devel Christopher Haster 2025-06-30 11:39:17 -05:00
  • 25b9a4af85 Merge pull request #1109 from Ryan-CW-Code/never_read Christopher Haster 2025-06-30 11:39:05 -05:00
  • 2acf939a00 Merge pull request #1106 from littlefs-project/fix-make-build-dep Christopher Haster 2025-06-30 11:38:56 -05:00
  • 4747477057 Tweaked lfs3_btree/bshrub_traverse to include weight Christopher Haster 2025-06-27 19:14:49 -05:00
  • 10c0a60ced Tried to dedup bptr/data fetching Christopher Haster 2025-06-27 18:03:13 -05:00
  • d2847f5f0e Deduped bshrub/btree fetching Christopher Haster 2025-06-27 18:03:13 -05:00
  • f39f2812af Renamed lfs3_file_readonce/flushonce_ -> readget_/flushset_ Christopher Haster 2025-06-27 14:14:36 -05:00
  • 2ebb8a301b Attempted better allocator checkpoints Christopher Haster 2025-06-27 13:26:45 -05:00
  • 8cc81aef7d scripts: Adopt __get__ binding for write/writeln methods Christopher Haster 2025-06-27 12:42:18 -05:00
  • 8b6e51d54e Fixed assert with branches in lfs3_file_traverse_ Christopher Haster 2025-06-25 23:49:26 -05:00
  • d183a88c58 Fixed uninit warning, gave up on err < 0 compiler guidance Christopher Haster 2025-06-25 18:22:07 -05:00
  • ccfc74a547 Added LFS3_2BONLY for a small 2-block configuration Christopher Haster 2025-06-25 17:40:49 -05:00
  • 2c27c61f25 kv: Added LFS3_KVONLY to opt-out of advanced file operations Christopher Haster 2025-06-24 13:52:20 -05:00
  • 213dba6f6d scripts: test.py/bench.py: Added ifndef attribute for tests/benches Christopher Haster 2025-06-24 13:23:43 -05:00
  • db1f941e90 Slightly reworked lfs3_file_opencfg's mid reservation path Christopher Haster 2025-06-23 01:23:31 -05:00
  • 1b76bd04ce kv: Some minor file cache_buffer tweaks Christopher Haster 2025-06-22 15:54:55 -05:00
  • e7c7a81cfe Revisited zero-length file sync path Christopher Haster 2025-06-21 19:36:22 -05:00
  • 7a6aad3cc8 Cleaned up potential lfs3_mdir_commit dedup TODOs Christopher Haster 2025-06-21 17:50:19 -05:00
  • 2d39a7e9c5 make: Adopted consistent codemap dimensions Christopher Haster 2025-06-21 17:29:55 -05:00
  • d6a713f147 make: ctags: Limited prototype tags to header files Christopher Haster 2025-06-21 16:56:30 -05:00
  • f967cad907 kv: Adopted LFS3_o_WRSET for better key-value API integration Christopher Haster 2025-06-20 20:31:52 -05:00
  • 92844cce3e kv: Added *_set_zero and *_set_null tests Christopher Haster 2025-06-18 23:33:24 -05:00
  • 0772d10dbc kv: Implemented one-commit lfs3_set Christopher Haster 2025-06-18 16:46:41 -05:00
  • a75537faff kv: Implemented a simple key-value API Christopher Haster 2025-06-09 13:31:46 -05:00
  • 40a8c02604 Moved ifdefs after comments Christopher Haster 2025-06-06 01:39:51 -05:00
  • b5568d076b Dropped LFS3_DATA_GRM Christopher Haster 2025-06-06 01:17:26 -05:00
  • 0096305968 rdonly: Dropped rbyd.eoff when LFS3_RDONLY Christopher Haster 2025-06-05 19:41:43 -05:00
  • 7cc87a4fe6 rdonly: Dropped file.b.shrub_ when LFS3_RDONLY Christopher Haster 2025-06-05 18:02:57 -05:00
  • 9eaab640e6 rdonly: Fixed lfs3_m_isrdonly shortcut leaving traversals dangling Christopher Haster 2025-06-05 16:35:27 -05:00
  • 729d1c93a7 make: Fixed prettyasserts prefix -Plfs_ -> -Plfs3_ Christopher Haster 2025-06-05 16:25:02 -05:00
  • c7923ad1be rdonly: Let the compiler prune LFS3_TSTATE_OMDIRS/OBTREE Christopher Haster 2025-06-05 15:54:25 -05:00