Jeff Garzik 7fb6ec287a [libata] fix PIO completion race
Make sure we that completion is the final action we take; prior to this
change, another CPU may have changed ap->pio_task_state before we tested
it a final time.

Spotted by, and original patch by Albert Lee @ IBM.

Also includes a minor optimization:  eliminate a ton of unnecessary
queue_work() calls, simply by jumping to the beginning of the FSM
function ata_pio_task().
2005-09-16 06:01:48 -04:00
..
2005-09-10 10:06:35 -07:00
2005-09-13 08:22:31 -07:00
2005-09-11 19:15:07 -07:00
2005-09-08 01:45:47 -04:00
2005-09-14 08:41:14 -04:00
2005-09-16 06:01:48 -04:00
2005-09-11 19:15:07 -07:00
2005-09-11 19:15:07 -07:00