Pavel Vasilyev

Results 4 comments of Pavel Vasilyev

Without the fix (first write ~25 seconds): ``` *** Booting Zephyr OS build v3.6.0-rc2-113-gaa28f00370a7 *** Initializing... Bluetooth initialized Mesh initialized Self-provisioning with address 0x0001 Provisioned and configured! *** storing over...

@Laczen, when a new entry is stored in settings, it is cached regardless of the hash collision (`settings_nvs_cache_add` always adds new entry). Until `cache_next` wraps around, provided that all settings...

> when a new entry is stored in settings, it is cached regardless of the hash collision (`settings_nvs_cache_add` always adds new entry). The same applies for loading because loading also...

What I think I should change is to set `cf->loaded` here before `brake`: https://github.com/zephyrproject-rtos/zephyr/blob/5dad8d72ee739df5ef1b0369a5cf45ff800dec12/subsys/settings/src/settings_nvs.c#L137-L139 Because in case of loading with callback which returns an error, `setting_nvs_load` will exit earlier: https://github.com/zephyrproject-rtos/zephyr/blob/5dad8d72ee739df5ef1b0369a5cf45ff800dec12/subsys/settings/src/settings.c#L206-L209...