]> git.baikalelectronics.ru Git - kernel.git/commit
md/raid5: Allow recovered part of partially recovered devices to be in-sync
authorNeilBrown <neilb@suse.de>
Thu, 17 Jun 2010 07:25:21 +0000 (17:25 +1000)
committerNeilBrown <neilb@suse.de>
Thu, 24 Jun 2010 03:35:39 +0000 (13:35 +1000)
commitdb275bd59346e7fcbb67e546952e094bc3351688
tree4558df940a15693e477af206b54423d98d9a04b1
parentf251e859d9cc64308c6ee1a73f6940e2cdc5a6d6
md/raid5: Allow recovered part of partially recovered devices to be in-sync

During a recovery of reshape the early part of some devices might be
in-sync while the later parts are not.
We we know we are looking at an early part it is good to treat that
part as in-sync for stripe calculations.

This is particularly important for a reshape which suffers device
failure.  Treating the data as in-sync can mean the difference between
data-safety and data-loss.

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