From: Shaohua Li Date: Tue, 3 Jul 2012 05:57:19 +0000 (+1000) Subject: raid5: delayed stripe fix X-Git-Tag: v3.5-rc6~24^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fab363b5ff502d1b39ddcfec04271f5858d9f26e;p=pandora-kernel.git 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 Signed-off-by: NeilBrown --- Reading git-diff-tree failed