NFS_DIRECT_READ

Section: ()
Updated: 06 October 2005
Index Return to Main Contents

 

NAME

nfs_direct_read - For each iov segment, map the user's buffer  

SYNOPSIS

"SYNOPSIS"

int nfs_direct_read (struct inode * inode, struct file * file, const struct iovec * iov, loff_t file_offset, unsigned long nr_segs);  

ARGUMENTS

inode
target inode
file
target file (may be NULL)
iov
array of vectors that define I/O buffer
file_offset
-- undescribed --
nr_segs
-- undescribed --
 

DESCRIPTION

then generate read RPCs.  

FILE_OFFSET

offset in file to begin the operation  

NR_SEGS

size of iovec array

generic_file_direct_IO has already pushed out any non-direct writes so that this read will see them when we read from the server.


 

Index

NAME
SYNOPSIS
ARGUMENTS
DESCRIPTION
FILE_OFFSET
NR_SEGS

This document was created by man2html, using the manual pages.
Time: 05:30:48 GMT, October 06, 2005