mpt2sas : Support for greater than 2TB capacity WarpDrive
PATCH 1/8 mpt2sas : Support for greater than 2TB capacity WarpDrive
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 <[email protected]>
---
drivers/scsi/mpt2sas/mpt2sas_base.h +2 -0
@@ -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;
drivers/scsi/mpt2sas/mpt2sas_scsih.c +72 -43
168 lines not on this page · raw message