Skip to content
Commit e0f02565 authored by Riadh Ghaddab's avatar Riadh Ghaddab Committed by Benjamin Cabé
Browse files

zms: optimize write function by skipping unnecessary reads



when performing a write ZMS checks if the data exists in the storage to
avoid double writing the same data and save some memory cycle life time.
However this downgrades the write performance.
Enable this feature only when CONFIG_ZMS_NO_DOUBLE_WRITE is enabled.

Signed-off-by: default avatarRiadh Ghaddab <rghaddab@baylibre.com>
parent 4b086612
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment