]> git.ipfire.org Git - thirdparty/mdadm.git/commit
Grow: be more careful about metadata updates.
authorNeilBrown <neilb@suse.de>
Wed, 15 Dec 2010 22:07:51 +0000 (09:07 +1100)
committerNeilBrown <neilb@suse.de>
Wed, 15 Dec 2010 22:07:51 +0000 (09:07 +1100)
commit76266030d68d35a2342b7d0f7517daa6401bc5af
tree9b5dbf899ee3db4f6af09c29b2c009e894f8c22c
parent885f984583a08bd64ea0e3e04abc0712828a1276
Grow: be more careful about metadata updates.

1/ When we sunc_metadata, we must reset ->update_tail else
   future metadata updates might go direct to the device bypassing
   mdmon.

2/ When converting to an array with redundancy so we can add disks
   it is neater to sync_metadata before starting mdmon rather that
   artificially setting update_tail early.

Signed-off-by: NeilBrown <neilb@suse.de>
Grow.c