mirror of
https://github.com/amadvance/snapraid.git
synced 2026-10-26 02:49:02 -04:00
Explain because log_fatal() is used
This commit is contained in:
parent
bb3a4a54a1
commit
d5308f4a59
1 changed files with 1 additions and 0 deletions
|
|
@ -1501,6 +1501,7 @@ static void state_map(struct snapraid_state* state)
|
|||
|
||||
/* recommend number of parities */
|
||||
if (!state->opt.no_warnings) {
|
||||
/* intentionally use log_fatal() instead of log_error() to give more visibility at the warning */
|
||||
if (diskcount >= 36 && state->level < 6) {
|
||||
log_fatal("WARNING! With %u disks it's recommended to use six parity levels.\n", diskcount);
|
||||
} else if (diskcount >= 29 && state->level < 5) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue