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
AgeCommit message (Collapse)Author
2019-04-01Updated DESIGN.md to reflect v2 changesChristopher Haster
Now with graphs! Images are stored on the branch gh-images in an effort to avoid binary bloat in the git history. Also spruced up SPEC.md and README.md and ran a spellechecker over the documentation. Favorite typo so far was dependendent, which is, in fact, not a word.
2018-02-01doc: Editorial tweaksBernhard Reutner-Fischer
2018-02-01doc: Spelling fixesBernhard Reutner-Fischer
2017-11-20Revisited documentationChristopher Haster
Mostly changed the wording around the goals/features of littlefs based on feedback from other developers. Also added in project links now that there are a few of those floating around. And made the README a bit easier to navigate.
2017-10-30Adopted alternative implementation for lfs_ctz_indexChristopher Haster
Same runtime cost, however reduces the logic and avoids one of the two big branches. See the DESIGN.md for more info. Now uses these equations instead of the messy guess and correct method: n = (N - w/8(popcount(N/(B-2w/8)) + 2)) / (B-2w/8) off = N - (B-w2/8)n - w/8popcount(n)
2017-10-18Adopted lfs_ctz_index implementation using popcountChristopher Haster
This reduces the O(n^2logn) runtime to read a file to only O(nlog). The extra O(n) did not touch the disk, so it isn't a problem until the files become very large, but this solution comes with very little cost. Long story short, you can find the block index + offset pair for a CTZ linked-list with this series of formulas: n' = floor(N / (B - 2w/8)) N' = (B - 2w/8)n' + (w/8)popcount(n') off' = N - N' n, off = n'-1, off'+B if off' < 0 n', off'+(w/8)(ctz(n')+1) if off' >= 0 For the long story, you will need to see the updated DESIGN.md
2017-10-13Updated SPEC.md and DESIGN.md based on recent changesChristopher Haster
- Added math behind CTZ limits - Added documentation over atomic moves
2017-07-16Removed a few "what"s from the documentationChristopher Haster
2017-06-28Cleaned up design documentationChristopher Haster
2017-05-19Added documentation over the underlying designChristopher Haster