Re: [RFC 1/4] libata: cache device select

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Alan Cox
Date: Tuesday, March 2, 2010 - 10:28 am

> > -	ata_dev_select(ap, qc->dev->devno, 1, 0);

It doesn't. You call it with wait = 1, can_sleep = 0 so it will never do
the 150ms magic delay here anyway (good job or it would kill us for
performance ;))

It does mean we don't do the device idle wait in that situation but there
are no code paths where we try to overlap commands by spinning on the
drive busy bit (again for obvious reasons)

Alan
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[RFC 1/4] libata: cache device select, Alan Cox, (Wed Feb 17, 6:10 am)
Re: [RFC 3/4] libata: Remove excess command issue delays, Sergei Shtylyov, (Wed Feb 17, 7:10 am)
Re: [RFC 1/4] libata: cache device select, Mark Lord, (Wed Feb 17, 10:13 pm)
Re: [RFC 1/4] libata: cache device select, Alan Cox, (Thu Feb 18, 3:16 am)
Re: [RFC 1/4] libata: cache device select, Jeff Garzik, (Mon Mar 1, 1:15 pm)
Re: [RFC 1/4] libata: cache device select, Alan Cox, (Tue Mar 2, 10:28 am)