From: Martin K. Petersen Date: Fri, 15 May 2009 04:40:34 +0000 (-0400) Subject: libata: Report disk alignment and physical block size X-Git-Tag: linux-omap-v2.6.30-rc6~4^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=61d79a8eb362f826a002d3d14c4f9a070a818542;p=pandora-kernel.git 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 Signed-off-by: Jeff Garzik --- Reading git-diff-tree failed