Gwendal Grignou
1946436e87
libata: make ata_eh_qc_retry() bump scmd->allowed on bogus failures
...
commit f13e220161 upstream.
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 >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2013-11-13 12:05:31 +09:00
..
2013-05-14 11:13:04 -07:00
2013-01-03 15:57:03 -08:00
2013-07-21 18:21:31 -07:00
2013-05-14 11:13:04 -07:00
2012-07-25 15:12:11 -04:00
2013-08-04 16:50:55 +08:00
2013-08-04 16:50:55 +08:00
2013-07-21 18:21:31 -07:00
2013-06-25 00:51:33 +02:00
2013-06-25 00:51:33 +02:00
2013-11-13 12:05:31 +09:00
2013-08-29 09:47:38 -07:00
2013-05-14 11:13:04 -07:00
2013-05-14 11:13:04 -07:00
2013-01-25 15:30:23 -05:00
2010-10-21 20:21:03 -04:00
2013-07-25 14:07:27 -07:00
2013-06-25 00:51:33 +02:00
2013-02-20 17:10:53 -05:00
2012-07-25 15:12:11 -04:00
2011-10-14 13:10:42 -04:00
2012-07-25 15:12:11 -04:00
2013-04-19 22:25:51 +02:00
2012-07-25 15:12:11 -04:00
2013-04-03 19:52:10 -04:00
2013-01-03 15:57:03 -08:00
2012-08-17 13:26:51 -04:00
2012-07-25 15:12:11 -04:00
2013-01-03 15:57:03 -08:00
2012-11-28 12:40:15 -05:00
2012-07-25 15:12:11 -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-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
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-04-11 19:38:00 -04:00
2009-03-24 22:52:39 -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
2012-07-25 15:12:11 -04:00
2013-04-03 19:53:10 -04:00
2013-01-03 15:57:03 -08:00
2012-07-25 15:12:11 -04:00
2013-02-20 11:39:05 +11: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
2012-07-25 15:12:11 -04:00
2012-07-25 15:12:11 -04:00
2013-04-03 19:53:30 -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-04-12 15:24:12 +02:00
2012-07-25 15:12:11 -04:00
2013-01-03 15:57:03 -08:00
2013-01-03 15:57:03 -08:00
2012-07-25 15:12:11 -04:00
2013-01-03 15:57:03 -08:00
2013-01-03 15:57:03 -08:00
2012-07-25 15:12:11 -04:00
2013-03-04 17:12:52 -05: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
2012-07-25 15:12:11 -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
2012-07-25 15:12:11 -04:00
2013-05-14 11:13:04 -07:00
2012-12-14 09:43:39 -05:00
2013-08-29 09:47:38 -07:00
2013-07-25 14:07:28 -07:00
2013-08-04 16:50:55 +08:00
2013-01-03 15:57:03 -08:00
2012-07-25 15:12:11 -04:00
2013-05-14 11:13:04 -07:00
2012-07-25 15:12:11 -04:00
2013-06-02 00:54:45 -07:00
2012-11-28 12:39:20 -05:00
2013-05-14 11:13:04 -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