'\" t .\" Title: disk_stack_limits .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Generator: DocBook XSL Stylesheets v1.78.1 .\" Date: January 2017 .\" Manual: Block Devices .\" Source: Kernel Hackers Manual 4.8.15 .\" Language: English .\" .TH "DISK_STACK_LIMITS" "9" "January 2017" "Kernel Hackers Manual 4\&.8\&." "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" disk_stack_limits \- adjust queue limits for stacked drivers .SH "SYNOPSIS" .HP \w'void\ disk_stack_limits('u .BI "void disk_stack_limits(struct\ gendisk\ *\ " "disk" ", struct\ block_device\ *\ " "bdev" ", sector_t\ " "offset" ");" .SH "ARGUMENTS" .PP \fIdisk\fR .RS 4 MD/DM gendisk (top) .RE .PP \fIbdev\fR .RS 4 the underlying block device (bottom) .RE .PP \fIoffset\fR .RS 4 offset to beginning of data within component device .RE .SH "DESCRIPTION" .PP Merges the limits for a top level gendisk and a bottom level block_device\&. .SH "COPYRIGHT" .br