lkml.org 
[lkml]   [2008]   [Jun]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] libata: Handle bay devices in dock stations
Matthew Garrett wrote:
> On Tue, Jun 03, 2008 at 02:07:42PM -0400, Jeff Garzik wrote:
>
>> It would be nice if you and Holger could work together to produce a
>> single patch[set]... right now I have patches from both of you, and I
>> was sorta waiting on the thread to die down to see if competing patches
>> might merge into a single set
>
> I think we were waiting for feedback from Tejun as to why removing the
> port freeze call fixed the hang I was seeing? Beyond that, Holger's
> latest patch looked good to me.

Sorry, was off for the last week.

The difference between freezing and scheduling EH is that the former
immediately aborts all in-flight commands and resets the port while the
latter waits till the in-flight commands finish or time out (EH
scheduling kicks fast-drain and the timeout is reduced to three seconds).

TF-based ATA controllers are very sensitive to how the registers are
accessed and sometimes lock up the whole machine when they are not happy
by indefinitely holding the PCI bus. This could have been the case if
IOs were in flight when the dock event occurred. Were they?

Thanks.

--
tejun


\
 
 \ /
  Last update: 2008-06-09 03:47    [from the cache]
©2003-2014 Jasper Spaans. Advertise on this site