brking@xxxxxxxxxx wrote:
Currently ata_exec_internal does very minimal cleanup if the executing command times out. This works for most usage scenarios, but can cause problems for hosts that set ATA_FLAG_PIO_DMA. For these users, the DMA buffer gets unmapped while the timed out out command is still active, which has the potential to cause PCI DMA errors if the command is still in progress. The following patch modifies ata_exec_internal to invoke eng_timeout on a timeout to allow for the timed out command to be cleaned up better before proceeding further. This patch is also in preparation for SAS attached SATA devices. Signed-off-by: Brian King <brking@xxxxxxxxxx>
Really this sort of thing is definitely changing an area that Tejun is also changing pretty heavily...
Jeff - : send the line "unsubscribe linux-scsi" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html