From: Mark McLoughlin <markmc@redhat.com>
To: Ben Guthro <bguthro@virtualiron.com>
Cc: xen-devel@lists.xensource.com
Subject: Re: [PATCH 4/4] Add libvdisk, and vdisk_tool
Date: Tue, 19 Jun 2007 17:10:03 +0100 [thread overview]
Message-ID: <1182269404.22186.5.camel@blaa> (raw)
In-Reply-To: <4677D739.3010800@virtualiron.com>
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.
prev parent reply other threads:[~2007-06-19 16:10 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-06-19 13:16 [PATCH 4/4] Add libvdisk, and vdisk_tool Ben Guthro
2007-06-19 16:10 ` Mark McLoughlin [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1182269404.22186.5.camel@blaa \
--to=markmc@redhat.com \
--cc=bguthro@virtualiron.com \
--cc=xen-devel@lists.xensource.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.