summaryrefslogtreecommitdiffstats
path: root/include/linux/ata.h
diff options
context:
space:
mode:
authorMartin K. Petersen <martin.petersen@oracle.com>2009-05-15 00:40:34 -0400
committerJeff Garzik <jgarzik@redhat.com>2009-05-15 14:14:22 -0400
commit61d79a8eb362f826a002d3d14c4f9a070a818542 (patch)
treef67dce998de1d28da9a0aea898208d512728ef1e /include/linux/ata.h
parentd358724385d9bb3e360f5b95c17ec4f77c913460 (diff)
downloadlinux-61d79a8eb362f826a002d3d14c4f9a070a818542.tar.gz
linux-61d79a8eb362f826a002d3d14c4f9a070a818542.tar.bz2
linux-61d79a8eb362f826a002d3d14c4f9a070a818542.zip
libata: Report disk alignment and physical block size
For disks with 4KB sectors, report the correct block size and alignment when filling out the READ CAPACITY(16) response. This patch is based upon code from Matthew Wilcox' 4KB ATA tree. I fixed the bug I reported a while back caused by ATA and SCSI using different approaches to describing the alignment. Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com> Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Diffstat (limited to 'include/linux/ata.h')
0 files changed, 0 insertions, 0 deletions