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: Alan Cox <alan@...>
Cc: <linux-kernel@...>, <linux-ide@...>, <jgarzik@...>, <Matt_Domsch@...>, Matthew Wilcox <willy@...>
Date: Wednesday, August 6, 2008 - 11:13 am

On Wed, Aug 06, 2008 at 03:13:02PM +0100, Alan Cox wrote:

It's up to the drive to report the number of sectors it uses.  After
that all regular read/write commands will be doing that size.  Unless
we're in some very bizarre situation, that will be the majority of
accesses to the device.


Fine, returns 1.


Fine, returns 0.


Might want to print a message explaining why performance is going to
suck and return 1.


... but it's not the odd command, it's going to be the vast majority of
them.


Why can't you just disable the (controller) FIFO whenever any drive
reports != 512 byte sectors?

-- 
Intel are signing my paycheques ... these opinions are still mine
"Bill, look, we understand that you're interested in selling us this
operating system, but compare it to ours.  We can't possibly take such
a retrograde step."
--
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..., Matthew Wilcox, (Wed Aug 6, 11:13 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)