aboutsummaryrefslogtreecommitdiffstats
path: root/lib/spinlock_debug.c
diff options
context:
space:
mode:
authorShaohua Li <[email protected]>2012-07-03 05:57:19 +0000
committerNeilBrown <[email protected]>2012-07-03 05:57:19 +0000
commitfab363b5ff502d1b39ddcfec04271f5858d9f26e (patch)
treeb9d247b33102421f46b21462cd569853cb926fdb /lib/spinlock_debug.c
parentmd/raid456: When read error cannot be recovered, record bad block (diff)
downloadkernel-fab363b5ff502d1b39ddcfec04271f5858d9f26e.tar.gz
kernel-fab363b5ff502d1b39ddcfec04271f5858d9f26e.zip
raid5: delayed stripe fix
There isn't locking setting STRIPE_DELAYED and STRIPE_PREREAD_ACTIVE bits, but the two bits have relationship. A delayed stripe can be moved to hold list only when preread active stripe count is below IO_THRESHOLD. If a stripe has both the bits set, such stripe will be in delayed list and preread count not 0, which will make such stripe never leave delayed list. Signed-off-by: Shaohua Li <[email protected]> Signed-off-by: NeilBrown <[email protected]>
Diffstat (limited to 'lib/spinlock_debug.c')
0 files changed, 0 insertions, 0 deletions