Re: [PATCH] ata: Add support for Long Logical Sectors and Long Physical Sectors

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Matthew Wilcox <matthew@...>
Cc: <linux-kernel@...>, <linux-ide@...>, <jgarzik@...>, <Matt_Domsch@...>, Matthew Wilcox <willy@...>
Date: Wednesday, August 6, 2008 - 11:06 am

> > 	-	FIFO managed for the odd command thats a funny size

Put a 512 byte and a 2K sector sized disk on the same channel and its
probably nearer 50/50.


Because I'd like to do better than that - and FIFO is only one of the
cases. I think your proposal basically works - providing you identify
both drives before worrying about sector sizes. Most of our other logic
is done that way - the drives are all identified then the controller makes
decisions.

The setup time method then either vetos the disk or accepts it
The existing mode_filter can be used to implement stuff like "PIO only no
DMA" cases
And if we can do it but have problems the qc_issue or device select
methods can be hooked to do the work.

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

Messages in current thread:
LibATA support for long sectors, Matthew Wilcox, (Tue Aug 5, 1:26 pm)
Re: [PATCH] ata: Add support for Long Logical Sectors and Lo..., Alan Cox, (Wed Aug 6, 11:06 am)
[PATCH] ata: Define new commands from ATA8, Matthew Wilcox, (Tue Aug 5, 1:26 pm)
Re: [PATCH] ata: Define new commands from ATA8, Greg Freemyer, (Tue Aug 5, 4:10 pm)