1
0
Files
linux/drivers
Tejun Heo da071b42f7 libata: fix shutdown warning message printing
Unlocking ap->lock and ssleeping don't work because SCSI commands can
be issued from completion path without context.  Reimplement delayed
completion by allowing translation functions to override
qc->scsidone(), storing the original completion function to
scmd->scsi_done() and overriding qc->scsidone() with a function which
schedules delayed invocation of scmd->scsi_done().

This isn't pretty at all but all the ugly parts are thankfully
contained in the stop translation path where the compat feature is
implemented.

Signed-off-by: Tejun Heo <htejun@gmail.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
2007-05-16 01:18:31 -04:00
..
2007-05-13 09:44:05 -07:00
2007-05-15 18:56:37 -07:00
2007-05-16 00:51:46 +02:00
2007-05-11 08:29:37 -07:00
2007-05-15 18:56:37 -07:00
2007-05-13 21:27:37 -07:00
2007-05-11 08:29:35 -07:00