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>2017-10-08 00:56:00 +0300
committerChristopher Haster <chaster@utexas.edu>2017-10-11 01:14:46 +0300
commit539409e2fbce28111de55188d3f2859abfd45dde (patch)
treea2b7add3e3002a59a304d09da8b7233ecec68482 /lfs_util.c
parent2936514b5e0e4df519fc853127bb0adde4065249 (diff)
Refactored deduplicate/deorphan step to single deorphan step
Deduplication and deorphan steps aren't required under indentical conditions, but they can be processed in the same iteration of the filesystem. Since lfs_alloc (requires deorphan) occurs on most write calls to the filesystem (requires deduplication), it was simpler to just compine the steps into a single lfs_deorphan step. Also traded out the places where lfs_rename/lfs_remove just defer operations to the deorphan step. This adds a bit of code, but also significantly speeds up directory operations.
Diffstat (limited to 'lfs_util.c')
0 files changed, 0 insertions, 0 deletions