From: Gerd Hoffmann Subject: Re: [Qemu-devel] [PATCH 05/10] xen: add block device backend driver. Date: Tue, 07 Apr 2009 12:22:00 +0200 Message-ID: <49DB2948.6050701@redhat.com> References: <1238621982-18333-1-git-send-email-kraxel@redhat.com> <1238621982-18333-6-git-send-email-kraxel@redhat.com> <20090402170209.GA10089@lst.de> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20090402170209.GA10089@lst.de> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Christoph Hellwig Cc: xen-devel@lists.xensource.com, qemu-devel@nongnu.org List-Id: xen-devel@lists.xenproject.org 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. cheers, Gerd