scsi: use 64-bit value for 'max_luns'
Now that we're using 64-bit LUNs internally we need to increase the size of max_luns to 64 bits, too. Signed-off-by: Hannes Reinecke <hare@suse.de> Reviewed-by: Christoph Hellwig <hch@infradead.org> Reviewed-by: Ewan Milne <emilne@redhat.com> Signed-off-by: Christoph Hellwig <hch@lst.de>
This commit is contained in:
committed by
Christoph Hellwig
parent
b4210b810e
commit
1abf635d2f
@ -112,8 +112,8 @@ MODULE_PARM_DESC(missing_delay, " device missing delay , io missing delay");
|
||||
|
||||
/* scsi-mid layer global parmeter is max_report_luns, which is 511 */
|
||||
#define MPT3SAS_MAX_LUN (16895)
|
||||
static int max_lun = MPT3SAS_MAX_LUN;
|
||||
module_param(max_lun, int, 0);
|
||||
static u64 max_lun = MPT3SAS_MAX_LUN;
|
||||
module_param(max_lun, ullong, 0);
|
||||
MODULE_PARM_DESC(max_lun, " max lun, default=16895 ");
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user