summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorNeilBrown <neilb@suse.de>2006-03-23 02:59:22 -0800
committerLinus Torvalds <torvalds@g5.osdl.org>2006-03-23 07:38:03 -0800
commit9e71f9c848e669f003b1319da52f03cb8e7d7403 (patch)
tree3c873cce6b2d5da5237be20fe98124e8f4968d4d /include
parente9028b0ff2bad1954568604dc17725692c8524d6 (diff)
downloadlinux-9e71f9c848e669f003b1319da52f03cb8e7d7403.tar.gz
linux-9e71f9c848e669f003b1319da52f03cb8e7d7403.tar.bz2
linux-9e71f9c848e669f003b1319da52f03cb8e7d7403.zip
[PATCH] DM: Fix bug: BIO_RW_BARRIER requests to md/raid1 hang.
Both R1BIO_Barrier and R1BIO_Returned are 4 !!!! This means that barrier requests don't get returned (i.e. b_endio called) because it looks like they already have been. Signed-off-by: Neil Brown <neilb@suse.de> Cc: <stable@kernel.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include')
-rw-r--r--include/linux/raid/raid1.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/raid/raid1.h b/include/linux/raid/raid1.h
index 9d5494aaac0f..3009c813d83d 100644
--- a/include/linux/raid/raid1.h
+++ b/include/linux/raid/raid1.h
@@ -130,6 +130,6 @@ struct r1bio_s {
* with failure when last write completes (and all failed).
* Record that bi_end_io was called with this flag...
*/
-#define R1BIO_Returned 4
+#define R1BIO_Returned 6
#endif