]> 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>
Tue, 24 Apr 2012 00:57:47 +0000 (10:57 +1000)
committerNeilBrown <neilb@suse.de>
Tue, 24 Apr 2012 00:57:47 +0000 (10:57 +1000)
commitce41c3a0632c43b5d82ea03ce36e914193f50269
tree724879d595ce72e8e8064df8ce14a94dc5428a2e
parent8f6b88f04bac3556285c12fd1ed02ccdc011b302
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