Re: [Qemu-devel] [RFC 1/1] virtio: fix IO request length in virtio SCSI/block

2017-12-12 Thread Paolo Bonzini
On 12/12/2017 16:16, Denis V. Lunev wrote: > The dark side of this patch is that we are tweaking guest visible > parameter, though this should be relatively safe as above transport > layer support is present in QEMU/host Linux for a very long time. > The patch adds configurable property for VirtIO

[Qemu-devel] [RFC 1/1] virtio: fix IO request length in virtio SCSI/block

2017-12-12 Thread Denis V. Lunev
Linux guests submit IO requests no longer than PAGE_SIZE * max_seg field reported by SCSI controler. Thus typical sequential read with 1 MB size results in the following pattern of the IO from the guest: 8,16 115754 2.766095122 2071 D R 2095104 + 1008 [dd] 8,16 115755 2.