[PATCH 4/4] Add libvdisk, and vdisk_tool vdisk-support.patch provides libvdisk, and vdisk_tool, as described in [PATCH 0/4] Signed-off-by: Boris Ostrovsky <bostrovsky@virtualiron.com> Signed-off-by: Ben Guthro <bguthro@virtualiron.com> _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Mark McLoughlin
2007-Jun-19 16:10 UTC
Re: [Xen-devel] [PATCH 4/4] Add libvdisk, and vdisk_tool
Hi Ben, On Tue, 2007-06-19 at 09:16 -0400, Ben Guthro wrote:> diff -r 7cad1f06a7f6 tools/vdisk/vdisk_common.c...> + if (vdisk->use_aio) {...> + vdisk->ioctx = (io_context_t) REQUEST_ASYNC_FD; > + vdisk->aio_fd = io_setup(VDISK_HASH_SZ, &vdisk->ioctx); > + if (vdisk->aio_fd < 0) { > + VIDDBG(0, "io_setup can''t get async poll ID (%s). " > + " Async IO will not be available\n", > + strerror(errno)); > + vdisk->use_aio = 0; > + }Note that the aio and qcow blktap drivers now use the tapaio wrapper to poll on aio events, so it''d be nice if this code did the same. Since the aio code isn''t used by qemu, perhaps it''d be better to move it out of libvdisk and into blktap? Cheers, Mark. _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Possibly Parallel Threads
- [PATCH 0/4] VHD Support addition
- Stubdom and blktap
- [xen-unstable bisection] complete test-amd64-i386-rhel6hvm-amd
- Re: [Qemu-devel] use O_DIRECT to open disk images for IDE failed under xen-4.1.2 and qemu upstream
- [PATCH 3/4] (Refactored) Add error checking in blktapctrl