Skip to content
Commit 6f9c1ea2 authored by Tejun Heo's avatar Tejun Heo Committed by Jeff Garzik
Browse files

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: default avatarTejun Heo <tj@kernel.org>
Reported-by: default avatarVladimir Botka <vbotka@novell.com>
Signed-off-by: default avatarJeff Garzik <jgarzik@redhat.com>
parent 6ad58b24
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment