Messages in this thread | | | Date | Mon, 1 Aug 2011 04:12:01 -0400 | From | Christoph Hellwig <> | Subject | Re: [RFC PATCH]vhost-blk: In-kernel accelerator for virtio block device |
| |
On Mon, Aug 01, 2011 at 01:46:33PM +0800, Liu Yuan wrote: > >- I focused on using vfs interfaces in the kernel, so that I can > >use it for file-backed devices. > >Our use-case scenario is mostly file-backed images. > > > vhost-blk's that uses Linux AIO also support file-backed images. > Actually, I have run Guests both on raw partition and raw file > images.
Note tjat it will only perform very well for preallocated images (just like aio=native in qemu) - if you use sparse images it will have to call into the allocator, which blocks for metadata I/O even in aio mode.
| |