svn commit: r275461 - head/sys/cam/ctl
Alexander Motin
mav at FreeBSD.org
Wed Dec 3 16:04:02 UTC 2014
Author: mav
Date: Wed Dec 3 16:04:01 2014
New Revision: 275461
URL: https://svnweb.freebsd.org/changeset/base/275461
Log:
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.
MFC after: 1 week
Relnotes: yes
Sponsored by: iXsystems, Inc.
Modified:
head/sys/cam/ctl/ctl_ioctl.h
Modified: head/sys/cam/ctl/ctl_ioctl.h
==============================================================================
--- head/sys/cam/ctl/ctl_ioctl.h Wed Dec 3 15:29:53 2014 (r275460)
+++ head/sys/cam/ctl/ctl_ioctl.h Wed Dec 3 16:04:01 2014 (r275461)
@@ -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.
More information about the svn-src-head
mailing list