* [PATCH] Fix bug: BIO_RW_BARRIER requests to md/raid1 hang.
[not found] <20060323143936.13067.patches@notabene>
@ 2006-03-23 3:41 ` NeilBrown
0 siblings, 0 replies; only message in thread
From: NeilBrown @ 2006-03-23 3:41 UTC (permalink / raw)
To: Andrew Morton, stable; +Cc: linux-kernel, linux-raid
The following fixes a rather embarassing bug in 2.6.16, and so should
go into 2.6.16.1, and 2.6.16-rc1.
Thanks,
NeilBrown
### Comments for Changeset
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>
### Diffstat output
./include/linux/raid/raid1.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff ./include/linux/raid/raid1.h~current~ ./include/linux/raid/raid1.h
--- ./include/linux/raid/raid1.h~current~ 2006-03-23 13:46:27.000000000 +1100
+++ ./include/linux/raid/raid1.h 2006-03-23 14:36:53.000000000 +1100
@@ -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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2006-03-23 3:41 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <20060323143936.13067.patches@notabene>
2006-03-23 3:41 ` [PATCH] Fix bug: BIO_RW_BARRIER requests to md/raid1 hang NeilBrown
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).