---
name: "__ata_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_change_queue_depth"
---

# \_\_ata\_change\_queue\_depth(9)

helper for ata\_scsi\_change\_queue\_depth

## NAME

\_\_ata\_change\_queue\_depth - helper for ata\_scsi\_change\_queue\_depth

## SYNOPSIS

**int \_\_ata\_change\_queue\_depth(struct ata\_port \*** *ap***, struct scsi\_device \*** *sdev***, int** *queue\_depth***);**

## ARGUMENTS

*ap*

ATA port to which the device change the queue depth

*sdev*

SCSI device to configure queue depth for

*queue\_depth*

new queue depth

## DESCRIPTION

libsas and libata have different approaches for associating a sdev to its ata\_port.

## AUTHOR

**Jeff Garzik**

Author.

## COPYRIGHT
