From: Christoph Hellwig Subject: Re: [PATCH 3/5] [block]: Add paio_submit_len() non sector sized AIO Date: Mon, 14 Jun 2010 07:42:56 -0400 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 Cc: Gerd Hoffmann , Kevin Wolf , FUJITA Tomonori , Hannes Reinecke , Paul Brook , Christoph Hellwig , kvm-devel , qemu-devel To: "Nicholas A. Bellinger" Return-path: Received: from bombadil.infradead.org ([18.85.46.34]:51976 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751500Ab0FNLnS (ORCPT ); Mon, 14 Jun 2010 07:43:18 -0400 Content-Disposition: inline In-Reply-To: <1276508671-3062-1-git-send-email-nab@linux-iscsi.org> Sender: kvm-owner@vger.kernel.org List-ID: 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.