summaryrefslogtreecommitdiffstats
path: root/REPORTING-BUGS
diff options
context:
space:
mode:
authorLin Ming <ming.m.lin@intel.com>2012-05-03 22:15:07 +0800
committerJeff Garzik <jgarzik@redhat.com>2012-05-03 14:05:58 -0400
commit6868225e3e92399068be9a5f1635752d91012ad5 (patch)
treec912d32e6e59f6db11b7c0d14cd5542432d0edc9 /REPORTING-BUGS
parent69964ea4c7b68c9399f7977aa5b9aa6539a6a98a (diff)
downloadop-kernel-dev-6868225e3e92399068be9a5f1635752d91012ad5.zip
op-kernel-dev-6868225e3e92399068be9a5f1635752d91012ad5.tar.gz
libata: skip old error history when counting probe trials
Commit d902747("[libata] Add ATA transport class") introduced ATA_EFLAG_OLD_ER to mark entries in the error ring as cleared. But ata_count_probe_trials_cb() didn't check this flag and it still counts the old error history. So wrong probe trials count is returned and it causes problem, for example, SATA link speed is slowed down from 3.0Gbps to 1.5Gbps. Fix it by checking ATA_EFLAG_OLD_ER in ata_count_probe_trials_cb(). Cc: stable <stable@vger.kernel.org> # 2.6.37+ Signed-off-by: Lin Ming <ming.m.lin@intel.com> Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Diffstat (limited to 'REPORTING-BUGS')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud