Revision fb642b92c267beeefd352af9bc461eac93a7552c authored by NeilBrown on 21 May 2015, 02:00:47 UTC, committed by NeilBrown on 28 May 2015, 01:36:25 UTC
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>
1 parent 4e3d62f
History
File Mode Size
Kconfig -rw-r--r-- 90 bytes
Makefile -rw-r--r-- 450 bytes
fc.c -rw-r--r-- 2.8 KB
fddi.c -rw-r--r-- 5.1 KB
garp.c -rw-r--r-- 17.7 KB
hippi.c -rw-r--r-- 5.3 KB
mrp.c -rw-r--r-- 24.7 KB
p8022.c -rw-r--r-- 1.9 KB
p8023.c -rw-r--r-- 1.6 KB
psnap.c -rw-r--r-- 3.5 KB
stp.c -rw-r--r-- 2.6 KB

back to top