.\" 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 "SUBMIT" "9" "09 October 2005" "" ""
.SH NAME
submit \- submit BIO request.
.SH SYNOPSIS
"SYNOPSIS"
.sp
\fB
.sp
int submit (int \fIrw\fB, pgoff_t \fIpage_off\fB, void * \fIpage\fB);
\fR
.SH "ARGUMENTS"
.TP
\fB\fIrw\fB\fR
READ or WRITE.
\fIoff\fR physical offset of page.
.TP
\fB\fIpage_off\fB\fR
-- undescribed --
.TP
\fB\fIpage\fB\fR
page we're reading or writing.
.SH "DESCRIPTION"
.PP
Straight from the textbook - allocate and initialize the bio.
If we're writing, make sure the page is marked as dirty.
Then submit it and wait.