Damien Le Moal
885d2128ab
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>
2018-08-03 07:50:35 +02:00
..
2017-05-16 11:25:59 -04:00
2017-06-22 16:13:00 -04:00
2015-06-10 11:15:17 +09:00
2017-08-16 07:38:27 -07:00
2017-03-24 11:40:03 -04:00
2017-01-15 18:51:12 -05:00
2017-08-28 10:54:42 -07:00
2018-06-21 04:02:49 +09:00
2017-03-06 15:40:59 -05:00
2017-08-04 13:34:14 -07:00
2018-06-21 04:02:49 +09:00
2016-06-15 14:26:41 -04:00
2016-08-10 12:16:49 -04:00
2018-06-21 04:02:49 +09:00
2018-07-17 11:39:25 +02:00
2018-06-21 04:02:49 +09:00
2017-09-18 20:32:02 -07:00
2017-11-02 11:10:55 +01:00
2017-08-04 13:34:14 -07:00
2018-06-21 04:02:49 +09:00
2018-07-17 11:39:25 +02:00
2018-08-03 07:50:35 +02:00
2015-07-14 17:46:38 -04:00
2018-07-17 11:39:24 +02:00
2017-05-16 11:25:59 -04:00
2016-05-09 12:36:46 -04:00
2017-03-06 15:24:48 -05:00
2017-11-02 11:10:55 +01:00
2018-06-26 08:06:32 +08:00
2017-06-05 15:29:21 -04:00
2017-11-02 11:10:55 +01:00
2017-08-11 10:35:07 -07:00
2016-06-28 12:49:40 -04:00
2017-03-27 13:52:00 -04:00
2015-04-08 10:55:05 -04:00
2017-05-30 11:54:36 -04:00
2017-03-30 16:13:04 +05:30
2015-04-08 10:55:05 -04:00
2017-08-11 10:35:07 -07:00
2017-05-30 11:54:36 -04:00
2017-02-21 17:21:32 -08:00
2017-06-21 18:06:18 -04:00
2015-04-08 10:55:05 -04:00
2016-07-12 11:02:05 -04:00
2016-04-15 16:53:14 -04:00
2016-11-09 11:48:58 -05:00
2015-03-18 22:39:17 +01:00
2015-10-15 10:58:53 -04:00
2017-01-10 11:11:17 -05:00
2015-08-24 15:27:11 -05:00
2017-01-10 11:11:17 -05:00
2017-03-06 15:18:01 -05:00
2016-05-27 11:27:23 -04:00
2017-03-06 15:18:01 -05:00
2016-08-30 11:59:47 -04:00
2017-08-28 10:44:24 -07:00
2017-03-06 15:18:01 -05:00
2017-01-10 11:11:17 -05:00
2017-05-16 11:25:59 -04:00
2015-09-10 17:02:04 -04:00
2017-05-30 11:54:37 -04:00
2017-06-12 14:06:34 -04:00
2017-05-30 11:54:37 -04:00
2017-06-12 14:06:34 -04:00
2015-04-08 10:55:05 -04:00
2017-05-16 11:25:59 -04:00
2017-05-30 11:54:37 -04:00
2017-05-30 11:54:37 -04:00
2017-08-11 10:32:09 -07:00
2017-11-02 11:10:55 +01:00
2018-06-21 04:02:49 +09:00
2017-06-12 14:06:34 -04:00
2017-05-24 10:56:32 -04:00
2017-05-16 11:25:59 -04:00
2017-05-16 11:25:59 -04:00
2017-05-16 11:25:59 -04:00
2017-05-16 11:25:59 -04:00
2017-07-15 07:07:28 -04:00
2015-04-08 10:55:05 -04:00
2017-05-16 11:25:59 -04:00
2017-05-16 11:25:59 -04:00
2017-07-18 18:02:36 -04:00
2017-05-16 11:25:59 -04:00
2017-05-16 11:25:59 -04:00
2017-06-26 16:54:53 -04:00
2017-05-16 11:25:59 -04:00
2017-11-02 11:10:55 +01:00