summaryrefslogtreecommitdiff
path: root/drivers/thermal/step_wise.c
diff options
context:
space:
mode:
authorDamien Le Moal <damien.lemoal@wdc.com>2018-05-09 09:28:12 +0900
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-08-06 16:24:36 +0200
commitcdebef38f64805a1802452acadd33e690bd7c503 (patch)
treeab4e275c55f08a8796dc683e9c565ad2129eff8e /drivers/thermal/step_wise.c
parent09b8746fd4fb430c2dfcd257b8649bf6754df979 (diff)
libata: Fix command retry decision
[ Upstream commit 804689ad2d9b66d0d3920b48cf05881049d44589 ] For failed commands with valid sense data (e.g. NCQ commands), scsi_check_sense() is used in ata_analyze_tf() to determine if the command can be retried. In such case, rely on this decision and ignore the command error mask based decision done in ata_worth_retry(). This fixes useless retries of commands such as unaligned writes on zoned disks (TYPE_ZAC). Signed-off-by: Damien Le Moal <damien.lemoal@wdc.com> Reviewed-by: Hannes Reinecke <hare@suse.com> Signed-off-by: Tejun Heo <tj@kernel.org> Signed-off-by: Sasha Levin <alexander.levin@microsoft.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/thermal/step_wise.c')
0 files changed, 0 insertions, 0 deletions