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

From: Andrew Morton (akpm@digeo.com)
Date: Tue Nov 05 2002 - 20:10:56 EST


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/



This archive was generated by hypermail 2b29 : Thu Nov 07 2002 - 22:00:40 EST