]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC r310635: Decouple limits on number of LUNs per port and LUs per CTL.
authormav <mav@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sat, 21 Jan 2017 08:34:27 +0000 (08:34 +0000)
committermav <mav@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sat, 21 Jan 2017 08:34:27 +0000 (08:34 +0000)
commita56797200f631d7e28da392b8b565768f0e34864
treed27728eaccacb818efcdc617ee8d73cdd77d0893
parentdc6688e5f2c6dfcb2457ad81913c204afe78133f
MFC r310635: Decouple limits on number of LUNs per port and LUs per CTL.

Those two values are not directly related, so make them independent.
This does not change any limits immediately, but makes number of LUNs
per port controllable via tunable/sysctl kern.cam.ctl.lun_map_size.
After this change increasing CTL_MAX_LUNS should be pretty cheap,
and even making it tunable should be easy.

git-svn-id: svn://svn.freebsd.org/base/stable/10@312577 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/cam/ctl/ctl.c
sys/cam/ctl/ctl_frontend.c
sys/cam/ctl/ctl_frontend.h
sys/cam/ctl/ctl_io.h