svn commit: r275891 - stable/10/sys/cam/ctl

Alexander Motin mav at FreeBSD.org
Thu Dec 18 08:37:11 UTC 2014


Author: mav
Date: Thu Dec 18 08:37:09 2014
New Revision: 275891
URL: https://svnweb.freebsd.org/changeset/base/275891

Log:
  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.

Modified:
  stable/10/sys/cam/ctl/ctl_ioctl.h
Directory Properties:
  stable/10/   (props changed)

Modified: stable/10/sys/cam/ctl/ctl_ioctl.h
==============================================================================
--- stable/10/sys/cam/ctl/ctl_ioctl.h	Thu Dec 18 08:36:19 2014	(r275890)
+++ stable/10/sys/cam/ctl/ctl_ioctl.h	Thu Dec 18 08:37:09 2014	(r275891)
@@ -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-all mailing list