diff options
author | Neil Brown <neilb@suse.de> | 2008-07-11 08:50:06 +1000 |
---|---|---|
committer | Neil Brown <neilb@suse.de> | 2008-07-11 08:50:06 +1000 |
commit | d024b0a7eb520d5d7f2238b31c18eabe3775e731 (patch) | |
tree | a88e34e44820a0cbea1a7e949ad3138d6c0a2e9a | |
parent | 9686a7b5c5de3b710438d90d1198eff13f8c53e0 (diff) |
Always assume_clean for raid0, linear, multipath, faulty
For arrays that don't have redundancy (raid0, linear etc), the
clean/dirty distinction doesn't mean anything. So always
'assume clean' for these arrays.
-rw-r--r-- | Create.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -441,6 +441,8 @@ int Create(struct supertype *st, char *mddev, int mdfd, ( level == 6 && (insert_point < raiddisks || second_missing < raiddisks)) || + ( level <= 0 ) + || assume_clean ) info.array.state = 1; /* clean, but one+ drive will be missing*/ |