From: Jonathan Brassow Date: Wed, 9 May 2007 09:33:07 +0000 (-0700) Subject: dm raid1: fix to commit pending clear region requests X-Git-Tag: v2.6.22-rc1~291 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f5353cd7c9cd10cdf9d62a5487f3db77b7b68105;p=pandora-kernel.git dm raid1: fix to commit pending clear region requests With the code as it is, it is possible for oustanding clear region requests never to get flushed when a mirror is deactivated or suspended. This means there will always be some resync work required when a mirror is activated, even though it may very well be in-sync. Always requesting the flush doesn't hurt us. This is because the log tracks whether any changes occurred and, if not, no flush is performed. Signed-off-by: Jonathan Brassow Signed-off-by: Alasdair G Kergon Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed