Re: [PATCH 1/2] 2.5.46 AIO support for raw/O_DIRECT

Andrew Morton (akpm@digeo.com)
Tue, 05 Nov 2002 17:10:56 -0800


Badari Pulavarty wrote:
>
> Hi,
>
> Here is (part 1/2) 2.5.46 patch to support AIO for raw/O_DIRECT.
>
> This patch adds the infrastructure only. It does not make
> DIO code Async. (part 2/2 does). Here is summary of what this
> patch does:
>
> 1) Adds generic_file_aio_write_nolock() and makes all other
> generic_file_*_write() to use it.
>
> 2) Modifies generic_file_direct_IO() and ->direct_IO() functions
> to take "kiocb *" instead of "file *".
>
> 3) Renames generic_direct_IO() to blockdev_direct_IO().
> (Andrew's suggestion)
>
> 4) Moves generic_file_direct_IO() to mm/filemap.c
> (Andrew's suggestion)
>
> 5) Adds AIO read/write support for raw driver.
>

Looks sane. Did nfs_direct_IO() not need updating?
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/