NFS_DIRECT_WRITE

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

 

NAME

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

SYNOPSIS

"SYNOPSIS"

int nfs_direct_write (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 write and commit RPCs.  

FILE_OFFSET

offset in file to begin the operation  

NR_SEGS

size of iovec array

Upon return, generic_file_direct_IO invalidates any cached pages that non-direct readers might access, so they will pick up these writes immediately.


 

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