ata_qc_complete(9)

ata_qc_complete9

Complete an active ata command

Usage

void ata_qc_complete(struct ata_queued_cmd * qc);

Arguments

qc

Command to complete

Overview

Indicate to the mid and upper layers that an ATA command has completed, with either an ok or not-ok status.

Refrain from calling this function multiple times when successfully completing multiple NCQ commands. ata_qc_complete_multiple should be used instead, which will properly update IRQ expect state.

LOCKING: spin_lock_irqsave(host lock)

Releases

6 releases since Debian 4.0 (Etch); the text changed 5 times.

  1. 4.0
  2. 5.0
  3. 6.0
  4. 7
  5. 8
  6. 9

Author

Jeff Garzik

Author.

From linux-manual-4.9 4.9.228-1 in Debian 9 (Stretch). Parsed by carta from the page's man source.