summaryrefslogtreecommitdiff
path: root/drivers/watchdog
diff options
context:
space:
mode:
authorJohn Garry <john.garry@huawei.com>2022-10-17 12:20:32 +0300
committerMartin K. Petersen <martin.petersen@oracle.com>2022-10-18 05:37:45 +0300
commit0b639decf65160b1afd9993019be37d7869c0340 (patch)
tree6186dc2cbcba6fbaafbc23528cf18b6804a5ccac /drivers/watchdog
parent4ef4f1a6155571d3d53583a4e8e7ccbbec220b8a (diff)
downloadlinux-0b639decf65160b1afd9993019be37d7869c0340.tar.xz
scsi: pm8001: Modify task abort handling for SATA task
When we try to abort a SATA task, the CCB of the task which we are trying to avoid may still complete. In this case, we should not touch the task associated with that CCB as we can race with libsas freeing the last later in sas_eh_handle_sas_errors() -> sas_eh_finish_cmd() for when TASK_IS_ABORTED is returned from sas_scsi_find_task() Signed-off-by: John Garry <john.garry@huawei.com> Link: https://lore.kernel.org/r/1665998435-199946-6-git-send-email-john.garry@huawei.com Tested-by: Damien Le Moal <damien.lemoal@opensource.wdc.com> Tested-by: Niklas Cassel <niklas.cassel@wdc.com> # pm80xx Acked-by: Jack Wang <jinpu.wang@ionos.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/watchdog')
0 files changed, 0 insertions, 0 deletions