]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC r275447:
authormav <mav@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Thu, 18 Dec 2014 08:30:28 +0000 (08:30 +0000)
committermav <mav@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Thu, 18 Dec 2014 08:30:28 +0000 (08:30 +0000)
commit583d76b93ea73a7916eff1cf4c36c52df465a605
treed503c0e8b19967a61314a18126beccb3626654f7
parentbe630a6511e235639e63219ac016d2ec5fa70125
MFC r275447:
Do not pre-allocate reservation keys memory for every possible initiator.

In configurations with many ports, like iSCSI, each LUN is typically
accessed only by limited subset of ports.  Allocating that memory on
demand allows to reduce CTL memory usage from 5.3MB/LUN to 1.3MB/LUN.

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