]> err.no Git - linux-2.6/commit
[PATCH] DM: Fix bug: BIO_RW_BARRIER requests to md/raid1 hang.
authorNeilBrown <neilb@suse.de>
Thu, 23 Mar 2006 10:59:22 +0000 (02:59 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Thu, 23 Mar 2006 15:38:03 +0000 (07:38 -0800)
commit9e71f9c848e669f003b1319da52f03cb8e7d7403
tree3c873cce6b2d5da5237be20fe98124e8f4968d4d
parente9028b0ff2bad1954568604dc17725692c8524d6
[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>
include/linux/raid/raid1.h