'\" t .\" Title: scsi_adjust_queue_depth .\" Author: .\" Generator: DocBook XSL Stylesheets v1.78.1 .\" Date: May 2018 .\" Manual: SCSI mid layer .\" Source: Kernel Hackers Manual 3.16.56 .\" Language: English .\" .TH "SCSI_ADJUST_QUEUE_DE" "9" "May 2018" "Kernel Hackers Manual 3\&.16\&" "SCSI mid layer" .\" ----------------------------------------------------------------- .\" * 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" scsi_adjust_queue_depth \- Let low level drivers change a device\*(Aqs queue depth .SH "SYNOPSIS" .HP \w'void\ scsi_adjust_queue_depth('u .BI "void scsi_adjust_queue_depth(struct\ scsi_device\ *\ " "sdev" ", int\ " "tagged" ", int\ " "tags" ");" .SH "ARGUMENTS" .PP \fIsdev\fR .RS 4 SCSI Device in question .RE .PP \fItagged\fR .RS 4 Do we use tagged queueing (non\-0) or do we treat this device as an untagged device (0) .RE .PP \fItags\fR .RS 4 Number of tags allowed if tagged queueing enabled, or number of commands the low level driver can queue up in non\-tagged mode (as per cmd_per_lun)\&. .RE .SH "RETURNS" .PP Nothing .SH "LOCK STATUS" .PP None held on entry .SH "NOTES" .PP Low level drivers may call this at any time and we will do the right thing depending on whether or not the device is currently active and whether or not it even has the command blocks built yet\&. .SH "AUTHORS" .PP \fBJames Bottomley\fR <\&James.Bottomley@hansenpartnership.com\&> .RS 4 Author. .RE .PP \fBRob Landley\fR <\&rob@landley.net\&> .RS 4 Author. .RE .SH "COPYRIGHT" .br