From 5b4bf54f33608f2f870c7ee0e11df8f3aab5c881 Mon Sep 17 00:00:00 2001 From: mav Date: Thu, 18 Dec 2014 08:37:09 +0000 Subject: [PATCH] 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. git-svn-id: svn://svn.freebsd.org/base/stable/10@275891 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f --- sys/cam/ctl/ctl_ioctl.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sys/cam/ctl/ctl_ioctl.h b/sys/cam/ctl/ctl_ioctl.h index 7640313a6..3093efd03 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. -- 2.45.0