'\" t .\" Title: trace_block_split .\" Author: .\" Generator: DocBook XSL Stylesheets v1.79.1 .\" Date: January 2017 .\" Manual: Block IO .\" Source: Kernel Hackers Manual 4.8.15 .\" Language: English .\" .TH "TRACE_BLOCK_SPLIT" "9" "January 2017" "Kernel Hackers Manual 4\&.8\&." "Block IO" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .\" http://bugs.debian.org/507673 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" ----------------------------------------------------------------- .\" * set default formatting .\" ----------------------------------------------------------------- .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) .ad l .\" ----------------------------------------------------------------- .\" * MAIN CONTENT STARTS HERE * .\" ----------------------------------------------------------------- .SH "NAME" trace_block_split \- split a single bio struct into two bio structs .SH "SYNOPSIS" .HP \w'void\ trace_block_split('u .BI "void trace_block_split(struct\ request_queue\ *\ " "q" ", struct\ bio\ *\ " "bio" ", unsigned\ int\ " "new_sector" ");" .SH "ARGUMENTS" .PP \fIq\fR .RS 4 queue containing the bio .RE .PP \fIbio\fR .RS 4 block operation being split .RE .PP \fInew_sector\fR .RS 4 The starting sector for the new bio .RE .SH "DESCRIPTION" .PP The bio request \fIbio\fR in request queue \fIq\fR needs to be split into two bio requests\&. The newly created \fIbio\fR request starts at \fInew_sector\fR\&. This split may be required due to hardware limitation such as operation crossing device boundaries in a RAID system\&. .SH "AUTHORS" .PP \fBJason Baron\fR <\&jbaron@redhat.com\&> .RS 4 Author. .RE .PP \fBWilliam Cohen\fR <\&wcohen@redhat.com\&> .RS 4 Author. .RE .SH "COPYRIGHT" .br