|
|
|
|
|
|
|
|
|
|
xen-devel
[Xen-devel] [PATCH 09 of 11] blktap2: only open driver stack once
# HG changeset patch
# User Ryan O'Connor <rjo@xxxxxxxxx>
# Date 1252530408 25200
# Node ID b14bb76b36dd239586b41c47e6f2531cbcbf4b47
# Parent 4ca00ee41ce9731b8725c736b27c841b484dce5d
blktap2: only open driver stack once
Currently blktap2 opens a driver stack, closes it, and re-opens it. This
causes problems with our remus driver: the primary may connect to the
backup in between the first and second open.
This is a temporary fix.
Signed-off-by: Ryan O'Connor <rjo@xxxxxxxxx>
diff --git a/tools/blktap2/drivers/tapdisk-vbd.c
b/tools/blktap2/drivers/tapdisk-vbd.c
--- a/tools/blktap2/drivers/tapdisk-vbd.c
+++ b/tools/blktap2/drivers/tapdisk-vbd.c
@@ -1561,9 +1561,11 @@
gettimeofday(&vreq->last_try, NULL);
tapdisk_vbd_move_request(vreq, &vbd->pending_requests);
+#if 0
err = tapdisk_vbd_check_queue(vbd);
if (err)
goto fail;
+#endif
err = tapdisk_image_check_ring_request(image, req);
if (err)
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
<Prev in Thread] |
Current Thread |
[Next in Thread>
|
- [Xen-devel] [PATCH 00 of 11] Remus 0.9 released!, Brendan Cully
- [Xen-devel] [PATCH 07 of 11] Make checkpoint buffering HVM-aware, Brendan Cully
- [Xen-devel] [PATCH 03 of 11] Initiate failover if a packet is not received every 500ms, Brendan Cully
- [Xen-devel] [PATCH 01 of 11] Add callbacks for suspend, postcopy and preresume in xc_domain_save, Brendan Cully
- [Xen-devel] [PATCH 06 of 11] Do bitmap scan word-by-word before bit-by-bit, Brendan Cully
- [Xen-devel] [PATCH 10 of 11] Fixup for tap:tapdisk syntax in remus uname, Brendan Cully
- [Xen-devel] [PATCH 04 of 11] Buffer checkpoint data locally until domain has resumed execution, Brendan Cully
- [Xen-devel] [PATCH 02 of 11] Make xc_domain_restore loop until the fd is closed, Brendan Cully
- [Xen-devel] [PATCH 09 of 11] blktap2: only open driver stack once,
Brendan Cully <=
- [Xen-devel] [PATCH 08 of 11] blktap2: configurable driver chains, Brendan Cully
- [Xen-devel] [PATCH 05 of 11] Do not bother with to_skip/to_fix bitmaps after the first final round, Brendan Cully
- [Xen-devel] [PATCH 11 of 11] blktap2: add remus driver, Brendan Cully
- Re: [Xen-devel] [PATCH 00 of 11] Remus 0.9 released!, Keir Fraser
|
|
|
|
|