[Qemu-devel] [PATCH 5/5] sheepdog: reorganize check for overlapping requests

2016-11-29 Thread Paolo Bonzini
Wrap the code that was copied repeatedly in the two functions, sd_aio_setup and sd_aio_complete. Signed-off-by: Paolo Bonzini --- block/sheepdog.c | 66 ++-- 1 file changed, 30 insertions(+), 36 deletions(-) diff --git a/block/sheepdog.c b/blo

[Qemu-devel] [PATCH 5/5] sheepdog: reorganize check for overlapping requests

2016-11-18 Thread Paolo Bonzini
Wrap the code that was copied repeatedly in the two functions, sd_aio_setup and sd_aio_complete. Cc: jc...@redhat.com Cc: qemu-bl...@nongnu.org Cc: Hitoshi Mitake Cc: Liu Yuan Signed-off-by: Paolo Bonzini --- block/sheepdog.c | 66 ++-- 1 fil

[Qemu-devel] [PATCH 5/5] sheepdog: reorganize check for overlapping requests

2016-11-18 Thread Paolo Bonzini
Wrap the code that was copied repeatedly in the two functions, sd_aio_setup and sd_aio_complete. Cc: Hitoshi Mitake Cc: Liu Yuan Signed-off-by: Paolo Bonzini --- block/sheepdog.c | 66 ++-- 1 file changed, 30 insertions(+), 36 deletions(-) d