'\" t .\" Title: blk_add_trace_bio_remap .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Generator: DocBook XSL Stylesheets v1.79.1 .\" Date: June 2017 .\" Manual: Block Devices .\" Source: Kernel Hackers Manual 4.11.3 .\" Language: English .\" .TH "BLK_ADD_TRACE_BIO_RE" "9" "June 2017" "Kernel Hackers Manual 4\&.11\&" "Block Devices" .\" ----------------------------------------------------------------- .\" * 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" blk_add_trace_bio_remap \- Add a trace for a bio\-remap operation .SH "SYNOPSIS" .HP \w'void\ blk_add_trace_bio_remap('u .BI "void blk_add_trace_bio_remap(void\ *\ " "ignore" ", struct\ request_queue\ *\ " "q" ", struct\ bio\ *\ " "bio" ", dev_t\ " "dev" ", sector_t\ " "from" ");" .SH "ARGUMENTS" .PP \fIvoid * ignore\fR .RS 4 trace callback data parameter (not used) .RE .PP \fIstruct request_queue * q\fR .RS 4 queue the io is for .RE .PP \fIstruct bio * bio\fR .RS 4 the source bio .RE .PP \fIdev_t dev\fR .RS 4 target device .RE .PP \fIsector_t from\fR .RS 4 source sector .RE .SH "DESCRIPTION" .PP Device mapper or raid target sometimes need to split a bio because it spans a stripe (or similar)\&. Add a trace for that action\&. .SH "COPYRIGHT" .br