qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH 0/3] block: Handle multiple write requests at on


From: Christoph Hellwig
Subject: Re: [Qemu-devel] [PATCH 0/3] block: Handle multiple write requests at once
Date: Tue, 1 Sep 2009 17:52:28 +0200
User-agent: Mutt/1.3.28i

On Tue, Sep 01, 2009 at 03:51:49PM +0200, Kevin Wolf wrote:
> virtio often issues multiple requests in a row, but each one independently. If
> the block drivers knew all of the requests, they could optimize the way they
> handle the requests. See the description of patch 3 for how qcow2 can use this
> to avoid unnecessary writes to the disk.

I think this interface is extremly awkward and the layering is wrong.
Everyone benefits from having one large instead of multiple small
requests, so if we do get multiple sequential write requests we should
always merged it at a high level even before starting to issue AIO,
e.g. do it all in virtio-blk.

Of course using a sane filesystem in the guest would also fix it,
but the point of virtualization is at least partially to keep all
that old crap working nicely.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]