'\" t .\" Title: ata_scsi_change_queue_depth .\" Author: .\" Generator: DocBook XSL Stylesheets v1.78.1 .\" Date: January 2017 .\" Manual: libata SCSI translation/emulation .\" Source: Kernel Hackers Manual 4.8.15 .\" Language: English .\" .TH "ATA_SCSI_CHANGE_QUEU" "9" "January 2017" "Kernel Hackers Manual 4\&.8\&." "libata SCSI translation/emulat" .\" ----------------------------------------------------------------- .\" * 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" ata_scsi_change_queue_depth \- SCSI callback for queue depth config .SH "SYNOPSIS" .HP \w'int\ ata_scsi_change_queue_depth('u .BI "int ata_scsi_change_queue_depth(struct\ scsi_device\ *\ " "sdev" ", int\ " "queue_depth" ");" .SH "ARGUMENTS" .PP \fIsdev\fR .RS 4 SCSI device to configure queue depth for .RE .PP \fIqueue_depth\fR .RS 4 new queue depth .RE .SH "DESCRIPTION" .PP This is libata standard hostt\->change_queue_depth callback\&. SCSI will call into this callback when user tries to set queue depth via sysfs\&. .PP LOCKING: SCSI layer (we don\*(Aqt care) .SH "RETURN" .PP Newly configured queue depth\&. .SH "AUTHOR" .PP \fBJeff Garzik\fR .RS 4 Author. .RE .SH "COPYRIGHT" .br