mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
7ae1df1c5e
Currently when page is being freed, items are individually moved from FREEING page to ACTIVE page and erased. If power-off happens during the process, the remaining entries are moved to ACTIVE page during recovery. The problem with this approach is there may not be enough space on ACTIVE page for all items if an item was partially written before power-off and erased during recovery. This change moves all the items from FREEING to ACTIVE page and then erased the FREEING page, If power-off happens during the process, then ACTIVE page is erased and the process is restarted. |
||
---|---|---|
.. | ||
crc.cpp | ||
crc.h | ||
esp_error_check_stub.cpp | ||
main.cpp | ||
Makefile | ||
sdkconfig.h | ||
spi_flash_emulation.cpp | ||
spi_flash_emulation.h | ||
test_compressed_enum_table.cpp | ||
test_intrusive_list.cpp | ||
test_nvs.cpp | ||
test_spi_flash_emulation.cpp |