]> git.karo-electronics.de Git - karo-tx-linux.git/commit
md/raid5: allow for change in data_offset while managing a reshape.
authorNeilBrown <neilb@suse.de>
Thu, 12 Apr 2012 06:12:20 +0000 (16:12 +1000)
committerNeilBrown <neilb@suse.de>
Thu, 12 Apr 2012 06:12:20 +0000 (16:12 +1000)
commit167706d8c9d1fcf6d1a62b5a465ce4d785264f8c
tree1722bfd7aa09c5d7694d69f21355502f5e478406
parente18018b7d3769f5f4fefa74dc0f23e8212e7b0f3
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