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.
This commit is contained in:
Neil Brown 2008-07-11 08:50:06 +10:00
parent 9686a7b5c5
commit d024b0a7eb
1 changed files with 2 additions and 0 deletions

View File

@ -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*/