summaryrefslogtreecommitdiffstats
path: root/sys/cam/ctl
diff options
context:
space:
mode:
authormav <mav@FreeBSD.org>2014-12-18 08:37:09 +0000
committermav <mav@FreeBSD.org>2014-12-18 08:37:09 +0000
commit251a95deec1d0bdb97ae02542b701f42eb54476a (patch)
tree954e293339b1309aa293469118b2f83245b85b4f /sys/cam/ctl
parente99b2957653669b2da2b3e720d04e1433d97acc8 (diff)
downloadFreeBSD-src-251a95deec1d0bdb97ae02542b701f42eb54476a.zip
FreeBSD-src-251a95deec1d0bdb97ae02542b701f42eb54476a.tar.gz
MFC r275461:
Increase CTL ports limit from 128 to 256 and LUNs limit from 256 to 1024. After recent optimizations this change is no longer blocked by CTL memory consumption. Those limits are still not free, but much cheaper now. Relnotes: yes Sponsored by: iXsystems, Inc.
Diffstat (limited to 'sys/cam/ctl')
-rw-r--r--sys/cam/ctl/ctl_ioctl.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/cam/ctl/ctl_ioctl.h b/sys/cam/ctl/ctl_ioctl.h
index 7640313..3093efd 100644
--- a/sys/cam/ctl/ctl_ioctl.h
+++ b/sys/cam/ctl/ctl_ioctl.h
@@ -60,17 +60,17 @@
/*
* Maximum number of LUNs we support at the moment. MUST be a power of 2.
*/
-#define CTL_MAX_LUNS 256
+#define CTL_MAX_LUNS 1024
/*
* Maximum number of initiators per port.
*/
-#define CTL_MAX_INIT_PER_PORT 2048 // Was 16
+#define CTL_MAX_INIT_PER_PORT 2048
/*
* Maximum number of ports registered at one time.
*/
-#define CTL_MAX_PORTS 128
+#define CTL_MAX_PORTS 256
/*
* Maximum number of initiators we support.
OpenPOWER on IntegriCloud