Commit Graph

  • 8e251dd675 Merge pull request #1110 from Ryan-CW-Code/perf_gc v2.11.1 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
  • d791576c3f rdonly: Added missing isrdonly flag overrides when LFS3_RDONLY Christopher Haster 2025-06-05 15:46:49 -05:00
  • e31a90d8f3 rdonly: Dropped LFS3_TSTATE_OMDIRS/OBTREE when LFS3_RDONLY Christopher Haster 2025-06-05 15:34:30 -05:00
  • 88eb1714b1 t: Fixed exceptional traversal errors mixing up dirty/mutated flags Christopher Haster 2025-06-05 15:01:25 -05:00
  • 42bd130105 rdonly: Initial draft of LFS3_RDONLY Christopher Haster 2025-06-05 14:14:49 -05:00
  • d5a86fd28d style: format code, limit to 80 columns. ryancw 2025-06-03 09:46:59 +08:00
  • 6eba1180c8 Big rename! Renamed lfs -> lfs3 and lfsr -> lfs3 Christopher Haster 2025-05-28 15:00:04 -05:00
  • 3413f125d8 Set LFS_VERSION to v0.0 rbyd Christopher Haster 2025-05-27 21:38:13 -05:00
  • 6d4248c685 util: Cleaned up lfs_util.h Christopher Haster 2025-05-27 21:34:12 -05:00
  • 2349ac8c96 perf: gc might try to populate the lookahead buffer each time ryancw 2025-05-28 10:23:47 +08:00
  • 31aafe0f99 Big cleanup! Christopher Haster 2025-05-27 20:59:54 -05:00
  • 9f1d6cf1db scripts: Big script cleanup! Christopher Haster 2025-05-27 20:38:56 -05:00
  • 7d45ca0892 tests: Big test cleanup! Christopher Haster 2025-05-27 20:32:33 -05:00
  • 0755b00c21 refactor: value stored to 'diff' is never read ryancw 2025-05-27 20:00:29 +08:00
  • f7035c5ac4 tooling: Added disk to .gitignore Christopher Haster 2025-05-25 01:13:53 -05:00
  • bce8f45a64 scripts: Tried to better document ansi color codes Christopher Haster 2025-05-25 01:08:15 -05:00
  • 6d0fda4d81 make: Renamed lfs.codemap-tiny.svg -> lfs.codemap_tiny.svg Christopher Haster 2025-05-25 00:57:40 -05:00
  • a991c39f29 scripts: Dropped max-width from generated svgs Christopher Haster 2025-05-25 00:51:17 -05:00
  • 151054cb96 make: Adopted -Wno-unused-function Christopher Haster 2025-05-25 00:33:33 -05:00
  • 8396cd7641 Tried to move bshrub/btree root commit logic off the stack hot-path Christopher Haster 2025-05-25 00:24:50 -05:00
  • 328c1706cf Fixed buffer overflow when file caches are different sizes Christopher Haster 2025-05-24 23:45:28 -05:00
  • f7e17c8aad Added LFS_T_RDONLY, LFS_T_RDWR, etc Christopher Haster 2025-05-24 22:57:35 -05:00
  • 5b74aafa17 Reworked the flag encoding again Christopher Haster 2025-05-24 22:16:42 -05:00
  • f5dd6f69e8 Renamed LFS_CKMETAPARITY and LFS_CKDATACKSUMREADS Christopher Haster 2025-05-24 21:42:05 -05:00
  • 6d9c077261 Reordered LFSR_TAG_NAMELIMIT/FILELIMIT Christopher Haster 2025-05-24 21:29:06 -05:00
  • abfa01f94f Adopted different child rbyd naming in lfsr_btree_commit_ Christopher Haster 2025-05-24 18:57:05 -05:00
  • a1c90d2624 Reverted attempted per-btree leaf caches Christopher Haster 2025-05-24 18:49:38 -05:00
  • a49e13b992 Attempted to implement per-btree leaf caches rbyd-btree-leaf-caches Christopher Haster 2025-05-24 11:20:05 -05:00
  • aaefad11e3 Fixed outdated LFS_type_* values Christopher Haster 2025-05-24 09:55:37 -05:00
  • 33b169427a Added a couple more rbyd/btree/mdir helper functions Christopher Haster 2025-05-24 00:28:40 -05:00
  • b9ef43a30e Reused block_start/end in crystallize math Christopher Haster 2025-05-23 23:12:54 -05:00
  • 8316fbdfd1 Rerouted lfsr_file_read_'s leaf eviction -> lfsr_file_crystallize Christopher Haster 2025-05-23 19:00:27 -05:00
  • 09e3ad5eff Reverted second resume-crystallization check Christopher Haster 2025-05-23 13:25:47 -05:00
  • 1cce0dab5c Reverted limiting file->leaf to reads + erased-state caching Christopher Haster 2025-05-23 12:13:55 -05:00
  • 9d6a94aa07 Generalized lfsr_file_crystallize_ for future write strategies rbyd-ro-leaf Christopher Haster 2025-05-23 11:54:54 -05:00
  • 22c43124de Limited file->leaf to reads + erased-state caching Christopher Haster 2025-05-22 18:11:04 -05:00
  • 9c3a866508 Reworked crystallization to better use erased-state on rewrites Christopher Haster 2025-05-23 01:10:23 -05:00
  • f4c1753075 Added some lfsr_file_discard* helper functions Christopher Haster 2025-05-22 17:17:43 -05:00
  • fb736394a4 Tried to reorganize lfsr_mdir_commit_ to make a bit more sense Christopher Haster 2025-05-22 16:39:14 -05:00
  • 6f46ed0031 Prevent overrecycling on bad progs Christopher Haster 2025-05-22 16:26:38 -05:00
  • b613b65921 Fixed a nasty overrecycling + shrub + ckprog bug Christopher Haster 2025-05-22 14:51:40 -05:00
  • 1dd3b807ba Dropped second resume-crystallization check Christopher Haster 2025-05-22 00:29:50 -05:00
  • 1f3570bd4c Tweaked lfsr_file_graft_ to take data instead of an rattr Christopher Haster 2025-05-21 23:08:35 -05:00
  • 244732d223 Adopted and-not over not-or for bitmask chains Christopher Haster 2025-05-21 22:41:57 -05:00
  • 29c44c9621 Adopted the new lfsr_bptr_* helper functions in more places Christopher Haster 2025-05-21 22:37:21 -05:00
  • ee0a15b262 Tweaked lfsr_*_clobber/mkdirty to take traversal flags Christopher Haster 2025-05-21 22:22:36 -05:00
  • 1a567fb158 Cleaned up post-file->leaf code a bit Christopher Haster 2025-05-21 22:16:08 -05:00
  • 9ed326f3d3 Adopted file->leaf, reworked how we track crystallization Christopher Haster 2025-05-21 00:21:10 -05:00
  • 2a1489a4da Reverted no trailing underscore_ for unconditional out-pointers Christopher Haster 2025-05-21 23:54:18 -05:00
  • 930fe6e67c Force lfsr_file_sync_ off the stack hot-path Christopher Haster 2025-05-16 13:24:25 -05:00
  • b6a0b7afe2 Implemented 1-commit shrubs for small in-cache files Christopher Haster 2025-05-16 11:10:52 -05:00
  • c44c43ac74 scripts: Renamed *d3.py -> *svg.py Christopher Haster 2025-05-15 19:09:09 -05:00
  • 651c3e1eb4 scripts: Renamed Attr -> CsvAttr Christopher Haster 2025-05-15 18:48:46 -05:00
  • aebe5b1d1b scripts: plot[mpl].py: Added --x/ylim-stddev for data-dependent limits Christopher Haster 2025-05-15 18:23:09 -05:00
  • d5432ca0df make: Adopted simpler filter-out pattern for finding source files Christopher Haster 2025-05-15 18:19:08 -05:00
  • 7c8c7e662a Tightened mdir compaction estimate, added mattr_estimate Christopher Haster 2025-05-15 18:16:35 -05:00
  • bf00c4d427 Limited FRAGMENT_SIZE to 512 bytes in the test/bench runners Christopher Haster 2025-05-15 17:18:51 -05:00
  • 275ca0e0ec scripts: bench.py: Fixed issue where cumul results were mixed together Christopher Haster 2025-05-15 16:16:41 -05:00
  • 48daeed509 scripts: Fixed rounding-towards-zero issue in si/si2 prefixes Christopher Haster 2025-05-15 16:08:04 -05:00
  • e606e82ecb scripts: plotmpl.py: Fixed -X/--xlim not considering all datasets Christopher Haster 2025-05-15 16:04:14 -05:00
  • c04f36ead4 scripts: plot[mpl].py: Adopted -s/--sort and -S for legend sorting Christopher Haster 2025-05-15 15:51:49 -05:00
  • d4c772907d scripts: csv.py: Fixed completely broken float parsing Christopher Haster 2025-05-15 15:32:38 -05:00
  • d5b28df33a scripts: Fixed excessive rounding when writing floats to csv/json files Christopher Haster 2025-05-15 15:27:24 -05:00
  • 43c2330edc scripts: csv.py: Tweaked hidden fields to not imply -b/--by defaults Christopher Haster 2025-05-15 15:08:23 -05:00
  • 7526b469b9 scripts: Adopted globs in all field matchers (-D/--define, -c/--compare) Christopher Haster 2025-05-15 14:28:52 -05:00
  • 55ea13b994 scripts: Reverted del to resolve shadowed builtins Christopher Haster 2025-05-15 14:10:36 -05:00
  • 48c1a016a0 scripts: Fixed missing tuple unpack in glob-all CLI attrs Christopher Haster 2025-05-15 13:47:09 -05:00
  • a3710d1d96 tests: Consistently align LOOKAHEAD_SIZE in tests Christopher Haster 2025-05-15 13:44:07 -05:00
  • e12c621fad tooling: Added clip to .gitignore Christopher Haster 2025-05-15 13:43:08 -05:00
  • 8365bbb7a2 make: Added missing BUILD_DEP include fix-make-build-dep Christopher Haster 2025-05-15 13:38:31 -05:00