From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jeff Garzik Subject: Re: Analysis of EH on Andi's dying disk and stuff to discuss about Date: Sat, 29 Mar 2008 17:12:20 -0400 Message-ID: <47EEB0B4.2050808@garzik.org> References: <20080328093055.GA16736@basil.nowhere.org> <47EDECE5.50309@gmail.com> <47EEAC3F.2070004@rtr.ca> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from srv5.dvmed.net ([207.36.208.214]:39722 "EHLO mail.dvmed.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753041AbYC2VM2 (ORCPT ); Sat, 29 Mar 2008 17:12:28 -0400 In-Reply-To: <47EEAC3F.2070004@rtr.ca> Sender: linux-ide-owner@vger.kernel.org List-Id: linux-ide@vger.kernel.org To: Mark Lord Cc: Tejun Heo , Andi Kleen , Alan Cox , IDE/ATA development list , ric@emc.com Mark Lord wrote: > Tejun Heo wrote: > .. > >> So, to handle the common cases better, libata EH times out resets >> quickly. The first two tries are 10 seconds each and most devices >> get reset properly before it hits the end of the second reset try >> even if it needs to spin up. What takes the longest is the third > .. > > I think that 10 seconds timeout is just *slightly* too short. > There are drives here somewhere, that always fail the first attempt > because they take about 12 seconds to spin-up and begin communicating. Also, ATAPI sometimes takes quite a while to respond, I've seen, when media is in the driver. Jeff