]> git.neil.brown.name Git - history.git/commit
[PATCH] AIO support for raw/O_DIRECT
authorAndrew Morton <akpm@digeo.com>
Wed, 8 Jan 2003 01:48:27 +0000 (17:48 -0800)
committerTrond Myklebust <trond.myklebust@fys.uio.no>
Wed, 8 Jan 2003 01:48:27 +0000 (17:48 -0800)
commit08e6749ec237476d420316fac8de4449f6b29aa1
tree3ac7e6722f8956e0b7c52f15cb354a79b41b1430
parenta6d61b6b2c6268f8ff493e0978cfbbaf2c74655c
[PATCH] AIO support for raw/O_DIRECT

Patch from Badari Pulavarty <pbadari@us.ibm.com> and myself

This patch adds the infrastructure for performing asynchronous (AIO) blockdev
direct-IO.

- Adds generic_file_aio_write_nolock() and make other
  generic_file_*_write() to use it.

- Modify generic_file_direct_IO() and ->direct_IO() functions to take
  "kiocb *" instead of "file *".

- Renames generic_direct_IO() to blockdev_direct_IO().

- Move generic_file_direct_IO() to mm/filemap.c (it is not
  blockdev-specific, whereas the rest of fs/direct-io.c is).

- Add AIO read/write support to the raw driver.
drivers/char/raw.c
fs/block_dev.c
fs/direct-io.c
fs/ext2/inode.c
fs/ext3/inode.c
fs/jfs/inode.c
fs/nfs/direct.c
fs/xfs/linux/xfs_aops.c
include/linux/fs.h
kernel/ksyms.c
mm/filemap.c