From: NeilBrown Date: Fri, 6 Jan 2006 08:20:46 +0000 (-0800) Subject: [PATCH] md: fix rdev->pending counts in raid1 X-Git-Tag: v2.6.16-rc1~936^2~16 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=03c902e17f40cfed63cd2494616f35fc9c58571b;p=pandora-kernel.git [PATCH] md: fix rdev->pending counts in raid1 When we do a user-requested check/repair, we lose count of the outstanding requests... Also make sure that when anything is written to md/sync_action, the RECOVERY_NEEDED flag is set and the thread is woken up so any changes take effect. Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed