]> git.karo-electronics.de Git - karo-tx-linux.git/commit
md: don't update metadata when stopping a read-only array.
authorNeilBrown <neilb@suse.de>
Wed, 27 Mar 2013 05:51:09 +0000 (16:51 +1100)
committerNeilBrown <neilb@suse.de>
Wed, 27 Mar 2013 07:09:01 +0000 (18:09 +1100)
commit3b8fb1d91daacc6c15bc3240d73be074e074d50b
treed0550ca2fa05e3297c6ebfe9244d39ced10fce02
parent8ea2559cdb1f278e82505e736fa02c77c0d831e3
md: don't update metadata when stopping a read-only array.

read-only arrays should stay that way as much as possible.
Updating the metadata - which could be triggered by a re-add
while assembling the array metadata - should be avoided.

Signed-off-by: NeilBrown <neilb@suse.de>
drivers/md/md.c