Re: [Qemu-devel] [PATCH] virtio-blk: use blk_io_plug/unplug for Linux AIO batching

2015-07-21 Thread Fam Zheng
On Mon, 07/20 16:54, Stefan Hajnoczi wrote: > The raw-posix block driver implements Linux AIO batching so multiple > requests can be submitted with a single io_submit(2) system call. > Batching is currently only used by virtio-scsi and > virtio-blk-data-plane. > > Enable batching for regular virti

[Qemu-devel] [PATCH] virtio-blk: use blk_io_plug/unplug for Linux AIO batching

2015-07-20 Thread Stefan Hajnoczi
The raw-posix block driver implements Linux AIO batching so multiple requests can be submitted with a single io_submit(2) system call. Batching is currently only used by virtio-scsi and virtio-blk-data-plane. Enable batching for regular virtio-blk so the number of io_submit(2) system calls is redu