commit | c8ac1803ff0af5aa614587ac0c66d46b7a3bdfcc | [log] [tgz] |
---|---|---|
author | NeilBrown <neilb@suse.de> | Wed Jul 27 11:00:36 2011 +1000 |
committer | NeilBrown <neilb@suse.de> | Wed Jul 27 11:00:36 2011 +1000 |
tree | e1ac80fb2151802d8a2654b5c91e06c77c0f3686 | |
parent | 93b3dbce6456a79c545b45e86ccc2244e923cc99 [diff] |
md/raid5: unite handle_stripe_dirtying5 and handle_stripe_dirtying6 RAID6 is only allowed to choose 'reconstruct-write' while RAID5 is also allow 'read-modify-write' Apart from this difference, handle_stripe_dirtying[56] are nearly identical. So resolve these differences and create just one function. Signed-off-by: NeilBrown <neilb@suse.de> Reviewed-by: Namhyung Kim <namhyung@gmail.com>