nfs_direct_IO
Section: ()
Updated: 06 October 2005
Index
Return to Main Contents
NAME
nfs_direct_IO - NFS address space operation for direct I/O
SYNOPSIS
"SYNOPSIS"
int nfs_direct_IO (int rw, struct kiocb * iocb, const struct iovec * iov, loff_t file_offset, unsigned long nr_segs);
ARGUMENTS
- rw
-
-- undescribed --
- iocb
-
target I/O control block
- iov
-
array of vectors that define I/O buffer
- file_offset
-
-- undescribed --
- nr_segs
-
-- undescribed --
RW
direction (read or write)
FILE_OFFSET
offset in file to begin the operation
NR_SEGS
size of iovec array
Usually a file system implements direct I/O by calling out to
blockdev_direct_IO. The NFS client doesn't have a backing block
device, so we do everything by hand instead.
The inode's i_sem is no longer held by the VFS layer before it calls
this function to do a write.
Index
- NAME
-
- SYNOPSIS
-
- ARGUMENTS
-
- RW
-
- FILE_OFFSET
-
- NR_SEGS
-
This document was created by
man2html,
using the manual pages.
Time: 05:30:48 GMT, October 06, 2005