[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] Re: [PATCH 3/5] [block]: Add paio_submit_len() non sector s
From: |
Christoph Hellwig |
Subject: |
[Qemu-devel] Re: [PATCH 3/5] [block]: Add paio_submit_len() non sector sized AIO |
Date: |
Mon, 14 Jun 2010 07:42:56 -0400 |
User-agent: |
Mutt/1.5.20 (2009-08-17) |
On Mon, Jun 14, 2010 at 02:44:31AM -0700, Nicholas A. Bellinger wrote:
> From: Nicholas Bellinger <address@hidden>
>
> 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.