OVMS3-idf/components
Ivan Grokhotkov 7ee102a9f6 nvs: do eager cleanup of HashListBlocks
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.
2019-02-28 21:58:03 +08:00
..
app_trace cmake: Fix some failing example builds, fix gcov 2018-10-30 10:59:39 +11:00
app_update bugfix/ota_magic_byte_issue: Fix indent and replace constant by macro 2018-12-20 12:24:55 +05:30
aws_iot cmake: make main a component again 2018-09-13 11:13:27 +08:00
bootloader esp32: remove ROM functions redefined in IDF from LD script 2019-01-23 16:26:14 +08:00
bootloader_support soc: define named constants for DPORT_CPUPERIOD_SEL values 2019-02-28 21:58:03 +08:00
bt component/bt: add more information and description for bluetooth modem sleep 2019-02-27 10:51:15 +08:00
coap cmake: make main a component again 2018-09-13 11:13:27 +08:00
console cmake: fix source list issues 2018-09-13 11:13:27 +08:00
cxx cmake: make main a component again 2018-09-13 11:13:27 +08:00
driver bugfix(i2c): reduce speed of I2C master bus reset routine and release SDA 2019-01-22 13:48:37 +08:00
esp-tls cmake: make main a component again 2018-09-13 11:13:27 +08:00
esp32 esp_timer: fix occasional failures in "monotonic values" test 2019-02-28 21:58:03 +08:00
esp_adc_cal cmake: make main a component again 2018-09-13 11:13:27 +08:00
esp_http_client cmake: make main a component again 2018-09-13 11:13:27 +08:00
esp_https_ota cmake: make main a component again 2018-09-13 11:13:27 +08:00
espcoredump bugfix: fixed path to esptool when there is no compiled python module for it 2017-03-21 13:30:38 +03:00
esptool_py Update esptool.py to v2.6 2019-01-23 17:06:11 +08:00
ethernet ethernet: enlarge ethernet task stack size 2019-02-27 15:21:09 +08:00
expat cmake: make main a component again 2018-09-13 11:13:27 +08:00
fatfs fatfs: Do not log from critical sections 2018-11-16 12:59:38 +01:00
freertos freertos: Make backtrace work across interrupts (backport v3.1) 2019-01-30 22:13:28 +08:00
heap heap: Fix heap metadata test to account for background memory allocations 2018-10-12 18:22:07 +11:00
idf_test modify test case to support ipv6 2019-01-26 13:07:06 +00:00
jsmn cmake: make main a component again 2018-09-13 11:13:27 +08:00
json cmake: make main a component again 2018-09-13 11:13:27 +08:00
libsodium cmake: fix source list issues 2018-09-13 11:13:27 +08:00
log cmake: make main a component again 2018-09-13 11:13:27 +08:00
lwip lwip: fix mbox thread-safe issue 2019-01-02 23:06:24 +08:00
mbedtls hwcrypto sha: Allow SHA contexts to be shared between tasks 2019-01-23 18:18:38 +08:00
mdns mdns: fixed crash on free undefined ptr after skipped strdup 2019-01-29 19:27:46 +01:00
micro-ecc cmake: make main a component again 2018-09-13 11:13:27 +08:00
newlib esp32: remove ROM functions redefined in IDF from LD script 2019-01-23 16:26:14 +08:00
nghttp cmake: make main a component again 2018-09-13 11:13:27 +08:00
nvs_flash nvs: do eager cleanup of HashListBlocks 2019-02-28 21:58:03 +08:00
openssl cmake: make main a component again 2018-09-13 11:13:27 +08:00
partition_table nvs_flash: Add support for nvs encryption 2018-10-04 19:25:12 +05:30
pthread cmake: make main a component again 2018-09-13 11:13:27 +08:00
sdmmc cmake: make main a component again 2018-09-13 11:13:27 +08:00
smartconfig_ack cmake: make main a component again 2018-09-13 11:13:27 +08:00
soc soc: define named constants for DPORT_CPUPERIOD_SEL values 2019-02-28 21:58:03 +08:00
spi_flash Merge branch 'bugfix/fix_random_failure_with_ota_updates_v3.1' into 'release/v3.1' 2018-10-16 10:58:24 +08:00
spiffs spiffs: increase timeout in readdir test 2018-12-28 09:56:15 +08:00
tcpip_adapter Merge branch 'bugfix/tw24694_dns_request_no_reply_v3.1' into 'release/v3.1' 2018-09-16 15:18:39 +08:00
ulp cmake: make main a component again 2018-09-13 11:13:27 +08:00
vfs vfs: fix unregister removing top level VFS instead of nested 2019-01-23 16:28:09 +08:00
wear_levelling cmake: make main a component again 2018-09-13 11:13:27 +08:00
wpa_supplicant Merge branch 'bugfix/misc_v3_1_backports' into 'release/v3.1' 2018-10-10 15:01:13 +08:00
xtensa-debug-module cmake: make main a component again 2018-09-13 11:13:27 +08:00