mirror of
https://github.com/amadvance/snapraid.git
synced 2026-12-04 13:50:09 -05:00
Quiesce scrub read-ahead before autosave and distinguish read/write barriers
This commit is contained in:
parent
fba3f74538
commit
bcfd2734b6
4 changed files with 32 additions and 21 deletions
|
|
@ -976,6 +976,7 @@ static int state_scrub_process(struct snapraid_state* state, struct snapraid_par
|
|||
state_progress_stop(state);
|
||||
|
||||
msg_progress("Autosaving...\n");
|
||||
state_read_barrier(&io);
|
||||
state_write(state);
|
||||
|
||||
state_progress_restart(state);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue