diff options
author | NeilBrown <neilb@suse.de> | 2015-05-21 04:00:47 +0200 |
---|---|---|
committer | NeilBrown <neilb@suse.de> | 2015-05-28 03:36:25 +0200 |
commit | fb642b92c267beeefd352af9bc461eac93a7552c (patch) | |
tree | b65a1548db0ed487de3fe42ac8a072c3a8a59c05 /firmware | |
parent | md/raid5: remove condition test from check_break_stripe_batch_list. (diff) | |
download | linux-fb642b92c267beeefd352af9bc461eac93a7552c.tar.xz linux-fb642b92c267beeefd352af9bc461eac93a7552c.zip |
md/raid5: duplicate some more handle_stripe_clean_event code in break_stripe_batch_list
break_stripe_batch list didn't clear head_sh->batch_head.
This was probably a bug.
Also clear all R5_Overlap flags and if any were cleared, wake up
'wait_for_overlap'.
This isn't always necessary but the worst effect is a little
extra checking for code that is waiting on wait_for_overlap.
Also, don't use wake_up_nr() because that does the wrong thing
if 'nr' is zero, and it number of flags cleared doesn't
strongly correlate with the number of threads to wake.
Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'firmware')
0 files changed, 0 insertions, 0 deletions