sd: Physical block size and alignment support
authorMartin K. Petersen <martin.petersen@oracle.com>
Sat, 23 May 2009 15:43:37 +0000 (11:43 -0400)
committerJames Bottomley <James.Bottomley@HansenPartnership.com>
Sun, 21 Jun 2009 15:52:37 +0000 (10:52 -0500)
commitea09bcc9c298d3057270abd78a973fc678d55c4c
tree35764eeb8325f03c29b2da115290c06c9f8303ab
parentc277331d5fbaae5772ed19862feefa91f4e477d3
sd: Physical block size and alignment support

Extract physical block size and lowest aligned LBA from READ
CAPACITY(16) response and adjust queue parameters.

Report physical block size and alignment when applicable.

[jejb: fix up trailing whitespace]
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
drivers/scsi/sd.c
drivers/scsi/sd.h