.\" This manpage has been automatically generated by docbook2man
.\" from a DocBook document. This tool can be found at:
.\"
.\" Please send any bug reports, improvements, comments, patches,
.\" etc. to Steve Cheng .
.TH "NFS_DIRECT_READ_ALLOC" "9" "09 October 2005" "" ""
.SH NAME
nfs_direct_read_alloc \- allocate nfs_read_data structures for direct read
.SH SYNOPSIS
"SYNOPSIS"
.sp
\fB
.sp
struct nfs_direct_req * nfs_direct_read_alloc (size_t \fInbytes\fB, unsigned int \fIrsize\fB);
\fR
.SH "ARGUMENTS"
.TP
\fB\fInbytes\fB\fR
-- undescribed --
.TP
\fB\fIrsize\fB\fR
local rsize setting
.SH "DESCRIPTION"
.PP
Note we also set the number of requests we have in the dreq when we are
done. This prevents races with I/O completion so we will always wait
until all requests have been dispatched and completed.