---
name: "ata_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/ata_scsi_change_queue_depth"
---

# ata\_scsi\_change\_queue\_depth(9)

SCSI callback for queue depth config

## NAME

ata\_scsi\_change\_queue\_depth - SCSI callback for queue depth config

## SYNOPSIS

**int ata\_scsi\_change\_queue\_depth(struct scsi\_device \*** *sdev***, int** *queue\_depth***);**

## ARGUMENTS

*sdev*

SCSI device to configure queue depth for

*queue\_depth*

new queue depth

## DESCRIPTION

This is libata standard hostt-\>change\_queue\_depth callback. SCSI will call into this callback when user tries to set queue depth via sysfs.

LOCKING: SCSI layer (we don't care)

## RETURN

Newly configured queue depth.

## AUTHOR

**Jeff Garzik**

Author.

## COPYRIGHT
