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

Badari Pulavarty (pbadari@us.ibm.com)
Tue, 5 Nov 2002 17:17:25 -0800 (PST)


>
> 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?

Comment in nfs_direct_IO() says it is broken and it fails
to compile. So I did not update it. May be I should ..

- Badari
-
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/