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
cassini.bin.ihex -rw-r--r-- 6.1 KB

back to top