aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ata/sata_dwc_460ex.c
diff options
context:
space:
mode:
authorDamien Le Moal <damien.lemoal@wdc.com>2018-05-09 09:28:12 +0900
committerTejun Heo <tj@kernel.org>2018-05-10 11:43:20 -0700
commit804689ad2d9b66d0d3920b48cf05881049d44589 (patch)
treed1b6c0151509a56f14a762438d3334412a47c154 /drivers/ata/sata_dwc_460ex.c
parentlibata: Honor RQF_QUIET flag (diff)
downloadlinux-dev-804689ad2d9b66d0d3920b48cf05881049d44589.tar.xz
linux-dev-804689ad2d9b66d0d3920b48cf05881049d44589.zip
libata: Fix command retry decision
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>
Diffstat (limited to 'drivers/ata/sata_dwc_460ex.c')
0 files changed, 0 insertions, 0 deletions