direct-io: unify argument passing by adding a dio_args structure
authorJens Axboe <jens.axboe@oracle.com>
Tue, 18 Aug 2009 07:19:31 +0000 (09:19 +0200)
committerJens Axboe <axboe@nehalem.(none)>
Thu, 3 Sep 2009 11:41:32 +0000 (13:41 +0200)
commit3cbcfd97ddcfd9ff36ac92cc461412e9a2b9772e
tree81ac593f780d66baa90c786909a04bc0e6ea4b6c
parent37d0892c5a94e208cf863e3b7bac014edee4346d
direct-io: unify argument passing by adding a dio_args structure

The O_DIRECT IO path is a mess of arguments. Clean that up by passing
those arguments in a dedicated dio_args structure.

This is in preparation for changing the internal implementation to be
page based instead of using iovecs.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
19 files changed:
fs/block_dev.c
fs/btrfs/inode.c
fs/direct-io.c
fs/ext2/inode.c
fs/ext3/inode.c
fs/ext4/inode.c
fs/fat/inode.c
fs/gfs2/aops.c
fs/hfs/inode.c
fs/hfsplus/inode.c
fs/jfs/inode.c
fs/nfs/direct.c
fs/nilfs2/inode.c
fs/ocfs2/aops.c
fs/reiserfs/inode.c
fs/xfs/linux-2.6/xfs_aops.c
include/linux/fs.h
include/linux/nfs_fs.h
mm/filemap.c