md/raid5: allow for change in data_offset while managing a reshape.
authorNeilBrown <neilb@suse.de>
Sun, 20 May 2012 23:27:01 +0000 (09:27 +1000)
committerNeilBrown <neilb@suse.de>
Sun, 20 May 2012 23:27:01 +0000 (09:27 +1000)
commitb5254dd5fdd9abcacadb5101beb35df9ae8cc564
tree73d32b8dd7c0dc9ecfe61468965b06741070dee7
parent05616be5e11f66888b66554957dbecdd90658a84
md/raid5: allow for change in data_offset while managing a reshape.

The important issue here is incorporating the different in data_offset
into calculations concerning when we might need to over-write data
that is still thought to be valid.

To this end we find the minimum offset difference across all devices
and add that where appropriate.

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