summaryrefslogtreecommitdiffstats
path: root/kernel/softirq.c
diff options
context:
space:
mode:
authorNeilBrown <neilb@suse.de>2015-05-21 12:00:47 +1000
committerNeilBrown <neilb@suse.de>2015-05-28 11:36:25 +1000
commitfb642b92c267beeefd352af9bc461eac93a7552c (patch)
treeb65a1548db0ed487de3fe42ac8a072c3a8a59c05 /kernel/softirq.c
parent4e3d62ff4976f26d22b8b91572a49136bb3a23f1 (diff)
downloadlinux-fb642b92c267beeefd352af9bc461eac93a7552c.tar.bz2
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 'kernel/softirq.c')
0 files changed, 0 insertions, 0 deletions