[Qemu-devel] [PATCH 4/5] sheepdog: simplify inflight_aio_head management

2016-11-29 Thread Paolo Bonzini
Add to the list in add_aio_request and, indirectly, resend_aioreq. Inline free_aio_req in the caller, it does not simply undo alloc_aio_req's job. Signed-off-by: Paolo Bonzini --- block/sheepdog.c | 23 ++- 1 file changed, 6 insertions(+), 17 deletions(-) diff --git a/block

[Qemu-devel] [PATCH 4/5] sheepdog: simplify inflight_aio_head management

2016-11-18 Thread Paolo Bonzini
Add to the list in add_aio_request and, indirectly, resend_aioreq. Inline free_aio_req in the caller, it does not simply undo alloc_aio_req's job. Cc: jc...@redhat.com Cc: qemu-bl...@nongnu.org Cc: Hitoshi Mitake Cc: Liu Yuan Signed-off-by: Paolo Bonzini --- block/sheepdog.c | 23 ++--

[Qemu-devel] [PATCH 4/5] sheepdog: simplify inflight_aio_head management

2016-11-18 Thread Paolo Bonzini
Add to the list in add_aio_request and, indirectly, resend_aioreq. Inline free_aio_req in the caller, it does not simply undo alloc_aio_req's job. Cc: Hitoshi Mitake Cc: Liu Yuan Signed-off-by: Paolo Bonzini --- block/sheepdog.c | 23 ++- 1 file changed, 6 insertions(+), 1