public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* ATA support for 4k sector size
@ 2009-02-25 22:24 Matthew Wilcox
  2009-02-25 22:24 ` [PATCH 1/2] ata: Define new commands from ATA8 Matthew Wilcox
                   ` (3 more replies)
  0 siblings, 4 replies; 39+ messages in thread
From: Matthew Wilcox @ 2009-02-25 22:24 UTC (permalink / raw)
  To: linux-ide, linux-kernel


The two patches following this add support for drives which have sector
sizes other than 512 bytes.  I haven't been able to test this as I don't
have the hardware.

Individual host drivers will have to be updated to support sizes other
than 512 bytes.

Support for logical sector sizes that differ from physical sector sizes
depends on the READ CAPACITY 16 patch I posted in December that isn't in
scsi-misc yet.

The approach I've taken to generating the tables of which commands need
a 512-byte transfer size and which use the drive's sector size command is
'innovative'.  Review is encouraged ;-)

^ permalink raw reply	[flat|nested] 39+ messages in thread
* Re: ATA support for 4k sector size
@ 2009-03-21 13:47 Andries E. Brouwer
  0 siblings, 0 replies; 39+ messages in thread
From: Andries E. Brouwer @ 2009-03-21 13:47 UTC (permalink / raw)
  To: linux-kernel

Ha, a discussion about partitions and disk geometry.

Greg Freemyer wrote: 
> If the reported geometry of these drives was changed to have sectors /
> track be a multiple of 8, wouldn't that fix most of the issues.

It is almost twenty years ago that disks stopped having a geometry.
The ATA standard tells disks over 8 GB to report their geometry as
16383/16/63. That is, there is no information in what is reported.
It is just a constant to satisfy ancient software.

Andries


^ permalink raw reply	[flat|nested] 39+ messages in thread

end of thread, other threads:[~2009-12-11  7:33 UTC | newest]

Thread overview: 39+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-02-25 22:24 ATA support for 4k sector size Matthew Wilcox
2009-02-25 22:24 ` [PATCH 1/2] ata: Define new commands from ATA8 Matthew Wilcox
2009-02-25 22:24 ` [PATCH 2/2] ata: Add support for Long Logical Sectors and Long Physical Sectors Matthew Wilcox
2009-02-25 22:53 ` ATA support for 4k sector size H. Peter Anvin
2009-02-25 23:27   ` Martin K. Petersen
2009-02-25 23:33     ` H. Peter Anvin
2009-02-25 23:51       ` Martin K. Petersen
2009-02-26 12:43       ` Karel Zak
2009-02-26 15:17         ` H. Peter Anvin
2009-02-25 23:42     ` H. Peter Anvin
2009-02-25 23:55       ` Martin K. Petersen
2009-02-25 23:57         ` H. Peter Anvin
2009-02-26  0:07           ` Martin K. Petersen
2009-02-26  0:10             ` H. Peter Anvin
2009-02-26  0:17               ` Martin K. Petersen
2009-02-25 23:49     ` david
2009-02-26  0:04       ` Martin K. Petersen
2009-02-26  0:13         ` david
2009-02-26  0:20           ` Martin K. Petersen
2009-02-26  2:50     ` Theodore Tso
2009-02-26  3:05       ` Martin K. Petersen
2009-02-26  3:07       ` Matthew Wilcox
2009-02-26  3:23         ` Martin K. Petersen
2009-12-11  7:05           ` James Andrewartha
2009-12-11  7:26             ` H. Peter Anvin
2009-12-11  7:32             ` Martin K. Petersen
2009-02-26  5:16         ` Martin K. Petersen
2009-02-26 12:36           ` Matthew Wilcox
2009-02-26 15:32           ` H. Peter Anvin
2009-02-26 20:35             ` Martin K. Petersen
2009-02-26 21:02               ` H. Peter Anvin
2009-03-16 14:51                 ` Greg Freemyer
2009-03-16 16:27                   ` H. Peter Anvin
2009-03-16 17:37                     ` Greg Freemyer
2009-03-16 18:11                       ` H. Peter Anvin
2009-03-22  1:20                         ` Bill Davidsen
2009-03-18 14:33                   ` James Bottomley
2009-02-26 18:22 ` hdparm-9.12 released Mark Lord
  -- strict thread matches above, loose matches on Subject: below --
2009-03-21 13:47 ATA support for 4k sector size Andries E. Brouwer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox