aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorJohn Garry <john.garry@huawei.com>2022-10-17 17:20:35 +0800
committerMartin K. Petersen <martin.petersen@oracle.com>2022-10-18 02:37:45 +0000
commitcc22efbec0110181725b1f5f6778155a2e352522 (patch)
treeb78d77e6d2f995dd5a0471f37140faa46a4caf42 /tools/perf/scripts/python
parentscsi: libsas: Make sas_{alloc, alloc_slow, free}_task() private (diff)
downloadlinux-cc22efbec0110181725b1f5f6778155a2e352522.tar.gz
linux-cc22efbec0110181725b1f5f6778155a2e352522.zip
scsi: libsas: Update SATA dev FIS in sas_ata_task_done()
In sas_ata_task_done(), for commands which complete with error we set the SATA dev FIS status field with ATA_ERR. In ata_eh_analyze_tf() this would be interpreted as a HSM error. Set ATA_DRDY, which will lead libata to judge as a device error, which is a safer bet. Signed-off-by: John Garry <john.garry@huawei.com> Link: https://lore.kernel.org/r/1665998435-199946-9-git-send-email-john.garry@huawei.com Reviewed-by: Niklas Cassel <niklas.cassel@wdc.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions