Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 9e71f9c8 authored by NeilBrown's avatar NeilBrown Committed by Linus Torvalds
Browse files

[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: default avatarNeil Brown <neilb@suse.de>
Cc: <stable@kernel.org>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent e9028b0f
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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