mirror of
https://github.com/amadvance/snapraid.git
synced 2026-11-21 15:36:33 -05:00
Change the default advise mode to 'flush'
This is expected to fix the problem reported in the Forum about slow write due the big amount of RAM that delay the write for a long time.
This commit is contained in:
parent
397c58c41e
commit
f5d1afaaed
2 changed files with 2 additions and 1 deletions
|
|
@ -537,7 +537,7 @@ void state_config(struct snapraid_state* state, const char* path, const char* co
|
|||
state->file_mode = state->opt.file_mode;
|
||||
} else {
|
||||
/* default mode, if nothing is specified */
|
||||
state->file_mode = ADVISE_SEQUENTIAL;
|
||||
state->file_mode = ADVISE_FLUSH;
|
||||
}
|
||||
|
||||
/* store current command */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue