Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/littlefs-project/littlefs.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Haster <chaster@utexas.edu>2018-03-18 04:32:16 +0300
committerChristopher Haster <chaster@utexas.edu>2018-10-10 07:02:09 +0300
commitd8cadecba63c41c71a6a1796a25a197e8b07020f (patch)
treea275bde4898523d5a132c589edf9d55516b37f4f /tests/test_dirs.sh
parent836e23895a0e9205e6b530112dcc9374306417d7 (diff)
Better implementation of inline files, now with overflowing
Now when a file overflows the max inline file size, it will be correctly written out to a proper block. Additionally, tweaked corner cases around inline file, however this still needs significant testing. A real neat part that surprised me is that littlefs _already_ contains the logic for writing out inline files: in lfs_file_relocate! With a bit of tweaking, littlefs can pull off both the overflow from inline to normal files _and_ the relocating of bad blocks in files with the same piece of logic.
Diffstat (limited to 'tests/test_dirs.sh')
-rwxr-xr-xtests/test_dirs.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_dirs.sh b/tests/test_dirs.sh
index 11dc26e..53d76f7 100755
--- a/tests/test_dirs.sh
+++ b/tests/test_dirs.sh
@@ -357,7 +357,7 @@ tests/test.py << TEST
TEST
echo "--- Multi-block directory with files ---"
-tests/test.py -s << TEST
+tests/test.py << TEST
lfs_mount(&lfs, &cfg) => 0;
lfs_mkdir(&lfs, "prickly-pear") => 0;
for (int i = 0; i < $LARGESIZE; i++) {