From: NeilBrown Date: Mon, 1 May 2006 19:15:47 +0000 (-0700) Subject: [PATCH] md: Improve detection of lack of barrier support in raid1 X-Git-Tag: v2.6.17-rc4~96 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=62de608da0b0ab17d81a233b50d1e952b9816f69;p=pandora-kernel.git [PATCH] md: Improve detection of lack of barrier support in raid1 Move the test for 'do barrier work' down a bit so that if the first write to a raid1 is a BIO_RW_BARRIER write, the checking done by superblock writes will cause the right thing to happen. Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed