__ata_change_queue_depth
Prev | Chapter 6. libata SCSI translation/emulation | Next

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

Prev | Up | Next
ata_scsi_slave_destroy | Home | ata_scsi_change_queue_depth