lkml.org 
[lkml]   [2002]   [Nov]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH 1/2] 2.5.46 AIO support for raw/O_DIRECT
Date
> 
> 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/

\
 
 \ /
  Last update: 2005-03-22 13:30    [W:0.071 / U:0.544 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site