1
0
Fork 0

Generic wear-leveling algorithm (#16996)

* Initial import of wear-leveling algorithm.

* Alignment.

* Docs tweaks.

* Lock/unlock.

* Update quantum/wear_leveling/wear_leveling_internal.h

Co-authored-by: Stefan Kerkmann <karlk90@pm.me>

* More tests, fix issue with consolidation when unlocked.

* More tests.

* Review comments.

* Add plumbing for FNV1a.

* Another test checking that checksum mismatch clears the cache.

* Check that the write log still gets played back.

Co-authored-by: Stefan Kerkmann <karlk90@pm.me>
This commit is contained in:
Nick Brassel 2022-06-27 07:18:21 +10:00 committed by GitHub
parent 0d013a21e1
commit 01ecf332ff
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
28 changed files with 7519 additions and 0 deletions

2237
lib/fnv/test_fnv.c Normal file

File diff suppressed because it is too large Load diff