summaryrefslogtreecommitdiffstats
path: root/drivers/ata/libata-core.c
diff options
context:
space:
mode:
authorTejun Heo2009-04-23 02:55:28 +0200
committerJeff Garzik2009-05-11 20:30:59 +0200
commit6f9c1ea2c1cea2de3e5670a7cd98d9f7316b0952 (patch)
treecd0059f189700e0762c55bb4488f15a5d4f61734 /drivers/ata/libata-core.c
parentpata_pdc202xx_old: fix UDMA33 handling (diff)
downloadkernel-qcow2-linux-6f9c1ea2c1cea2de3e5670a7cd98d9f7316b0952.tar.gz
kernel-qcow2-linux-6f9c1ea2c1cea2de3e5670a7cd98d9f7316b0952.tar.xz
kernel-qcow2-linux-6f9c1ea2c1cea2de3e5670a7cd98d9f7316b0952.zip
libata: clear ering on resume
Error timestamps are in jiffies which doesn't run while suspended and PHY events during resume isn't too uncommon. When the two are combined, it can lead to unnecessary speed downs if the machine is suspended and resumed repeatedly. Clear error history on resume. This was reported and verified in bnc#486803 by Vladimir Botka. Signed-off-by: Tejun Heo <tj@kernel.org> Reported-by: Vladimir Botka <vbotka@novell.com> Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Diffstat (limited to 'drivers/ata/libata-core.c')
0 files changed, 0 insertions, 0 deletions