ATA_PIO_QUEUE_TASK(9) libata Library ATA_PIO_QUEUE_TASK(9)
NAME
ata_pio_queue_task - Queue port_task
SYNOPSIS
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
DESCRIPTION
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.
AUTHOR
Jeff Garzik
Author.
COPYRIGHT
Kernel Hackers Manual 2.6. July 2010 ATA_PIO_QUEUE_TASK(9)