Skip to content

Conversation

@ante-ublox
Copy link

Add a wipe_on_failure parameter to zms_mount() that automatically wipes and reinitializes the partition if the initial mount fails.

A corresponding Kconfig option SETTINGS_ZMS_WIPE_ON_MOUNT_FAILURE is added to the settings subsystem to enable this feature when using ZMS as the storage backend.

Relates to #100948

Add a `wipe_on_failure` parameter to zms_mount() that automatically wipes and
reinitializes the partition if the initial mount fails.

A corresponding Kconfig option `SETTINGS_ZMS_WIPE_ON_MOUNT_FAILURE` is added
to the settings subsystem to enable this feature when using ZMS as the storage
backend.

Signed-off-by: Andreas Anderberg <[email protected]>
@github-actions
Copy link

Hello @ante-ublox, and thank you very much for your first pull request to the Zephyr project!
Our Continuous Integration pipeline will execute a series of checks on your Pull Request commit messages and code, and you are expected to address any failures by updating the PR. Please take a look at our commit message guidelines to find out how to format your commit messages, and at our contribution workflow to understand how to update your Pull Request. If you haven't already, please make sure to review the project's Contributor Expectations and update (by amending and force-pushing the commits) your pull request if necessary.
If you are stuck or need help please join us on Discord and ask your question there. Additionally, you can escalate the review when applicable. 😊

@zephyrbot zephyrbot added area: File System area: Settings Settings subsystem area: Tests Issues related to a particular existing or missing test labels Dec 19, 2025
@de-nordic de-nordic assigned rghaddab and unassigned de-nordic Dec 19, 2025
@sonarqubecloud
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: File System area: Settings Settings subsystem area: Tests Issues related to a particular existing or missing test

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants