From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=35807 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OO8M9-0001IT-3z for qemu-devel@nongnu.org; Mon, 14 Jun 2010 08:01:34 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OO84X-00015M-9m for qemu-devel@nongnu.org; Mon, 14 Jun 2010 07:43:22 -0400 Received: from bombadil.infradead.org ([18.85.46.34]:58539) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OO84X-000157-8N for qemu-devel@nongnu.org; Mon, 14 Jun 2010 07:43:21 -0400 Date: Mon, 14 Jun 2010 07:42:56 -0400 From: Christoph Hellwig Message-ID: <20100614114256.GA31653@infradead.org> References: <1276508671-3062-1-git-send-email-nab@linux-iscsi.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1276508671-3062-1-git-send-email-nab@linux-iscsi.org> Subject: [Qemu-devel] Re: [PATCH 3/5] [block]: Add paio_submit_len() non sector sized AIO List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: "Nicholas A. Bellinger" Cc: Kevin Wolf , kvm-devel , Hannes Reinecke , qemu-devel , FUJITA Tomonori , Paul Brook , Christoph Hellwig , Gerd Hoffmann On Mon, Jun 14, 2010 at 02:44:31AM -0700, Nicholas A. Bellinger wrote: > From: Nicholas Bellinger > > This patch adds posix-aio-compat.c:paio_submit_len(), which is a identical > to paio_submit() expect that in expected nb_len instead of nb_sectors (* 512) > so that it can be used by BSG AIO for write()/read() of struct sg_io_v4. Jusre remove the nb_sectors argument, we already get the length passed in the iovec.