Date: Wed, 3 Dec 2014 16:04:01 +0000 (UTC) From: Alexander Motin <mav@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r275461 - head/sys/cam/ctl Message-ID: <201412031604.sB3G41t6069032@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201412031604.sB3G41t6069032>