mirror of
https://github.com/adulau/aha.git
synced 2025-01-04 07:03:38 +00:00
[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>
This commit is contained in:
parent
e9028b0ff2
commit
9e71f9c848
1 changed files with 1 additions and 1 deletions
|
@ -130,6 +130,6 @@ struct r1bio_s {
|
||||||
* with failure when last write completes (and all failed).
|
* with failure when last write completes (and all failed).
|
||||||
* Record that bi_end_io was called with this flag...
|
* Record that bi_end_io was called with this flag...
|
||||||
*/
|
*/
|
||||||
#define R1BIO_Returned 4
|
#define R1BIO_Returned 6
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in a new issue