diff options
| author | John Garry <john.garry@huawei.com> | 2022-10-17 17:20:35 +0800 |
|---|---|---|
| committer | Martin K. Petersen <martin.petersen@oracle.com> | 2022-10-18 02:37:45 +0000 |
| commit | cc22efbec0110181725b1f5f6778155a2e352522 (patch) | |
| tree | b78d77e6d2f995dd5a0471f37140faa46a4caf42 /tools/perf/scripts/python | |
| parent | scsi: libsas: Make sas_{alloc, alloc_slow, free}_task() private (diff) | |
| download | linux-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
