diff options
| author | Shaohua Li <[email protected]> | 2012-07-03 05:57:19 +0000 |
|---|---|---|
| committer | NeilBrown <[email protected]> | 2012-07-03 05:57:19 +0000 |
| commit | fab363b5ff502d1b39ddcfec04271f5858d9f26e (patch) | |
| tree | b9d247b33102421f46b21462cd569853cb926fdb /lib/spinlock_debug.c | |
| parent | md/raid456: When read error cannot be recovered, record bad block (diff) | |
| download | kernel-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
