scsi_debug: Add support for physical block exponent and alignment
authorMartin K. Petersen <martin.petersen@oracle.com>
Fri, 15 May 2009 04:40:33 +0000 (00:40 -0400)
committerJames Bottomley <James.Bottomley@HansenPartnership.com>
Sun, 21 Jun 2009 16:03:54 +0000 (11:03 -0500)
commitea61fca58c1373a48c0741798f70364d4498d2af
treeb2e8420abc140bf6c87a1cbe3ba47e68ed05d447
parent895553824ed9d2c1409d4dc6e0db4d6dfd344679
scsi_debug: Add support for physical block exponent and alignment

This patch adds support for setting the physical block exponent and
lowest aligned LBA in the READ CAPACITY(16) response.

The B0 VPD page is adjusted accordingly.

Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Acked-by: Douglas Gilbert <dgilbert@interlog.com>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
drivers/scsi/scsi_debug.c