mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
203f75223e
Previously when HashList was removing items, HashListBlocks were removed lazily. This resulted in empty HashListBlocks dangling around in full pages, even when all items have been erased. These blocks would only be deleted when NVS was re-initialized (nvs_flash_deinit/nvs_flash_init). This change does eager cleanup instead, based on the code from @negativekelvin offered in https://github.com/espressif/esp-idf/issues/1642#issuecomment-367227994. Closes https://github.com/espressif/esp-idf/issues/1642. |
||
---|---|---|
.. | ||
compressed_enum_table.hpp | ||
intrusive_list.h | ||
nvs_api.cpp | ||
nvs_encr.cpp | ||
nvs_encr.hpp | ||
nvs_item_hash_list.cpp | ||
nvs_item_hash_list.hpp | ||
nvs_ops.cpp | ||
nvs_ops.hpp | ||
nvs_page.cpp | ||
nvs_page.hpp | ||
nvs_pagemanager.cpp | ||
nvs_pagemanager.hpp | ||
nvs_platform.hpp | ||
nvs_storage.cpp | ||
nvs_storage.hpp | ||
nvs_test_api.h | ||
nvs_types.cpp | ||
nvs_types.hpp | ||
nvs.hpp |