third_party.pigweed.src/pw_kvs
David Rogers f3884eb9d4 pw_kvs: Fix garbage collection for redundant entries
Fix garbage collection when using redudant entries.
- Improve "find sector to write entry to" and "find sector to GC"
  algorithms so they work better with redundant entries.
- Add support in GC to be aware of partially written keys, where the
  first entry is written to flash, but GC is needed to free space for
  the redundant entries to have space to be written.

Tested with kEntryRedundancy up to 2.

Change-Id: Iff88d970714fa1ece634af926a1838a5f7d5d7e7
2020-03-10 23:18:58 +00:00
..
public/pw_kvs pw_kvs: Fix garbage collection for redundant entries 2020-03-10 23:18:58 +00:00
pw_kvs_private
alignment_test.cc
alignment.cc
BUILD
BUILD.gn
checksum_test.cc
checksum.cc
CMakeLists.txt
debug_cli.cc
entry_test.cc
entry.cc
flash_memory.cc
format.cc
in_memory_fake_flash.cc
key_value_store_binary_format_test.cc pw_kvs: Fix garbage collection for redundant entries 2020-03-10 23:18:58 +00:00
key_value_store_fuzz_test.cc pw_kvs: Fix garbage collection for redundant entries 2020-03-10 23:18:58 +00:00
key_value_store_map_test.cc pw_kvs: Fix garbage collection for redundant entries 2020-03-10 23:18:58 +00:00
key_value_store_test.cc pw_kvs: Fix garbage collection for redundant entries 2020-03-10 23:18:58 +00:00
key_value_store.cc pw_kvs: Fix garbage collection for redundant entries 2020-03-10 23:18:58 +00:00