]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
md/raid5: call break_stripe_batch_list from handle_stripe_clean_event
authorNeilBrown <neilb@suse.de>
Thu, 21 May 2015 02:56:41 +0000 (12:56 +1000)
committerNeilBrown <neilb@suse.de>
Thu, 28 May 2015 01:47:02 +0000 (11:47 +1000)
commit787b76fa37159050f6d26aebfa6210009baed93b
tree9e54ff777051ffa494d7e34349c8a079be5052c4
parent1b956f7a8f9aa63ea9644ab8c3374cf381993363
md/raid5: call break_stripe_batch_list from handle_stripe_clean_event

Now that the code in break_stripe_batch_list() is nearly identical
to the end of handle_stripe_clean_event, replace the later
with a function call.

The only remaining difference of any interest is the masking that is
applieds to dev[i].flags copied from head_sh.
R5_WriteError certainly isn't wanted as it is set per-stripe, not
per-patch.  R5_Overlap isn't wanted as it is explicitly handled.

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