-
5541ad0c00
Fixed missed opportunity for wide tags in btree set
Christopher Haster
2023-08-11 14:02:37 -05:00
-
e5a4b3e50d
Dropped btree attr-list hijacking hackery
Christopher Haster
2023-08-11 13:46:46 -05:00
-
5caa83fb77
forgot to unmount lfs in test; leaking memory
Brian Pugh
2023-08-17 22:10:53 -07:00
-
7521e0a6b2
fix newly introduced missing cleanup when an invalid superblock is found.
Brian Pugh
2023-08-17 19:55:54 -07:00
-
2ebfec78c3
test for failure when interpretting block count when formatting without superblock
Brian Pugh
2023-08-17 15:20:46 -07:00
-
3d0bcf4066
Add test_superblocks_mount_unknown_block_count
Brian Pugh
2023-08-17 15:13:16 -07:00
-
6de3fc6ae8
fix corruption check
Brian Pugh
2023-08-17 15:07:19 -07:00
-
df238ebac6
Add a unit test; currently hanging on final permutation.
Brian Pugh
2023-08-16 23:07:55 -07:00
-
be6812213d
introduce lfs->block_count. If cfg->block_count is 0, autopopulate from superblock
Brian Pugh
2023-08-16 22:18:40 -07:00
-
6dae7038f9
remove redundant superblock check
Brian Pugh
2023-08-16 21:46:52 -07:00
-
73285278b9
refactor lfs_scan_for_state_updates and lfs_scan_for_superblock out of lfs_format
Brian Pugh
2023-08-16 21:46:04 -07:00
-
314c832588
Adopted new struct encoding scheme with redund tag bits
Christopher Haster
2023-08-11 01:44:51 -05:00
-
d069fed3ed
Adopted more macro concatenation in tag defines
Christopher Haster
2023-08-11 01:33:28 -05:00
-
99b83a4ef1
More bikeshedding around mdir mids
Christopher Haster
2023-08-10 22:29:13 -05:00
-
e34665723c
Added lfsr_rbyd_appendcksum as an alternative to lfsr_rbyd_commit
Christopher Haster
2023-08-10 15:26:59 -05:00
-
f1f1a5aaf8
Unionized mtree traversal's tortoise state and btree traversal state
Christopher Haster
2023-08-10 13:50:58 -05:00
-
0449b06506
Some small tweaks to mdir comparison functions
Christopher Haster
2023-08-10 12:34:38 -05:00
-
571be807dc
Reverted lfsr_data_t in low-level rbyd functions
Christopher Haster
2023-08-10 01:45:33 -05:00
-
7614cf29c1
Adopted lfsr_data_t in low-level rbyd functions
Christopher Haster
2023-08-09 19:16:29 -05:00
-
1d39c5dd68
Reworked how branch/btree disk functions interact with upper layers
Christopher Haster
2023-08-09 16:15:06 -05:00
-
d8f988a8fc
Made data read functions "consume" their data pointers
Christopher Haster
2023-08-09 02:32:55 -05:00
-
77de73e39c
Mostly reverted support for 2 leb128 encodings in lfsr_data_t
Christopher Haster
2023-08-08 23:57:48 -05:00
-
cc991396c2
Extended lfsr_data_t to support 1 and 2 leb128 encodings
Christopher Haster
2023-08-08 15:38:05 -05:00
-
78a199b59b
Reworked LFSR_ATTR macros to support extensions better
Christopher Haster
2023-08-08 01:01:35 -05:00
-
d2f2b53262
Renamed fcksum -> ecksum
Christopher Haster
2023-08-07 13:43:07 -05:00
-
7031d6e1b3
Changed most references to crc/csum -> cksum
Christopher Haster
2023-08-07 13:32:38 -05:00
-
dc3b7d435e
Tried to better name *_buf/d/w variables
Christopher Haster
2023-08-07 10:45:26 -05:00
-
d77a173d5c
Changed source to consistently use rid for rbyd ids
Christopher Haster
2023-08-07 09:50:25 -05:00
-
64a1b46ea2
Renamed a couple directory related things
Christopher Haster
2023-08-07 09:20:42 -05:00
-
c37bab6040
Reworked rbyd/btree/mdir structs again so redund blocks are at the end
Christopher Haster
2023-08-06 01:21:05 -05:00
-
fe941ef443
Reworked rbyd/btree/mdir structs to allow better access to subcomponents
Christopher Haster
2023-08-05 14:05:17 -05:00
-
db514f20f2
Fixed structs.py when structs contain substructs
Christopher Haster
2023-08-05 16:07:06 -05:00
-
3c42ed98a4
Some small tweaks
Christopher Haster
2023-08-04 22:33:09 -05:00
-
da4e86abac
Split test_dirs into test_dtree and test_dseek
Christopher Haster
2023-08-04 14:14:18 -05:00
-
4efb55e0d7
In tests/benches, renamed cfg -> CFG
Christopher Haster
2023-08-04 14:05:07 -05:00
-
3be54b6fa4
Added make ctags as an alias for make tags
Christopher Haster
2023-08-04 13:55:53 -05:00
-
1c128afc90
Renamed internal runner field filter -> if_
Christopher Haster
2023-08-04 13:54:10 -05:00
-
5be7bae518
Replaced tn/bn prefixes with an actual dependency system in tests/benches
Christopher Haster
2023-08-04 13:33:00 -05:00
-
5a834b6fc1
initlize struct lfs_diskoff disk = {0} so we don't use it uninitlized in first run
Mohammad Dahamshi
2023-07-11 12:20:43 +03:00
-
-
-
d775b46e3d
Fixed integer conversion warning from Code Composer Studio
fix-conversion-warning
Christopher Haster
2023-08-03 11:16:40 -05:00
-
-
2835b17d14
Attempted to merge the mid's bid and rid into a single integer
Christopher Haster
2023-08-02 14:27:35 -05:00
-
5bdb55abec
Fiddled with how opened mdirs are tracked and updated
Christopher Haster
2023-08-01 16:12:54 -05:00
-
d8d8d1e2ac
Dropped special LFSR_MID_RM mid
Christopher Haster
2023-08-01 11:40:00 -05:00
-
18e1eb0b41
Moved rid into the mdir struct
Christopher Haster
2023-07-31 18:15:24 -05:00
-
7387e7f2bb
Inlined lfsr_mtree_split_ into lfsr_mdir_commit, simplified a couple things
Christopher Haster
2023-07-31 02:06:57 -05:00
-
08ab470c2b
Fixed some minor issues with did generation
Christopher Haster
2023-07-31 01:07:15 -05:00
-
741a9ae652
Updated calculation of maximum number of dids
Christopher Haster
2023-07-30 17:21:29 -05:00
-
9d0edea7e3
Reworked lfsr_rbyd_estimate to be a bit simpler
Christopher Haster
2023-07-30 17:09:59 -05:00
-
adcf9924fe
Deduplicated uninling/split routes in lfsr_mdir_commit
Christopher Haster
2023-07-30 14:05:30 -05:00
-
2ce6567683
Found+fixed a bug where arbitrary dir seeks can return unrelated entries
Christopher Haster
2023-07-29 01:21:49 -05:00
-
ee9cc185a1
Tweaked lfsr_remove/rename to use lfsr_mtree_seek for empty dir check
Christopher Haster
2023-07-29 01:04:40 -05:00
-
8499f4cfb2
Removed TODOs around implicitly adjusting grm in mdir commit
Christopher Haster
2023-07-28 16:48:26 -05:00
-
5f0161712c
Tweaked how grm encoding/decoding work
Christopher Haster
2023-07-28 16:28:16 -05:00
-
e08ff99d50
Made grm a special attribute, moved encoding into mdir commit
Christopher Haster
2023-07-28 16:04:43 -05:00
-
4cf5509c91
Reverted most of dir offset changes, dirs to follow dstart when open
Christopher Haster
2023-07-28 12:58:16 -05:00
-
edd12e1f93
Changed how dir offsets in tell/seek are encoded
Christopher Haster
2023-07-27 16:08:07 -05:00
-
e0f416f6ca
Found a better heuristic for did truncation, dropped mlimit, found bugs
Christopher Haster
2023-07-26 15:22:36 -05:00
-
d931c19dda
Added more aggressive tests with dirs reads under mutation
Christopher Haster
2023-07-25 15:51:46 -05:00
-
51c4dadbe3
Added more dir test around really niche corner cases, fixed related bugs
Christopher Haster
2023-07-25 02:14:50 -05:00
-
a27c7d9ddd
Added tests over recursive mvs and limited pl testing a bit
Christopher Haster
2023-07-24 22:30:58 -05:00
-
56adc60a80
Added grms and reporting of missing/orphaned dstarts in dbglfs.py
Christopher Haster
2023-07-24 15:31:51 -05:00
-
a3579ec3e2
More tests over rename behavior and fixed bugs
Christopher Haster
2023-07-24 03:26:49 -05:00
-
ee37f8c7a6
Implemented lfsr_rename
Christopher Haster
2023-07-23 14:03:05 -05:00
-
e4ba43dd5f
Extended grm to support two atomics removes
Christopher Haster
2023-07-23 11:48:17 -05:00
-
e8b68c4e88
Tweaked how recursive removes interact with dir read again
Christopher Haster
2023-07-21 11:45:15 -05:00
-
d6e6ecdc2a
Implemented dir seek/tell (untested) and tweaked recursive removes
Christopher Haster
2023-07-20 23:28:01 -05:00
-
b1187595d6
Added support for recursive removes in directories
Christopher Haster
2023-07-20 15:22:43 -05:00
-
0ddd851f6f
Added more dir remove tests
Christopher Haster
2023-07-20 01:41:36 -05:00
-
53a4da13f5
Added lfsr_remove
Christopher Haster
2023-07-19 22:15:45 -05:00
-
b935579f52
Added -Wno-unused-function to build rules for test-runner/bench-runner
Christopher Haster
2023-07-19 11:42:50 -05:00
-
389987ee4f
Adopted scaling of did hashes based on the number of metadata entries
Christopher Haster
2023-07-19 01:40:02 -05:00
-
c5e84e874f
Changed how fuzz tests are iterated to allow powerloss-fuzz testing
Christopher Haster
2023-07-18 21:13:30 -05:00
-
c928ed131f
Changed all dir tests to be reentrant
Christopher Haster
2023-07-18 16:32:49 -05:00
-
97f867b28d
Added powerloss testing over lfsr_mkdir, fixed grm bugs
Christopher Haster
2023-07-12 14:44:39 -05:00
-
b98ac119c7
Added scripts/dbglfs.py for debugging the filesystem tree
Christopher Haster
2023-07-12 13:19:58 -05:00
-
61c51b699a
In scripts, adopted aggresive width-finding for unbounded recursion
Christopher Haster
2023-07-11 16:14:32 -05:00
-
3959545a9f
Some dbg script work
Christopher Haster
2023-07-10 20:53:49 -05:00
-
c2d9f1b047
Implemented, but untested, global-removes
Christopher Haster
2023-07-10 01:35:54 -05:00
-
cc0ac25b5e
Implemented infrastructure necessary for global-removes
Christopher Haster
2023-07-09 23:50:25 -05:00
-
cb1319c9e6
Expanded fuzz testing a bit, found/fixed an mid neighbor update bug
Christopher Haster
2023-07-07 16:31:52 -05:00
-
039bdf91b4
Added lfsr_stat and integrated into dir tests
Christopher Haster
2023-07-07 13:53:39 -05:00
-
f472327f74
Added tests over potential directory-id checksum issues
Christopher Haster
2023-07-06 15:44:53 -05:00
-
21f7fd1032
Added more testing over mkdir, fixed issues dname changes introduced
Christopher Haster
2023-07-06 00:44:55 -05:00
-
da810aca26
Implemented mtree path/dname lookup, rudimentary lfsr_mkdir/lfsr_dir_read
Christopher Haster
2023-07-05 13:34:50 -05:00
-
0bb1e0b8b5
Changed namelookup functions to include a directory-id
Christopher Haster
2023-07-03 02:52:02 -05:00
-
96fb8bec85
Fixed release script breaking if there is no previous version
fix-ci-release-no-version
Christopher Haster
2023-07-03 12:14:36 -05:00
-
-
2fe2078f50
Renamed tests/benches such that order is logical
Christopher Haster
2023-06-30 03:08:27 -05:00
-
47c253cd44
Generated v2 prefixes
geky-bot
2023-06-30 17:56:00 +00:00
-
-
-
-
611c9b20db
Merge pull request #848 from littlefs-project/devel
v2.7.0
Christopher Haster
2023-06-30 12:33:10 -05:00
-
-
938cee1640
Updated benches based on changes, commented out outdated benchmarks
Christopher Haster
2023-06-30 03:00:07 -05:00
-
eee0e6cfa1
Reimplemented the block-allocator over mtree traversal
Christopher Haster
2023-06-29 18:02:47 -05:00
-
a942cdba66
Bumped minor version to v2.7
Christopher Haster
2023-06-30 00:28:10 -05:00
-
225fc31a17
Merge pull request #846 from littlefs-project/link-chan-fatfs
Christopher Haster
2023-06-30 00:26:43 -05:00
-
-
5db368c0a2
Merge pull request #839 from littlefs-project/configurable-disk-version
Christopher Haster
2023-06-30 00:26:29 -05:00
-
-
f09c6a4eb7
Merge pull request #838 from littlefs-project/fs-stat
Christopher Haster
2023-06-30 00:25:59 -05:00
-
-
79cc75d18f
Added LFS_MULTIVERSION and testing of lfs2.0 to CI
configurable-disk-version
Christopher Haster
2023-06-14 16:02:34 -05:00
-
eb9af7abe5
Added LFS_MULTIVERSION, made lfs2.0 support a compile-time option
Christopher Haster
2023-06-14 15:46:36 -05:00
-
b72c96d440
Added support for writing on-disk version lfs2.0
Christopher Haster
2023-06-07 02:03:31 -05:00
-
-
265692e709
Removed fsinfo.block_usage for now
fs-stat
Christopher Haster
2023-06-29 12:23:33 -05:00
-
91d90b7eef
Some minor tweaks to internal ptr types
Christopher Haster
2023-06-27 13:15:15 -05:00