ata_pio_queue_task(9)

ata_pio_queue_task9

Queue port_task

Usage

void ata_pio_queue_task(struct ata_port * ap, void * data, unsigned long delay);

Arguments

ap

The ata_port to queue port_task for

data

data for fn to use

delay

delay time in msecs for workqueue function

Overview

Schedule fn(data) for execution after delay jiffies using port_task. There is one port_task per port and it's the user(low level driver)'s responsibility to make sure that only one task is active at any given time.

libata core layer takes care of synchronization between port_task and EH. ata_pio_queue_task may be ignored for EH synchronization.

Locking

Inherited from caller.

Releases

2 releases since Debian 5.0 (Lenny); the text changed 1 time.

  1. 5.0
  2. 6.0

Author

Jeff Garzik

Author.

From linux-manual-2.6.32 2.6.32-48squeeze6 in Debian 6.0 (Squeeze). Parsed by carta from the page's man source.