---
name: "scsi_adjust_queue_depth"
section: "9"
platform: "linux"
package: "linux-manual-3.16"
version: "3.16.56-1+deb8u1"
release: "Debian 8 (Jessie)"
platforms: ["linux"]
url: "https://new.carta.tech/scsi_adjust_queue_depth"
---

# scsi\_adjust\_queue\_depth(9)

Let low level drivers change a device's queue depth

## NAME

scsi\_adjust\_queue\_depth - Let low level drivers change a device's queue depth

## SYNOPSIS

**void scsi\_adjust\_queue\_depth(struct scsi\_device \*** *sdev***, int** *tagged***, int** *tags***);**

## ARGUMENTS

*sdev*

SCSI Device in question

*tagged*

Do we use tagged queueing (non-0) or do we treat this device as an untagged device (0)

*tags*

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).

## RETURNS

Nothing

## LOCK STATUS

None held on entry

## NOTES

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.

## AUTHORS

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

Author.

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

Author.

## COPYRIGHT
