]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
md: allow v0.91 metadata to record devices as being active but not in-sync.
authorNeilBrown <neilb@suse.de>
Fri, 13 Nov 2009 06:40:48 +0000 (17:40 +1100)
committerNeilBrown <neilb@suse.de>
Fri, 13 Nov 2009 06:40:48 +0000 (17:40 +1100)
commit0261cd9f1cb42fa44ece314d27868d83742bdf03
tree95954fb2e1a10ee1b20198b8fbefd7a8392dc896
parent5e8651060cea6b44844521ddcac665e2c021f5d8
md: allow v0.91 metadata to record devices as being active but not in-sync.

This is a combination that didn't really make sense before.
However when a reshape is converting e.g. raid5 -> raid6, the extra
device is not fully in-sync, but is certainly active and contains
important data.
So allow that start to be meaningful and in particular get
the 'recovery_offset' value (which is needed for any non-in-sync
active device) from the reshape_position.

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