From: Christoph Hellwig <hch@lst.de>
To: qemu-devel@nongnu.org
Cc: xen-devel@lists.xensource.com, Christoph Hellwig <hch@lst.de>
Subject: Re: [Qemu-devel] [PATCH 05/10] xen: add block device backend driver.
Date: Tue, 7 Apr 2009 17:51:44 +0200 [thread overview]
Message-ID: <20090407155144.GA10537@lst.de> (raw)
In-Reply-To: <49DB2948.6050701@redhat.com>
On Tue, Apr 07, 2009 at 12:22:00PM +0200, Gerd Hoffmann wrote:
> Hi,
>
> >We already have bdrv_aio_readv/writev which currently linearize the
> >buffer underneath. Hopefully Anthony will have commited the patch to
> >implement the real one while I'm writing this, too :)
>
> Is there any specific reason to keep the nb_sectors argument for
> bdrv_aio_readv, other than cut&paste from the non-vectored versions?
> I think it is superfluous now, it can be trivially calculated using
> iov->size.
For the functions in block.c I want to keep them the same as they were
before, and for the methods I want to keep the signature the same as
the exported wrappers.
All this is going to change pretty soon I hope, we'll need another
argument to bdrv_aio_write for barrier writes, and I might switch to
a completely byte based interface for the aio requests with flags
in the block driver state for flagging the alignment restrictions.
next prev parent reply other threads:[~2009-04-07 15:51 UTC|newest]
Thread overview: 62+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-04-01 21:39 [Qemu-devel] [PATCH 00/10] xen: pv domain support Gerd Hoffmann
2009-04-01 21:39 ` Gerd Hoffmann
2009-04-01 21:39 ` [Qemu-devel] [PATCH 01/10] xen: groundwork for xen support Gerd Hoffmann
2009-04-01 21:39 ` Gerd Hoffmann
2009-04-02 16:37 ` [Qemu-devel] " Blue Swirl
2009-04-02 16:37 ` Blue Swirl
2009-04-03 19:58 ` [Qemu-devel] " Gerd Hoffmann
2009-04-01 21:39 ` [Qemu-devel] [PATCH 02/10] xen: backend driver core Gerd Hoffmann
2009-04-01 21:39 ` Gerd Hoffmann
2009-04-02 16:49 ` [Qemu-devel] " Blue Swirl
2009-04-02 16:49 ` Blue Swirl
2009-04-03 19:59 ` [Qemu-devel] " Gerd Hoffmann
2009-04-01 21:39 ` [Qemu-devel] [PATCH 03/10] xen: add console backend driver Gerd Hoffmann
2009-04-01 21:39 ` Gerd Hoffmann
2009-04-01 21:39 ` [Qemu-devel] [PATCH 04/10] xen: add framebuffer " Gerd Hoffmann
2009-04-01 21:39 ` Gerd Hoffmann
2009-04-02 16:57 ` [Qemu-devel] " Blue Swirl
2009-04-02 16:57 ` Blue Swirl
2009-04-01 21:39 ` [Qemu-devel] [PATCH 05/10] xen: add block device " Gerd Hoffmann
2009-04-01 21:39 ` Gerd Hoffmann
2009-04-02 17:02 ` [Qemu-devel] " Christoph Hellwig
2009-04-03 20:11 ` Gerd Hoffmann
2009-04-05 13:49 ` Anthony Liguori
2009-04-06 12:38 ` Christoph Hellwig
2009-04-07 10:22 ` Gerd Hoffmann
2009-04-07 15:51 ` Christoph Hellwig [this message]
2009-04-01 21:39 ` [Qemu-devel] [PATCH 06/10] xen: add net " Gerd Hoffmann
2009-04-01 21:39 ` Gerd Hoffmann
2009-04-01 21:39 ` [Qemu-devel] [PATCH 07/10] xen: blk & nic configuration via cmd line Gerd Hoffmann
2009-04-01 21:39 ` Gerd Hoffmann
2009-04-01 21:39 ` [Qemu-devel] [PATCH 08/10] xen: pv domain builder Gerd Hoffmann
2009-04-01 21:39 ` Gerd Hoffmann
2009-04-02 17:06 ` [Qemu-devel] " Blue Swirl
2009-04-02 17:06 ` Blue Swirl
2009-04-01 21:39 ` [Qemu-devel] [PATCH 09/10] simplify vga selection Gerd Hoffmann
2009-04-01 21:39 ` Gerd Hoffmann
2009-04-01 21:39 ` [Qemu-devel] [PATCH 10/10] xen: add -vga xenfb option, configure xenfb Gerd Hoffmann
2009-04-01 21:39 ` Gerd Hoffmann
2009-04-01 23:41 ` [Qemu-devel] [PATCH 00/10] xen: pv domain support Anthony Liguori
2009-04-02 15:32 ` Ian Jackson
2009-04-02 21:14 ` Laurent Vivier
2009-04-02 21:14 ` Laurent Vivier
2009-04-03 20:24 ` [Qemu-devel] " Gerd Hoffmann
2009-04-03 23:04 ` Alexander Graf
2009-04-03 23:04 ` Alexander Graf
2009-04-05 8:48 ` [Qemu-devel] " Avi Kivity
2009-04-05 11:17 ` Alexander Graf
2009-04-05 11:17 ` Alexander Graf
2009-04-05 11:37 ` [Qemu-devel] " Avi Kivity
2009-04-05 12:10 ` Alexander Graf
2009-04-05 12:10 ` Alexander Graf
2009-04-05 12:33 ` [Qemu-devel] " Avi Kivity
2009-04-06 7:39 ` Gerd Hoffmann
2009-04-06 13:56 ` [Xen-devel] " Stefano Stabellini
2009-04-06 13:56 ` Stefano Stabellini
2009-04-06 7:10 ` Gerd Hoffmann
2009-04-06 6:53 ` Gerd Hoffmann
2009-04-06 20:44 ` [Xen-devel] " Jeremy Fitzhardinge
2009-04-06 20:44 ` Jeremy Fitzhardinge
-- strict thread matches above, loose matches on Subject: below --
2009-04-07 14:44 Gerd Hoffmann
2009-04-07 14:44 ` [Qemu-devel] [PATCH 05/10] xen: add block device backend driver Gerd Hoffmann
2009-04-21 12:19 [Qemu-devel] [PATCH 00/10] xen: pv domain support Gerd Hoffmann
2009-04-21 12:20 ` [Qemu-devel] [PATCH 05/10] xen: add block device backend driver Gerd Hoffmann
2009-04-21 15:47 ` Blue Swirl
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=20090407155144.GA10537@lst.de \
--to=hch@lst.de \
--cc=qemu-devel@nongnu.org \
--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.