Files
kernel_xiaomi_sm8250/include/linux
Tejun Heo f29841e08f [PATCH] libata: implement ata_scsi_timed_out()
Implement ata_scsi_timed_out(), to be used as
scsi_host_template->eh_timed_out callback for all libata drivers.
Without this function, the following race exists.

If a qc completes after SCSI timer expires but before libata EH kicks
in, the qc gets completed but the scsicmd still gets passed to libata
EH resulting in ->eng_timeout invocation with NULL qc, which none is
handling properly.

This patch makes sure that scmd and qc share the same lifetime.
Original idea from Jeff Garzik <jgarzik@pobox.com>.

Signed-off-by: Tejun Heo <htejun@gmail.com>
Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
2006-02-10 06:50:46 -05:00
..
2006-02-02 12:23:12 +00:00
2006-01-18 19:20:24 -08:00
2006-02-03 08:32:00 -08:00
2006-01-18 19:20:29 -08:00
2006-02-01 08:53:13 -08:00
2006-02-08 01:03:52 -05:00
2006-02-07 20:56:35 -05:00
2006-02-07 16:12:33 -08:00
2006-01-18 19:20:29 -08:00
2006-01-18 19:20:29 -08:00
2006-02-07 20:56:35 -05:00
2006-01-18 19:20:17 -08:00
2006-02-03 08:32:09 -08:00
2006-02-01 08:53:13 -08:00