Abort spindown when filesystem flush fails

This commit is contained in:
Andrea Mazzoleni 2026-09-28 14:21:33 +02:00
parent d210e95997
commit 57e15416ae
6 changed files with 54 additions and 12 deletions

View file

@ -275,6 +275,11 @@ void state_devmap(struct snapraid_state* state);
*/
int state_device(struct snapraid_state* state, int operation, tommy_list* filterlist_disk);
/**
* Perform a device operation, continuing after a failed flush when force is set.
*/
int state_device_force(struct snapraid_state* state, int operation, tommy_list* filterlist_disk, int force);
/**
* Sync the parity data.
*/