summaryrefslogtreecommitdiff
path: root/crypto
diff options
context:
space:
mode:
authorNeilBrown <neilb@suse.de>2011-07-27 01:00:36 (GMT)
committerNeilBrown <neilb@suse.de>2011-07-27 01:00:36 (GMT)
commit5d35e09cae47bbae2739f432658860680de21866 (patch)
tree619a548f43403883f394062f3397de2ca6eb6c4a /crypto
parentc5a3100062cf277d3edd4e6f4a1f1e403524b464 (diff)
downloadlinux-5d35e09cae47bbae2739f432658860680de21866.tar.xz
md/raid5: rearrange a test in fetch_block6.
Next patch will unite fetch_block5 and fetch_block6. First I want to make the differences a little more clear. For RAID6 if we are writing at all and there is a failed device, then we need to load or compute every block so we can do a reconstruct-write. This case isn't needed for RAID5 - we will do a read-modify-write in that case. So make that test a separate test in fetch_block6 rather than merged with two other tests. Make a similar change in fetch_block5 so the one bit that is not needed for RAID6 is clearly separate. Signed-off-by: NeilBrown <neilb@suse.de> Reviewed-by: Namhyung Kim <namhyung@gmail.com>
Diffstat (limited to 'crypto')
0 files changed, 0 insertions, 0 deletions