diff options
author | Tejun Heo <htejun@gmail.com> | 2007-10-26 16:12:41 +0900 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2007-10-30 09:59:42 -0400 |
commit | f90f0828e57e97cb1ff19520d252882cfc6fb3c0 (patch) | |
tree | 14e67383982020fa1eba40af22d202e5ec04a77b /arch/blackfin/mach-bf533/boards/cm_bf533.c | |
parent | b666da35d900c26cbea1caa465649e2e0afa406c (diff) |
libata: stop being overjealous about non-IO commands
libata EH always revalidated device and retried failed command after
error except for ATAPI CCs. This is unnecessary and hinders with
users issuing direct commands. This patch makes the following
changes.
* Make sata_sil24 not request ATA_EH_REVALIDATE on device errors.
sil24 is the only driver which does this. All others let libata EH
core code decide.
* Don't request revalidation after device error of non-IO command.
Revalidation doesn't really help anybody. As ATA_EH_REVALIDATE
isn't set by default, there's no reason to clear it after sense data
is read. Kill ATA_EH_REVALIDATE clearing code while at it.
* Don't retry non-IO command after device error. Device has rejected
the command. There's no point in retrying.
Signed-off-by: Tejun Heo <htejun@gmail.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'arch/blackfin/mach-bf533/boards/cm_bf533.c')
0 files changed, 0 insertions, 0 deletions