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
path: root/lfs.h
diff options
context:
space:
mode:
authorChristopher Haster <chaster@utexas.edu>2019-07-29 04:42:13 +0300
committerChristopher Haster <chaster@utexas.edu>2019-07-29 04:42:13 +0300
commit38a2a8d2a3d64e5219ec0babaf233ae9e8da577c (patch)
tree975c181aba7ed3e50bc34dd41f526d2624fe4de6 /lfs.h
parent53a6e0471215b680426f97d9afce241d739ee49d (diff)
Minor improvement to documentation over block_cycles
Suggested by haneefmubarak
Diffstat (limited to 'lfs.h')
-rw-r--r--lfs.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/lfs.h b/lfs.h
index 276b5a5..6abfcdb 100644
--- a/lfs.h
+++ b/lfs.h
@@ -190,9 +190,10 @@ struct lfs_config {
// Number of erasable blocks on the device.
lfs_size_t block_count;
- // Number of erase cycles before we should move logs to another block.
- // Suggested values are in the range 100-1000, with large values having
- // better performance at the cost of less consistent wear distribution.
+ // Number of erase cycles before littlefs evicts metadata logs and moves
+ // the metadata to another block. Suggested values are in the
+ // range 100-1000, with large values having better performance at the cost
+ // of less consistent wear distribution.
//
// Set to -1 to disable block-level wear-leveling.
int32_t block_cycles;