summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/mpt2sas/mpt2sas_base.h
diff options
context:
space:
mode:
authornagalakshmi.nandigama@lsi.com <nagalakshmi.nandigama@lsi.com>2011-12-01 07:51:55 +0530
committerJames Bottomley <JBottomley@Parallels.com>2011-12-15 10:57:33 +0400
commitba96bd0b1d4a4e11f23671e1f375a5c8f46b0fe7 (patch)
tree7db0fcd7efbc8b3fcf9bdb88e1ffef1fda9fc78e /drivers/scsi/mpt2sas/mpt2sas_base.h
parent7509d6bb955d08c4125bcf44650b2df839470bf8 (diff)
downloadlinux-ba96bd0b1d4a4e11f23671e1f375a5c8f46b0fe7.tar.gz
linux-ba96bd0b1d4a4e11f23671e1f375a5c8f46b0fe7.tar.bz2
linux-ba96bd0b1d4a4e11f23671e1f375a5c8f46b0fe7.zip
[SCSI] mpt2sas: Support for greater than 2TB capacity WarpDrive
The driver is modified to allow access to the greater than 2TB WarpDrive and properly handle direct-io mapping for WarpDrive volumes greater than 2TB. Signed-off-by: Nagalakshmi Nandigama <nagalakshmi.nandigama@lsi.com> Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'drivers/scsi/mpt2sas/mpt2sas_base.h')
-rw-r--r--drivers/scsi/mpt2sas/mpt2sas_base.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/scsi/mpt2sas/mpt2sas_base.h b/drivers/scsi/mpt2sas/mpt2sas_base.h
index b3b03bb8ab50..88ead5ed2afc 100644
--- a/drivers/scsi/mpt2sas/mpt2sas_base.h
+++ b/drivers/scsi/mpt2sas/mpt2sas_base.h
@@ -374,6 +374,7 @@ struct _sas_device {
* @percent_complete: resync percent complete
* @direct_io_enabled: Whether direct io to PDs are allowed or not
* @stripe_exponent: X where 2powX is the stripe sz in blocks
+ * @block_exponent: X where 2powX is the block sz in bytes
* @max_lba: Maximum number of LBA in the volume
* @stripe_sz: Stripe Size of the volume
* @device_info: Device info of the volume member disk
@@ -395,6 +396,7 @@ struct _raid_device {
u8 percent_complete;
u8 direct_io_enabled;
u8 stripe_exponent;
+ u8 block_exponent;
u64 max_lba;
u32 stripe_sz;
u32 device_info;