Skip to content
Commit 787b76fa authored by NeilBrown's avatar NeilBrown
Browse files

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: default avatarNeilBrown <neilb@suse.de>
parent 1b956f7a
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment