.TH "submit_bh" 9 "submit_bh" "25 May 1998" "Kernel Hacker's Manual" LINUX .SH NAME submit_bh \- .SH SYNOPSIS .B "void" submit_bh .BI "(int " rw "," .BI "struct buffer_head *" bh ");" .SH ARGUMENTS .IP "rw" 12 whether to READ or WRITE, or maybe to READA (read ahead) .IP "bh" 12 The \fBstruct\fP buffer_head which describes the I/O .SH "DESCRIPTION" \fBsubmit_bh\fP is very similar in purpose to \fBgeneric_make_request\fP, and uses that function to do most of the work. The extra functionality provided by submit_bh is to determine b_rsector from b_blocknr and b_size, and to set b_rdev from b_dev. This is is appropriate for IO requests that come from the buffer cache and page cache which (currently) always use aligned blocks.