Gwendal Grignou
f13e220161
libata: make ata_eh_qc_retry() bump scmd->allowed on bogus failures
...
libata EH decrements scmd->retries when the command failed for reasons
unrelated to the command itself so that, for example, commands aborted
due to suspend / resume cycle don't get penalized; however,
decrementing scmd->retries isn't enough for ATA passthrough commands.
Without this fix, ATA passthrough commands are not resend to the
drive, and no error is signalled to the caller because:
- allowed retry count is 1
- ata_eh_qc_complete fill the sense data, so result is valid
- sense data is filled with untouched ATA registers.
Signed-off-by: Gwendal Grignou <gwendal@google.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
Cc: stable@vger.kernel.org
2013-10-07 15:18:25 -04:00
..
2013-07-02 19:54:16 -07:00
2013-07-24 12:29:08 -04:00
2013-10-07 15:17:39 -04:00
2013-10-07 15:17:36 -04:00
2013-07-02 19:54:16 -07:00
2012-07-25 15:12:11 -04:00
2013-07-16 05:52:02 -06:00
2013-07-26 08:57:56 -04:00
2013-07-02 19:54:16 -07:00
2013-09-03 18:19:53 -07:00
2013-09-03 10:37:41 -04:00
2013-10-07 15:18:25 -04:00
2013-08-19 09:38:21 -04:00
2013-09-03 18:19:53 -07:00
2013-05-14 11:13:04 -07:00
2013-08-23 12:09:23 -04:00
2010-10-21 20:21:03 -04:00
2013-08-23 12:09:23 -04:00
2013-08-27 14:07:12 -04:00
2013-07-24 12:29:08 -04:00
2013-08-23 12:09:23 -04:00
2013-06-02 22:22:03 -07:00
2013-06-02 22:22:03 -07:00
2013-08-09 10:12:23 -04:00
2013-06-02 22:22:03 -07:00
2013-07-30 08:59:24 -04:00
2013-07-30 08:59:24 -04:00
2012-08-17 13:26:51 -04:00
2013-06-02 22:22:03 -07:00
2013-05-24 10:26:13 +09:00
2013-06-02 22:22:03 -07:00
2013-06-02 22:22:03 -07:00
2013-06-02 22:22:03 -07:00
2013-06-02 22:22:03 -07:00
2012-07-25 15:12:11 -04:00
2012-11-28 12:38:41 -05:00
2012-07-25 15:12:11 -04:00
2012-07-25 15:12:11 -04:00
2013-05-12 15:19:46 +02:00
2012-07-25 15:12:11 -04:00
2013-06-02 22:22:03 -07:00
2012-07-25 15:12:11 -04:00
2013-06-02 22:22:03 -07:00
2013-01-03 15:57:03 -08:00
2013-07-29 12:13:08 -04:00
2013-10-07 15:17:32 -04:00
2013-06-02 22:22:03 -07:00
2012-07-25 15:12:11 -04:00
2013-07-30 08:59:24 -04:00
2012-07-25 15:12:11 -04:00
2013-04-03 19:53:10 -04:00
2013-06-02 22:22:03 -07:00
2012-07-25 15:12:11 -04:00
2013-05-24 10:26:13 +09:00
2012-07-25 15:12:11 -04:00
2012-07-25 15:12:11 -04:00
2013-06-02 22:22:03 -07:00
2012-07-25 15:12:11 -04:00
2013-06-02 22:22:03 -07:00
2013-07-30 08:59:24 -04:00
2013-01-03 15:57:03 -08:00
2012-07-25 15:12:11 -04:00
2012-07-25 15:12:11 -04:00
2012-07-25 15:12:11 -04:00
2013-01-03 15:57:03 -08:00
2013-03-15 12:26:03 -07:00
2012-07-25 15:12:11 -04:00
2013-06-02 22:22:03 -07:00
2012-07-25 15:12:11 -04:00
2013-07-30 08:59:24 -04:00
2013-07-30 08:59:24 -04:00
2012-07-25 15:12:11 -04:00
2013-01-03 15:57:03 -08:00
2013-06-02 22:22:03 -07:00
2013-06-02 22:22:03 -07:00
2013-08-09 10:12:23 -04:00
2012-07-25 15:12:11 -04:00
2012-07-25 15:12:11 -04:00
2013-01-03 15:57:03 -08:00
2013-06-02 22:22:03 -07:00
2013-06-02 22:22:03 -07:00
2013-06-02 22:22:03 -07:00
2013-06-02 22:22:03 -07:00
2013-06-02 22:22:03 -07:00
2013-06-02 22:22:03 -07:00
2013-05-14 11:13:04 -07:00
2012-12-14 09:43:39 -05:00
2013-08-20 08:38:23 -04:00
2013-09-03 18:19:53 -07:00
2013-07-22 17:11:14 -04:00
2013-07-30 09:03:01 -04:00
2013-06-02 22:22:03 -07:00
2013-05-14 11:13:04 -07:00
2012-07-25 15:12:11 -04:00
2013-08-14 09:31:36 -04:00
2013-06-02 22:22:03 -07:00
2013-07-02 19:54:16 -07:00
2012-07-25 15:12:11 -04:00
2013-04-09 14:13:28 -04:00
2013-05-14 11:13:04 -07:00
2012-07-25 15:12:11 -04:00
2013-05-14 11:13:04 -07:00
2013-01-03 15:57:03 -08:00