---
name: "scsi_change_queue_depth"
section: "9"
platform: "linux"
package: "linux-manual-4.9"
version: "4.9.228-1"
release: "Debian 9 (Stretch)"
platforms: ["linux"]
url: "https://new.carta.tech/scsi_change_queue_depth"
---

# scsi\_change\_queue\_depth(9)

change a device's queue depth

## NAME

scsi\_change\_queue\_depth - change a device's queue depth

## SYNOPSIS

**int scsi\_change\_queue\_depth(struct scsi\_device \*** *sdev***, int** *depth***);**

## ARGUMENTS

*sdev*

SCSI Device in question

*depth*

number of commands allowed to be queued to the driver

## DESCRIPTION

Sets the device queue depth and returns the new value.

## AUTHORS

**James Bottomley** \<James.Bottomley@hansenpartnership.com\>

Author.

**Rob Landley** \<rob@landley.net\>

Author.

## COPYRIGHT
