* [Qemu-devel] [PULL 0/3] Block patches
@ 2016-11-08 18:12 Stefan Hajnoczi
2016-11-08 18:12 ` [Qemu-devel] [PULL 1/3] block: Don't mark node clean after failed flush Stefan Hajnoczi
` (3 more replies)
0 siblings, 4 replies; 20+ messages in thread
From: Stefan Hajnoczi @ 2016-11-08 18:12 UTC (permalink / raw)
To: qemu-devel; +Cc: Peter Maydell, Stefan Hajnoczi
The following changes since commit 207faf24c58859f5240f66bf6decc33b87a1776e:
Merge remote-tracking branch 'pm215/tags/pull-target-arm-20161107' into staging (2016-11-07 14:02:15 +0000)
are available in the git repository at:
git://github.com/stefanha/qemu.git tags/block-pull-request
for you to fetch changes up to 35dd66e23ce96283723de58e10d2877ae2be4a1b:
aio-posix: simplify aio_epoll_update (2016-11-08 17:09:14 +0000)
----------------------------------------------------------------
----------------------------------------------------------------
Kevin Wolf (1):
block: Don't mark node clean after failed flush
Paolo Bonzini (2):
aio-posix: avoid NULL pointer dereference in aio_epoll_update
aio-posix: simplify aio_epoll_update
aio-posix.c | 53 +++++++++++++++++---------------------
block/io.c | 4 ++-
tests/qemu-iotests/026.out | 22 ++++++++++++++++
tests/qemu-iotests/026.out.nocache | 22 ++++++++++++++++
tests/qemu-iotests/071.out | 2 ++
5 files changed, 73 insertions(+), 30 deletions(-)
--
2.7.4
^ permalink raw reply [flat|nested] 20+ messages in thread* [Qemu-devel] [PULL 1/3] block: Don't mark node clean after failed flush 2016-11-08 18:12 [Qemu-devel] [PULL 0/3] Block patches Stefan Hajnoczi @ 2016-11-08 18:12 ` Stefan Hajnoczi 2016-11-08 18:12 ` [Qemu-devel] [PULL 2/3] aio-posix: avoid NULL pointer dereference in aio_epoll_update Stefan Hajnoczi ` (2 subsequent siblings) 3 siblings, 0 replies; 20+ messages in thread From: Stefan Hajnoczi @ 2016-11-08 18:12 UTC (permalink / raw) To: qemu-devel; +Cc: Peter Maydell, Kevin Wolf, qemu-stable, Stefan Hajnoczi From: Kevin Wolf <kwolf@redhat.com> Commit 3ff2f67a changed bdrv_co_flush() so that no flush is issues if the image hasn't been dirtied since the last flush. This is not quite correct: The condition should be that the image hasn't been dirtied since the last _successful_ flush. This patch changes the logic accordingly. Without this fix, subsequent bdrv_co_flush() calls would return success without actually doing anything even though the image is still dirty. The difference is visible in some blkdebug test cases where error messages incorrectly disappeared after commit 3ff2f67a. Cc: qemu-stable@nongnu.org Signed-off-by: Kevin Wolf <kwolf@redhat.com> Reviewed-by: Denis V. Lunev <den@openvz.org> Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com> Reviewed-by: John Snow <jsnow@redhat.com> Message-id: 1478300595-10090-1-git-send-email-kwolf@redhat.com Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com> --- block/io.c | 4 +++- tests/qemu-iotests/026.out | 22 ++++++++++++++++++++++ tests/qemu-iotests/026.out.nocache | 22 ++++++++++++++++++++++ tests/qemu-iotests/071.out | 2 ++ 4 files changed, 49 insertions(+), 1 deletion(-) diff --git a/block/io.c b/block/io.c index 37749b6..aa532a5 100644 --- a/block/io.c +++ b/block/io.c @@ -2372,7 +2372,9 @@ flush_parent: ret = bs->file ? bdrv_co_flush(bs->file->bs) : 0; out: /* Notify any pending flushes that we have completed */ - bs->flushed_gen = current_gen; + if (ret == 0) { + bs->flushed_gen = current_gen; + } bs->active_flush_req = false; /* Return value is ignored - it's ok if wait queue is empty */ qemu_co_queue_next(&bs->flush_queue); diff --git a/tests/qemu-iotests/026.out b/tests/qemu-iotests/026.out index 8531735..59b8f74 100644 --- a/tests/qemu-iotests/026.out +++ b/tests/qemu-iotests/026.out @@ -14,6 +14,7 @@ No errors were found on the image. Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=1073741824 Event: l1_update; errno: 5; imm: off; once: off; write +Failed to flush the L2 table cache: Input/output error Failed to flush the refcount block cache: Input/output error write failed: Input/output error @@ -22,6 +23,7 @@ This means waste of disk space, but no harm to data. Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=1073741824 Event: l1_update; errno: 5; imm: off; once: off; write -b +Failed to flush the L2 table cache: Input/output error Failed to flush the refcount block cache: Input/output error write failed: Input/output error @@ -40,6 +42,7 @@ No errors were found on the image. Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=1073741824 Event: l1_update; errno: 28; imm: off; once: off; write +Failed to flush the L2 table cache: No space left on device Failed to flush the refcount block cache: No space left on device write failed: No space left on device @@ -48,6 +51,7 @@ This means waste of disk space, but no harm to data. Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=1073741824 Event: l1_update; errno: 28; imm: off; once: off; write -b +Failed to flush the L2 table cache: No space left on device Failed to flush the refcount block cache: No space left on device write failed: No space left on device @@ -286,12 +290,14 @@ No errors were found on the image. Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=1073741824 Event: refblock_load; errno: 5; imm: off; once: off; write +Failed to flush the L2 table cache: Input/output error Failed to flush the refcount block cache: Input/output error write failed: Input/output error No errors were found on the image. Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=1073741824 Event: refblock_load; errno: 5; imm: off; once: off; write -b +Failed to flush the L2 table cache: Input/output error Failed to flush the refcount block cache: Input/output error write failed: Input/output error No errors were found on the image. @@ -308,12 +314,14 @@ No errors were found on the image. Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=1073741824 Event: refblock_load; errno: 28; imm: off; once: off; write +Failed to flush the L2 table cache: No space left on device Failed to flush the refcount block cache: No space left on device write failed: No space left on device No errors were found on the image. Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=1073741824 Event: refblock_load; errno: 28; imm: off; once: off; write -b +Failed to flush the L2 table cache: No space left on device Failed to flush the refcount block cache: No space left on device write failed: No space left on device No errors were found on the image. @@ -330,12 +338,14 @@ No errors were found on the image. Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=1073741824 Event: refblock_update_part; errno: 5; imm: off; once: off; write +Failed to flush the L2 table cache: Input/output error Failed to flush the refcount block cache: Input/output error write failed: Input/output error No errors were found on the image. Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=1073741824 Event: refblock_update_part; errno: 5; imm: off; once: off; write -b +Failed to flush the L2 table cache: Input/output error Failed to flush the refcount block cache: Input/output error write failed: Input/output error No errors were found on the image. @@ -352,12 +362,14 @@ No errors were found on the image. Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=1073741824 Event: refblock_update_part; errno: 28; imm: off; once: off; write +Failed to flush the L2 table cache: No space left on device Failed to flush the refcount block cache: No space left on device write failed: No space left on device No errors were found on the image. Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=1073741824 Event: refblock_update_part; errno: 28; imm: off; once: off; write -b +Failed to flush the L2 table cache: No space left on device Failed to flush the refcount block cache: No space left on device write failed: No space left on device No errors were found on the image. @@ -374,12 +386,14 @@ No errors were found on the image. Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=1073741824 Event: refblock_alloc; errno: 5; imm: off; once: off; write +Failed to flush the L2 table cache: Input/output error Failed to flush the refcount block cache: Input/output error write failed: Input/output error No errors were found on the image. Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=1073741824 Event: refblock_alloc; errno: 5; imm: off; once: off; write -b +Failed to flush the L2 table cache: Input/output error Failed to flush the refcount block cache: Input/output error write failed: Input/output error No errors were found on the image. @@ -396,12 +410,14 @@ No errors were found on the image. Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=1073741824 Event: refblock_alloc; errno: 28; imm: off; once: off; write +Failed to flush the L2 table cache: No space left on device Failed to flush the refcount block cache: No space left on device write failed: No space left on device No errors were found on the image. Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=1073741824 Event: refblock_alloc; errno: 28; imm: off; once: off; write -b +Failed to flush the L2 table cache: No space left on device Failed to flush the refcount block cache: No space left on device write failed: No space left on device No errors were found on the image. @@ -513,6 +529,7 @@ No errors were found on the image. Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=1073741824 Event: refblock_alloc_write_blocks; errno: 28; imm: off; once: off; write +Failed to flush the L2 table cache: No space left on device Failed to flush the refcount block cache: No space left on device write failed: No space left on device @@ -521,6 +538,7 @@ This means waste of disk space, but no harm to data. Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=1073741824 Event: refblock_alloc_write_blocks; errno: 28; imm: off; once: off; write -b +Failed to flush the L2 table cache: No space left on device Failed to flush the refcount block cache: No space left on device write failed: No space left on device @@ -539,6 +557,7 @@ No errors were found on the image. Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=1073741824 Event: refblock_alloc_write_table; errno: 28; imm: off; once: off; write +Failed to flush the L2 table cache: No space left on device Failed to flush the refcount block cache: No space left on device write failed: No space left on device @@ -547,6 +566,7 @@ This means waste of disk space, but no harm to data. Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=1073741824 Event: refblock_alloc_write_table; errno: 28; imm: off; once: off; write -b +Failed to flush the L2 table cache: No space left on device Failed to flush the refcount block cache: No space left on device write failed: No space left on device @@ -611,6 +631,7 @@ No errors were found on the image. Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=1073741824 Event: l1_grow_write_table; errno: 5; imm: off; once: off +Failed to flush the L2 table cache: Input/output error Failed to flush the refcount block cache: Input/output error write failed: Input/output error No errors were found on the image. @@ -622,6 +643,7 @@ No errors were found on the image. Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=1073741824 Event: l1_grow_write_table; errno: 28; imm: off; once: off +Failed to flush the L2 table cache: No space left on device Failed to flush the refcount block cache: No space left on device write failed: No space left on device No errors were found on the image. diff --git a/tests/qemu-iotests/026.out.nocache b/tests/qemu-iotests/026.out.nocache index 672d77c..b4aeebc 100644 --- a/tests/qemu-iotests/026.out.nocache +++ b/tests/qemu-iotests/026.out.nocache @@ -14,6 +14,7 @@ No errors were found on the image. Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=1073741824 Event: l1_update; errno: 5; imm: off; once: off; write +Failed to flush the L2 table cache: Input/output error Failed to flush the refcount block cache: Input/output error write failed: Input/output error @@ -22,6 +23,7 @@ This means waste of disk space, but no harm to data. Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=1073741824 Event: l1_update; errno: 5; imm: off; once: off; write -b +Failed to flush the L2 table cache: Input/output error Failed to flush the refcount block cache: Input/output error write failed: Input/output error @@ -40,6 +42,7 @@ No errors were found on the image. Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=1073741824 Event: l1_update; errno: 28; imm: off; once: off; write +Failed to flush the L2 table cache: No space left on device Failed to flush the refcount block cache: No space left on device write failed: No space left on device @@ -48,6 +51,7 @@ This means waste of disk space, but no harm to data. Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=1073741824 Event: l1_update; errno: 28; imm: off; once: off; write -b +Failed to flush the L2 table cache: No space left on device Failed to flush the refcount block cache: No space left on device write failed: No space left on device @@ -294,12 +298,14 @@ No errors were found on the image. Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=1073741824 Event: refblock_load; errno: 5; imm: off; once: off; write +Failed to flush the L2 table cache: Input/output error Failed to flush the refcount block cache: Input/output error write failed: Input/output error No errors were found on the image. Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=1073741824 Event: refblock_load; errno: 5; imm: off; once: off; write -b +Failed to flush the L2 table cache: Input/output error Failed to flush the refcount block cache: Input/output error write failed: Input/output error No errors were found on the image. @@ -316,12 +322,14 @@ No errors were found on the image. Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=1073741824 Event: refblock_load; errno: 28; imm: off; once: off; write +Failed to flush the L2 table cache: No space left on device Failed to flush the refcount block cache: No space left on device write failed: No space left on device No errors were found on the image. Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=1073741824 Event: refblock_load; errno: 28; imm: off; once: off; write -b +Failed to flush the L2 table cache: No space left on device Failed to flush the refcount block cache: No space left on device write failed: No space left on device No errors were found on the image. @@ -338,12 +346,14 @@ No errors were found on the image. Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=1073741824 Event: refblock_update_part; errno: 5; imm: off; once: off; write +Failed to flush the L2 table cache: Input/output error Failed to flush the refcount block cache: Input/output error write failed: Input/output error No errors were found on the image. Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=1073741824 Event: refblock_update_part; errno: 5; imm: off; once: off; write -b +Failed to flush the L2 table cache: Input/output error Failed to flush the refcount block cache: Input/output error write failed: Input/output error No errors were found on the image. @@ -360,12 +370,14 @@ No errors were found on the image. Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=1073741824 Event: refblock_update_part; errno: 28; imm: off; once: off; write +Failed to flush the L2 table cache: No space left on device Failed to flush the refcount block cache: No space left on device write failed: No space left on device No errors were found on the image. Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=1073741824 Event: refblock_update_part; errno: 28; imm: off; once: off; write -b +Failed to flush the L2 table cache: No space left on device Failed to flush the refcount block cache: No space left on device write failed: No space left on device No errors were found on the image. @@ -382,12 +394,14 @@ No errors were found on the image. Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=1073741824 Event: refblock_alloc; errno: 5; imm: off; once: off; write +Failed to flush the L2 table cache: Input/output error Failed to flush the refcount block cache: Input/output error write failed: Input/output error No errors were found on the image. Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=1073741824 Event: refblock_alloc; errno: 5; imm: off; once: off; write -b +Failed to flush the L2 table cache: Input/output error Failed to flush the refcount block cache: Input/output error write failed: Input/output error No errors were found on the image. @@ -404,12 +418,14 @@ No errors were found on the image. Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=1073741824 Event: refblock_alloc; errno: 28; imm: off; once: off; write +Failed to flush the L2 table cache: No space left on device Failed to flush the refcount block cache: No space left on device write failed: No space left on device No errors were found on the image. Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=1073741824 Event: refblock_alloc; errno: 28; imm: off; once: off; write -b +Failed to flush the L2 table cache: No space left on device Failed to flush the refcount block cache: No space left on device write failed: No space left on device No errors were found on the image. @@ -521,6 +537,7 @@ No errors were found on the image. Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=1073741824 Event: refblock_alloc_write_blocks; errno: 28; imm: off; once: off; write +Failed to flush the L2 table cache: No space left on device Failed to flush the refcount block cache: No space left on device write failed: No space left on device @@ -529,6 +546,7 @@ This means waste of disk space, but no harm to data. Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=1073741824 Event: refblock_alloc_write_blocks; errno: 28; imm: off; once: off; write -b +Failed to flush the L2 table cache: No space left on device Failed to flush the refcount block cache: No space left on device write failed: No space left on device @@ -547,6 +565,7 @@ No errors were found on the image. Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=1073741824 Event: refblock_alloc_write_table; errno: 28; imm: off; once: off; write +Failed to flush the L2 table cache: No space left on device Failed to flush the refcount block cache: No space left on device write failed: No space left on device @@ -555,6 +574,7 @@ This means waste of disk space, but no harm to data. Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=1073741824 Event: refblock_alloc_write_table; errno: 28; imm: off; once: off; write -b +Failed to flush the L2 table cache: No space left on device Failed to flush the refcount block cache: No space left on device write failed: No space left on device @@ -619,6 +639,7 @@ No errors were found on the image. Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=1073741824 Event: l1_grow_write_table; errno: 5; imm: off; once: off +Failed to flush the L2 table cache: Input/output error Failed to flush the refcount block cache: Input/output error write failed: Input/output error No errors were found on the image. @@ -630,6 +651,7 @@ No errors were found on the image. Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=1073741824 Event: l1_grow_write_table; errno: 28; imm: off; once: off +Failed to flush the L2 table cache: No space left on device Failed to flush the refcount block cache: No space left on device write failed: No space left on device No errors were found on the image. diff --git a/tests/qemu-iotests/071.out b/tests/qemu-iotests/071.out index 8c6851e..8ff423f 100644 --- a/tests/qemu-iotests/071.out +++ b/tests/qemu-iotests/071.out @@ -86,5 +86,7 @@ read failed: Input/output error {"return": ""} {"return": {}} {"timestamp": {"seconds": TIMESTAMP, "microseconds": TIMESTAMP}, "event": "SHUTDOWN"} +QEMU_PROG: Failed to flush the L2 table cache: Input/output error +QEMU_PROG: Failed to flush the refcount block cache: Input/output error *** done -- 2.7.4 ^ permalink raw reply related [flat|nested] 20+ messages in thread
* [Qemu-devel] [PULL 2/3] aio-posix: avoid NULL pointer dereference in aio_epoll_update 2016-11-08 18:12 [Qemu-devel] [PULL 0/3] Block patches Stefan Hajnoczi 2016-11-08 18:12 ` [Qemu-devel] [PULL 1/3] block: Don't mark node clean after failed flush Stefan Hajnoczi @ 2016-11-08 18:12 ` Stefan Hajnoczi 2016-11-08 18:12 ` [Qemu-devel] [PULL 3/3] aio-posix: simplify aio_epoll_update Stefan Hajnoczi 2016-11-09 12:44 ` [Qemu-devel] [PULL 0/3] Block patches Stefan Hajnoczi 3 siblings, 0 replies; 20+ messages in thread From: Stefan Hajnoczi @ 2016-11-08 18:12 UTC (permalink / raw) To: qemu-devel; +Cc: Peter Maydell, Paolo Bonzini, Stefan Hajnoczi From: Paolo Bonzini <pbonzini@redhat.com> aio_epoll_update dereferences parameter "node", but it could have been NULL if deleting an fd handler that was not registered in the first place. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Reviewed-by: Fam Zheng <famz@redhat.com> Message-id: 20161108135524.25927-2-pbonzini@redhat.com Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com> --- aio-posix.c | 30 ++++++++++++++++-------------- 1 file changed, 16 insertions(+), 14 deletions(-) diff --git a/aio-posix.c b/aio-posix.c index 4ef34dd..304b016 100644 --- a/aio-posix.c +++ b/aio-posix.c @@ -217,21 +217,23 @@ void aio_set_fd_handler(AioContext *ctx, /* Are we deleting the fd handler? */ if (!io_read && !io_write) { - if (node) { - g_source_remove_poll(&ctx->source, &node->pfd); + if (node == NULL) { + return; + } - /* If the lock is held, just mark the node as deleted */ - if (ctx->walking_handlers) { - node->deleted = 1; - node->pfd.revents = 0; - } else { - /* Otherwise, delete it for real. We can't just mark it as - * deleted because deleted nodes are only cleaned up after - * releasing the walking_handlers lock. - */ - QLIST_REMOVE(node, node); - deleted = true; - } + g_source_remove_poll(&ctx->source, &node->pfd); + + /* If the lock is held, just mark the node as deleted */ + if (ctx->walking_handlers) { + node->deleted = 1; + node->pfd.revents = 0; + } else { + /* Otherwise, delete it for real. We can't just mark it as + * deleted because deleted nodes are only cleaned up after + * releasing the walking_handlers lock. + */ + QLIST_REMOVE(node, node); + deleted = true; } } else { if (node == NULL) { -- 2.7.4 ^ permalink raw reply related [flat|nested] 20+ messages in thread
* [Qemu-devel] [PULL 3/3] aio-posix: simplify aio_epoll_update 2016-11-08 18:12 [Qemu-devel] [PULL 0/3] Block patches Stefan Hajnoczi 2016-11-08 18:12 ` [Qemu-devel] [PULL 1/3] block: Don't mark node clean after failed flush Stefan Hajnoczi 2016-11-08 18:12 ` [Qemu-devel] [PULL 2/3] aio-posix: avoid NULL pointer dereference in aio_epoll_update Stefan Hajnoczi @ 2016-11-08 18:12 ` Stefan Hajnoczi 2016-11-09 12:44 ` [Qemu-devel] [PULL 0/3] Block patches Stefan Hajnoczi 3 siblings, 0 replies; 20+ messages in thread From: Stefan Hajnoczi @ 2016-11-08 18:12 UTC (permalink / raw) To: qemu-devel; +Cc: Peter Maydell, Paolo Bonzini, Stefan Hajnoczi From: Paolo Bonzini <pbonzini@redhat.com> Extract common code out of the "if". Reviewed-by: Fam Zheng <famz@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Message-id: 20161108135524.25927-3-pbonzini@redhat.com Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com> --- aio-posix.c | 23 ++++++++--------------- 1 file changed, 8 insertions(+), 15 deletions(-) diff --git a/aio-posix.c b/aio-posix.c index 304b016..e13b9ab 100644 --- a/aio-posix.c +++ b/aio-posix.c @@ -81,29 +81,22 @@ static void aio_epoll_update(AioContext *ctx, AioHandler *node, bool is_new) { struct epoll_event event; int r; + int ctl; if (!ctx->epoll_enabled) { return; } if (!node->pfd.events) { - r = epoll_ctl(ctx->epollfd, EPOLL_CTL_DEL, node->pfd.fd, &event); - if (r) { - aio_epoll_disable(ctx); - } + ctl = EPOLL_CTL_DEL; } else { event.data.ptr = node; event.events = epoll_events_from_pfd(node->pfd.events); - if (is_new) { - r = epoll_ctl(ctx->epollfd, EPOLL_CTL_ADD, node->pfd.fd, &event); - if (r) { - aio_epoll_disable(ctx); - } - } else { - r = epoll_ctl(ctx->epollfd, EPOLL_CTL_MOD, node->pfd.fd, &event); - if (r) { - aio_epoll_disable(ctx); - } - } + ctl = is_new ? EPOLL_CTL_ADD : EPOLL_CTL_MOD; + } + + r = epoll_ctl(ctx->epollfd, ctl, node->pfd.fd, &event); + if (r) { + aio_epoll_disable(ctx); } } -- 2.7.4 ^ permalink raw reply related [flat|nested] 20+ messages in thread
* Re: [Qemu-devel] [PULL 0/3] Block patches 2016-11-08 18:12 [Qemu-devel] [PULL 0/3] Block patches Stefan Hajnoczi ` (2 preceding siblings ...) 2016-11-08 18:12 ` [Qemu-devel] [PULL 3/3] aio-posix: simplify aio_epoll_update Stefan Hajnoczi @ 2016-11-09 12:44 ` Stefan Hajnoczi 3 siblings, 0 replies; 20+ messages in thread From: Stefan Hajnoczi @ 2016-11-09 12:44 UTC (permalink / raw) To: Stefan Hajnoczi; +Cc: qemu-devel, Peter Maydell [-- Attachment #1: Type: text/plain, Size: 1373 bytes --] On Tue, Nov 08, 2016 at 06:12:39PM +0000, Stefan Hajnoczi wrote: > The following changes since commit 207faf24c58859f5240f66bf6decc33b87a1776e: > > Merge remote-tracking branch 'pm215/tags/pull-target-arm-20161107' into staging (2016-11-07 14:02:15 +0000) > > are available in the git repository at: > > git://github.com/stefanha/qemu.git tags/block-pull-request > > for you to fetch changes up to 35dd66e23ce96283723de58e10d2877ae2be4a1b: > > aio-posix: simplify aio_epoll_update (2016-11-08 17:09:14 +0000) > > ---------------------------------------------------------------- > > ---------------------------------------------------------------- > > Kevin Wolf (1): > block: Don't mark node clean after failed flush > > Paolo Bonzini (2): > aio-posix: avoid NULL pointer dereference in aio_epoll_update > aio-posix: simplify aio_epoll_update > > aio-posix.c | 53 +++++++++++++++++--------------------- > block/io.c | 4 ++- > tests/qemu-iotests/026.out | 22 ++++++++++++++++ > tests/qemu-iotests/026.out.nocache | 22 ++++++++++++++++ > tests/qemu-iotests/071.out | 2 ++ > 5 files changed, 73 insertions(+), 30 deletions(-) > > -- > 2.7.4 > > Thanks, applied to my staging tree: https://github.com/stefanha/qemu/commits/staging Stefan [-- Attachment #2: signature.asc --] [-- Type: application/pgp-signature, Size: 455 bytes --] ^ permalink raw reply [flat|nested] 20+ messages in thread
* [Qemu-devel] [PULL 0/3] Block patches @ 2019-02-12 4:01 Stefan Hajnoczi 2019-02-12 12:26 ` Peter Maydell 0 siblings, 1 reply; 20+ messages in thread From: Stefan Hajnoczi @ 2019-02-12 4:01 UTC (permalink / raw) To: qemu-devel Cc: Kevin Wolf, Marcel Apfelbaum, Max Reitz, Paolo Bonzini, Laurent Vivier, Stefan Hajnoczi, Eduardo Habkost, qemu-block, Thomas Huth, Peter Maydell, Michael S. Tsirkin The following changes since commit 22c5f446514a2a4bb0dbe1fea26713da92fc85fa: Merge remote-tracking branch 'remotes/rth/tags/pull-tcg-20190211' into staging (2019-02-11 17:04:57 +0000) are available in the Git repository at: git://github.com/stefanha/qemu.git tags/block-pull-request for you to fetch changes up to 9a6719d572e99a4e79f589d0b73f7475b86f982d: virtio-blk: cleanup using VirtIOBlock *s and VirtIODevice *vdev (2019-02-12 11:49:17 +0800) ---------------------------------------------------------------- Pull request ---------------------------------------------------------------- Peter Xu (1): iothread: fix iothread hang when stop too soon Stefano Garzarella (1): virtio-blk: cleanup using VirtIOBlock *s and VirtIODevice *vdev Vladimir Sementsov-Ogievskiy (1): qemugdb/coroutine: fix arch_prctl has unknown return type hw/block/virtio-blk.c | 22 +++++++++------------- iothread.c | 6 +++++- scripts/qemugdb/coroutine.py | 2 +- 3 files changed, 15 insertions(+), 15 deletions(-) -- 2.20.1 ^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [Qemu-devel] [PULL 0/3] Block patches 2019-02-12 4:01 Stefan Hajnoczi @ 2019-02-12 12:26 ` Peter Maydell 0 siblings, 0 replies; 20+ messages in thread From: Peter Maydell @ 2019-02-12 12:26 UTC (permalink / raw) To: Stefan Hajnoczi Cc: QEMU Developers, Kevin Wolf, Marcel Apfelbaum, Max Reitz, Paolo Bonzini, Laurent Vivier, Eduardo Habkost, Qemu-block, Thomas Huth, Michael S. Tsirkin On Tue, 12 Feb 2019 at 04:01, Stefan Hajnoczi <stefanha@redhat.com> wrote: > > The following changes since commit 22c5f446514a2a4bb0dbe1fea26713da92fc85fa: > > Merge remote-tracking branch 'remotes/rth/tags/pull-tcg-20190211' into staging (2019-02-11 17:04:57 +0000) > > are available in the Git repository at: > > git://github.com/stefanha/qemu.git tags/block-pull-request > > for you to fetch changes up to 9a6719d572e99a4e79f589d0b73f7475b86f982d: > > virtio-blk: cleanup using VirtIOBlock *s and VirtIODevice *vdev (2019-02-12 11:49:17 +0800) > > ---------------------------------------------------------------- > Pull request > > ---------------------------------------------------------------- Applied, thanks. Please update the changelog at https://wiki.qemu.org/ChangeLog/4.0 for any user-visible changes. -- PMM ^ permalink raw reply [flat|nested] 20+ messages in thread
* [Qemu-devel] [PULL 0/3] Block patches @ 2019-01-24 10:28 Stefan Hajnoczi 2019-01-24 15:38 ` Peter Maydell 0 siblings, 1 reply; 20+ messages in thread From: Stefan Hajnoczi @ 2019-01-24 10:28 UTC (permalink / raw) To: qemu-devel Cc: Stefan Weil, qemu-block, Alberto Garcia, Peter Maydell, Stefan Hajnoczi, Max Reitz, Fam Zheng, Kevin Wolf The following changes since commit f6b06fcceef465de0cf2514c9f76fe0192896781: Merge remote-tracking branch 'remotes/kraxel/tags/ui-20190121-pull-request' into staging (2019-01-23 17:57:47 +0000) are available in the Git repository at: git://github.com/stefanha/qemu.git tags/block-pull-request for you to fetch changes up to 8595685986152334b1ec28c78cb0e5e855d56b54: qemu-coroutine-sleep: drop CoSleepCB (2019-01-24 10:05:16 +0000) ---------------------------------------------------------------- Pull request Changelog: No user-visible changes. ---------------------------------------------------------------- Stefan Hajnoczi (2): throttle-groups: fix restart coroutine iothread race iotests: add 238 for throttling tgm unregister iothread segfault Vladimir Sementsov-Ogievskiy (1): qemu-coroutine-sleep: drop CoSleepCB include/block/throttle-groups.h | 5 ++++ block/throttle-groups.c | 9 +++++++ util/qemu-coroutine-sleep.c | 27 +++++++------------ tests/qemu-iotests/238 | 47 +++++++++++++++++++++++++++++++++ tests/qemu-iotests/238.out | 6 +++++ tests/qemu-iotests/group | 1 + 6 files changed, 78 insertions(+), 17 deletions(-) create mode 100755 tests/qemu-iotests/238 create mode 100644 tests/qemu-iotests/238.out -- 2.20.1 ^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [Qemu-devel] [PULL 0/3] Block patches 2019-01-24 10:28 Stefan Hajnoczi @ 2019-01-24 15:38 ` Peter Maydell 0 siblings, 0 replies; 20+ messages in thread From: Peter Maydell @ 2019-01-24 15:38 UTC (permalink / raw) To: Stefan Hajnoczi Cc: QEMU Developers, Stefan Weil, Qemu-block, Alberto Garcia, Max Reitz, Fam Zheng, Kevin Wolf On Thu, 24 Jan 2019 at 10:29, Stefan Hajnoczi <stefanha@redhat.com> wrote: > > The following changes since commit f6b06fcceef465de0cf2514c9f76fe0192896781: > > Merge remote-tracking branch 'remotes/kraxel/tags/ui-20190121-pull-request' into staging (2019-01-23 17:57:47 +0000) > > are available in the Git repository at: > > git://github.com/stefanha/qemu.git tags/block-pull-request > > for you to fetch changes up to 8595685986152334b1ec28c78cb0e5e855d56b54: > > qemu-coroutine-sleep: drop CoSleepCB (2019-01-24 10:05:16 +0000) > > ---------------------------------------------------------------- > Pull request > > Changelog: No user-visible changes. > > ---------------------------------------------------------------- Applied, thanks. Please update the changelog at https://wiki.qemu.org/ChangeLog/4.0 for any user-visible changes. -- PMM ^ permalink raw reply [flat|nested] 20+ messages in thread
* [Qemu-devel] [PULL 0/3] Block patches @ 2018-07-03 3:46 Jeff Cody 2018-07-03 12:50 ` Peter Maydell 0 siblings, 1 reply; 20+ messages in thread From: Jeff Cody @ 2018-07-03 3:46 UTC (permalink / raw) To: qemu-block Cc: peter.maydell, Fam Zheng, qemu-devel, Jeff Cody, Stefan Hajnoczi The following changes since commit ab08440a4ee09032d1a9cb22fdcab23bc7e1c656: Merge remote-tracking branch 'remotes/rth/tags/pull-tcg-20180702' into staging (2018-07-02 17:57:46 +0100) are available in the Git repository at: git://github.com/codyprime/qemu-kvm-jtc.git tags/block-pull-request for you to fetch changes up to 9ded4a0114968e98b41494fc035ba14f84cdf700: backup: Use copy offloading (2018-07-02 23:23:45 -0400) ---------------------------------------------------------------- Block backup patches ---------------------------------------------------------------- Fam Zheng (3): block: Fix parameter checking in bdrv_co_copy_range_internal block: Honour BDRV_REQ_NO_SERIALISING in copy range backup: Use copy offloading block/backup.c | 150 ++++++++++++++++++++++++++++++------------ block/io.c | 35 +++++----- block/trace-events | 1 + include/block/block.h | 5 +- 4 files changed, 132 insertions(+), 59 deletions(-) -- 2.17.1 ^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [Qemu-devel] [PULL 0/3] Block patches 2018-07-03 3:46 Jeff Cody @ 2018-07-03 12:50 ` Peter Maydell 0 siblings, 0 replies; 20+ messages in thread From: Peter Maydell @ 2018-07-03 12:50 UTC (permalink / raw) To: Jeff Cody; +Cc: Qemu-block, Fam Zheng, QEMU Developers, Stefan Hajnoczi On 3 July 2018 at 04:46, Jeff Cody <jcody@redhat.com> wrote: > The following changes since commit ab08440a4ee09032d1a9cb22fdcab23bc7e1c656: > > Merge remote-tracking branch 'remotes/rth/tags/pull-tcg-20180702' into staging (2018-07-02 17:57:46 +0100) > > are available in the Git repository at: > > git://github.com/codyprime/qemu-kvm-jtc.git tags/block-pull-request > > for you to fetch changes up to 9ded4a0114968e98b41494fc035ba14f84cdf700: > > backup: Use copy offloading (2018-07-02 23:23:45 -0400) > > ---------------------------------------------------------------- > Block backup patches > ---------------------------------------------------------------- > > Fam Zheng (3): > block: Fix parameter checking in bdrv_co_copy_range_internal > block: Honour BDRV_REQ_NO_SERIALISING in copy range > backup: Use copy offloading > > block/backup.c | 150 ++++++++++++++++++++++++++++++------------ > block/io.c | 35 +++++----- > block/trace-events | 1 + > include/block/block.h | 5 +- > 4 files changed, 132 insertions(+), 59 deletions(-) Applied, thanks. -- PMM ^ permalink raw reply [flat|nested] 20+ messages in thread
* [Qemu-devel] [PULL 0/3] Block patches @ 2017-10-13 13:49 Stefan Hajnoczi 2017-10-16 14:54 ` Peter Maydell 0 siblings, 1 reply; 20+ messages in thread From: Stefan Hajnoczi @ 2017-10-13 13:49 UTC (permalink / raw) To: qemu-devel; +Cc: Peter Maydell, Stefan Hajnoczi The following changes since commit f90ea7ba7c5ae7010ee0ce062207ae42530f57d6: Merge remote-tracking branch 'remotes/pmaydell/tags/pull-target-arm-20171012' into staging (2017-10-12 17:06:50 +0100) are available in the git repository at: git://github.com/stefanha/qemu.git tags/block-pull-request for you to fetch changes up to b867eaa17b3940760f51134e409cb0580dd3dde3: block/throttle.c: add bdrv_co_drain_begin/end callbacks (2017-10-13 12:38:41 +0100) ---------------------------------------------------------------- ---------------------------------------------------------------- Manos Pitsidianakis (3): block: add bdrv_co_drain_end callback block: rename bdrv_co_drain to bdrv_co_drain_begin block/throttle.c: add bdrv_co_drain_begin/end callbacks include/block/block_int.h | 13 ++++++++++--- block/io.c | 48 +++++++++++++++++++++++++++++++++-------------- block/qed.c | 6 +++--- block/throttle.c | 18 ++++++++++++++++++ 4 files changed, 65 insertions(+), 20 deletions(-) -- 2.13.6 ^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [Qemu-devel] [PULL 0/3] Block patches 2017-10-13 13:49 Stefan Hajnoczi @ 2017-10-16 14:54 ` Peter Maydell 0 siblings, 0 replies; 20+ messages in thread From: Peter Maydell @ 2017-10-16 14:54 UTC (permalink / raw) To: Stefan Hajnoczi; +Cc: QEMU Developers On 13 October 2017 at 14:49, Stefan Hajnoczi <stefanha@redhat.com> wrote: > The following changes since commit f90ea7ba7c5ae7010ee0ce062207ae42530f57d6: > > Merge remote-tracking branch 'remotes/pmaydell/tags/pull-target-arm-20171012' into staging (2017-10-12 17:06:50 +0100) > > are available in the git repository at: > > git://github.com/stefanha/qemu.git tags/block-pull-request > > for you to fetch changes up to b867eaa17b3940760f51134e409cb0580dd3dde3: > > block/throttle.c: add bdrv_co_drain_begin/end callbacks (2017-10-13 12:38:41 +0100) > > ---------------------------------------------------------------- > > ---------------------------------------------------------------- Applied, thanks. -- PMM ^ permalink raw reply [flat|nested] 20+ messages in thread
* [Qemu-devel] [PULL 0/3] Block patches @ 2017-02-24 17:46 Jeff Cody 2017-02-26 12:26 ` Peter Maydell 0 siblings, 1 reply; 20+ messages in thread From: Jeff Cody @ 2017-02-24 17:46 UTC (permalink / raw) To: qemu-block; +Cc: peter.maydell, jcody, qemu-devel The following changes since commit fe8ee082db5038a05dbd8872e946049e9a9c550e: Merge remote-tracking branch 'remotes/armbru/tags/pull-qapi-2017-02-22' into staging (2017-02-24 15:00:51 +0000) are available in the git repository at: https://github.com/codyprime/qemu-kvm-jtc.git tags/block-pull-request for you to fetch changes up to 1d393bdeae22fde2cb83c1ea719675747c85c40e: RBD: Add support readv,writev for rbd (2017-02-24 12:43:01 -0500) ---------------------------------------------------------------- Block patches for 2.9 ---------------------------------------------------------------- Peter Lieven (2): block/nfs: convert to preadv / pwritev block/nfs: try to avoid the bounce buffer in pwritev tianqing (1): RBD: Add support readv,writev for rbd block/nfs.c | 62 +++++++++++++++++++++++++---------------------- block/rbd.c | 80 ++++++++++++++++++++++++++++++++++++++++++------------------- 2 files changed, 90 insertions(+), 52 deletions(-) -- 2.9.3 ^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [Qemu-devel] [PULL 0/3] Block patches 2017-02-24 17:46 Jeff Cody @ 2017-02-26 12:26 ` Peter Maydell 0 siblings, 0 replies; 20+ messages in thread From: Peter Maydell @ 2017-02-26 12:26 UTC (permalink / raw) To: Jeff Cody; +Cc: Qemu-block, QEMU Developers On 24 February 2017 at 17:46, Jeff Cody <jcody@redhat.com> wrote: > The following changes since commit fe8ee082db5038a05dbd8872e946049e9a9c550e: > > Merge remote-tracking branch 'remotes/armbru/tags/pull-qapi-2017-02-22' into staging (2017-02-24 15:00:51 +0000) > > are available in the git repository at: > > https://github.com/codyprime/qemu-kvm-jtc.git tags/block-pull-request > > for you to fetch changes up to 1d393bdeae22fde2cb83c1ea719675747c85c40e: > > RBD: Add support readv,writev for rbd (2017-02-24 12:43:01 -0500) > > ---------------------------------------------------------------- > Block patches for 2.9 > ---------------------------------------------------------------- Applied, thanks. -- PMM ^ permalink raw reply [flat|nested] 20+ messages in thread
* [Qemu-devel] [PULL 0/3] Block patches @ 2016-04-12 8:30 Stefan Hajnoczi 2016-04-12 9:44 ` Peter Maydell 0 siblings, 1 reply; 20+ messages in thread From: Stefan Hajnoczi @ 2016-04-12 8:30 UTC (permalink / raw) To: qemu-devel; +Cc: Peter Maydell, Stefan Hajnoczi The following changes since commit dc1ffa66619b3661f17a309b0aa8d65d8d29583f: Merge remote-tracking branch 'remotes/pmaydell/tags/pull-target-arm-20160411' into staging (2016-04-11 14:37:53 +0100) are available in the git repository at: git://github.com/stefanha/qemu.git tags/block-pull-request for you to fetch changes up to 9ca3003df3c9882925c023c1411ab3b2041d7db5: MAINTAINERS: Add Fam Zheng as a co-maintainer of block I/O path (2016-04-11 16:59:10 +0100) ---------------------------------------------------------------- ---------------------------------------------------------------- Fam Zheng (3): block: Fix bdrv_drain in coroutine mirror: Replace bdrv_drain(bs) with bdrv_co_drain(bs) MAINTAINERS: Add Fam Zheng as a co-maintainer of block I/O path MAINTAINERS | 1 + block/io.c | 45 +++++++++++++++++++++++++++++++++++++++++++++ block/mirror.c | 2 +- include/block/block.h | 1 + 4 files changed, 48 insertions(+), 1 deletion(-) -- 2.5.5 ^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [Qemu-devel] [PULL 0/3] Block patches 2016-04-12 8:30 Stefan Hajnoczi @ 2016-04-12 9:44 ` Peter Maydell 0 siblings, 0 replies; 20+ messages in thread From: Peter Maydell @ 2016-04-12 9:44 UTC (permalink / raw) To: Stefan Hajnoczi; +Cc: QEMU Developers On 12 April 2016 at 09:30, Stefan Hajnoczi <stefanha@redhat.com> wrote: > The following changes since commit dc1ffa66619b3661f17a309b0aa8d65d8d29583f: > > Merge remote-tracking branch 'remotes/pmaydell/tags/pull-target-arm-20160411' into staging (2016-04-11 14:37:53 +0100) > > are available in the git repository at: > > git://github.com/stefanha/qemu.git tags/block-pull-request > > for you to fetch changes up to 9ca3003df3c9882925c023c1411ab3b2041d7db5: > > MAINTAINERS: Add Fam Zheng as a co-maintainer of block I/O path (2016-04-11 16:59:10 +0100) > > ---------------------------------------------------------------- > > ---------------------------------------------------------------- > > Fam Zheng (3): > block: Fix bdrv_drain in coroutine > mirror: Replace bdrv_drain(bs) with bdrv_co_drain(bs) > MAINTAINERS: Add Fam Zheng as a co-maintainer of block I/O path Applied, thanks. -- PMM ^ permalink raw reply [flat|nested] 20+ messages in thread
* [Qemu-devel] [PULL 0/3] Block patches @ 2016-02-09 15:11 Stefan Hajnoczi 2016-02-09 19:34 ` Peter Maydell 0 siblings, 1 reply; 20+ messages in thread From: Stefan Hajnoczi @ 2016-02-09 15:11 UTC (permalink / raw) To: qemu-devel; +Cc: Peter Maydell, Stefan Hajnoczi The following changes since commit ee8e8f92a730afc17ab8be6e86df6b9a23b8ebc6: Merge remote-tracking branch 'remotes/amit-migration/tags/migration-for-2.6-2' into staging (2016-02-05 14:20:46 +0000) are available in the git repository at: git://github.com/stefanha/qemu.git tags/block-pull-request for you to fetch changes up to 9dcf8ecd9e74804aa1687e5688386001a1f3f89f: block: add missing call to bdrv_drain_recurse (2016-02-09 13:52:26 +0000) ---------------------------------------------------------------- ---------------------------------------------------------------- Fam Zheng (1): blockjob: Fix hang in block_job_finish_sync Paolo Bonzini (2): iov: avoid memcpy for "simple" iov_from_buf/iov_to_buf block: add missing call to bdrv_drain_recurse block/io.c | 1 + blockjob.c | 6 +++++- include/block/blockjob.h | 5 +++++ include/qemu/iov.h | 34 ++++++++++++++++++++++++++++++---- util/iov.c | 8 ++++---- 5 files changed, 45 insertions(+), 9 deletions(-) -- 2.5.0 ^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [Qemu-devel] [PULL 0/3] Block patches 2016-02-09 15:11 Stefan Hajnoczi @ 2016-02-09 19:34 ` Peter Maydell 0 siblings, 0 replies; 20+ messages in thread From: Peter Maydell @ 2016-02-09 19:34 UTC (permalink / raw) To: Stefan Hajnoczi; +Cc: QEMU Developers On 9 February 2016 at 15:11, Stefan Hajnoczi <stefanha@redhat.com> wrote: > The following changes since commit ee8e8f92a730afc17ab8be6e86df6b9a23b8ebc6: > > Merge remote-tracking branch 'remotes/amit-migration/tags/migration-for-2.6-2' into staging (2016-02-05 14:20:46 +0000) > > are available in the git repository at: > > git://github.com/stefanha/qemu.git tags/block-pull-request > > for you to fetch changes up to 9dcf8ecd9e74804aa1687e5688386001a1f3f89f: > > block: add missing call to bdrv_drain_recurse (2016-02-09 13:52:26 +0000) > > ---------------------------------------------------------------- > > ---------------------------------------------------------------- Applied, thanks. -- PMM ^ permalink raw reply [flat|nested] 20+ messages in thread
* [Qemu-devel] [PULL 0/3] Block patches
@ 2013-07-05 11:32 Stefan Hajnoczi
0 siblings, 0 replies; 20+ messages in thread
From: Stefan Hajnoczi @ 2013-07-05 11:32 UTC (permalink / raw)
To: qemu-devel; +Cc: Anthony Liguori, Stefan Hajnoczi
The following changes since commit ab8bf29078e0ab8347e2ff8b4e5542f7a0c751cf:
Merge remote-tracking branch 'qemu-kvm/uq/master' into staging (2013-07-03 08:37:00 -0500)
are available in the git repository at:
git://github.com/stefanha/qemu.git block
for you to fetch changes up to 58fda173e1156d24e5ff62361774715152188a07:
block: fix bdrv_flush() ordering in bdrv_close() (2013-07-05 10:52:23 +0200)
----------------------------------------------------------------
Fam Zheng (2):
vmdk: Implement .bdrv_has_zero_init
curl: refuse to open URL from HTTP server without range support
Stefan Hajnoczi (1):
block: fix bdrv_flush() ordering in bdrv_close()
block.c | 5 +++--
block/curl.c | 24 ++++++++++++++++++------
block/vmdk.c | 48 +++++++++++++++++++++++++++++++++---------------
3 files changed, 54 insertions(+), 23 deletions(-)
--
1.8.1.4
^ permalink raw reply [flat|nested] 20+ messages in threadend of thread, other threads:[~2019-02-12 12:35 UTC | newest] Thread overview: 20+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2016-11-08 18:12 [Qemu-devel] [PULL 0/3] Block patches Stefan Hajnoczi 2016-11-08 18:12 ` [Qemu-devel] [PULL 1/3] block: Don't mark node clean after failed flush Stefan Hajnoczi 2016-11-08 18:12 ` [Qemu-devel] [PULL 2/3] aio-posix: avoid NULL pointer dereference in aio_epoll_update Stefan Hajnoczi 2016-11-08 18:12 ` [Qemu-devel] [PULL 3/3] aio-posix: simplify aio_epoll_update Stefan Hajnoczi 2016-11-09 12:44 ` [Qemu-devel] [PULL 0/3] Block patches Stefan Hajnoczi -- strict thread matches above, loose matches on Subject: below -- 2019-02-12 4:01 Stefan Hajnoczi 2019-02-12 12:26 ` Peter Maydell 2019-01-24 10:28 Stefan Hajnoczi 2019-01-24 15:38 ` Peter Maydell 2018-07-03 3:46 Jeff Cody 2018-07-03 12:50 ` Peter Maydell 2017-10-13 13:49 Stefan Hajnoczi 2017-10-16 14:54 ` Peter Maydell 2017-02-24 17:46 Jeff Cody 2017-02-26 12:26 ` Peter Maydell 2016-04-12 8:30 Stefan Hajnoczi 2016-04-12 9:44 ` Peter Maydell 2016-02-09 15:11 Stefan Hajnoczi 2016-02-09 19:34 ` Peter Maydell 2013-07-05 11:32 Stefan Hajnoczi
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).