aboutsummaryrefslogtreecommitdiff
path: root/MAINTAINERS
diff options
context:
space:
mode:
authorTejun Heo <tj@kernel.org>2008-11-04 17:08:40 +0900
committerJeff Garzik <jgarzik@redhat.com>2008-11-11 03:01:21 -0500
commit19b723218bde79c60a394a3caee9eb156ac2d356 (patch)
tree5ea111eb99068ae04ec5bc5ab2089a288362b5c1 /MAINTAINERS
parent44901a96847b9967c057832b185e2f34ee6a14e5 (diff)
libata: fix last_reset timestamp handling
ehc->last_reset is used to ensure that resets are not issued too close to each other. It's initialized to jiffies minus one minute on EH entry. However, when new links are initialized after PMP is probed, new links have zero for this timestamp resulting in long wait depending on the current jiffies. This patch makes last_set considered iff ATA_EHI_DID_RESET is set, in which case last_reset is always initialized. As an added precaution, WARN_ON() is added so that warning is printed if last_reset is in future. This problem is spotted and debugged by Shane Huang. Signed-off-by: Tejun Heo <tj@kernel.org> Cc: Shane Huang <Shane.Huang@amd.com> Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Diffstat (limited to 'MAINTAINERS')
0 files changed, 0 insertions, 0 deletions