Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #450 from dnc40085/dev096_revert_commit_5261fb1
Revert "Update spiffs to latest." on dev096 branch
- Loading branch information
Showing
20 changed files
with
183 additions
and
743 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -303,4 +303,4 @@ Having these figures you can disable SPIFFS_BUFFER_HELP again to save flash. | |
|
||
* HOW TO CONFIG | ||
|
||
TODO | ||
TODO |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1 @@ | ||
* When mending lost pages, also see if they fit into length specified in object index header | ||
|
||
SPIFFS2 thoughts | ||
|
||
* Instead of exact object id:s in the object lookup tables, use a hash of span index and object id. | ||
Eg. object id xor:ed with bit-reversed span index. | ||
This should decrease number of actual pages that needs to be visited when looking thru the obj lut. | ||
|
||
* Logical number of each block. When moving stuff in a garbage collected page, the free | ||
page is assigned the same number as the garbage collected. Thus, object index pages do not have to | ||
be rewritten. | ||
|
||
* Steal one page, use as a bit parity page. When starting an fs modification operation, write one bit | ||
as zero. When ending, write another bit as zero. On mount, if number of zeroes in page is uneven, a | ||
check is automatically run. | ||
* When mending lost pages, also see if they fit into length specified in object index header |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.