55263b4ac3
Allow maximum number of targets in initiator to be set in mk.conf with ISCSI_INITIATOR_MAX_TARGETS Changes: Provide function in libiscsi to return the compile-time limit on number of targets. Use this function in the initiator, to ensure that the same limit is used throughout (i.e. stop you attempting to compile the initiator with a different limit to the library - the initiator uses the library for most of its functionality). If truncating the number of targets in the initiator, truncate it to the correct amount, not half of what it should be. Obey RFC3720 when determining targets. SendTargets=All MUST be supported on a discovery session, and MUST NOT be supported on an operational session. Previously, SendTargets=All was used both in the initial discovery session and the later session. (from Daisuke Aoyama - author of istgt).
11 lines
521 B
Text
11 lines
521 B
Text
===========================================================================
|
|
$NetBSD: MESSAGE,v 1.1 2011/10/06 14:19:25 sborrill Exp $
|
|
|
|
The maximum number of targets supported by the initiator is set at
|
|
compile time. The default maximum is 16, but this can be altered by
|
|
setting ISCSI_INITIATOR_MAX_TARGETS in /etc/mk.conf. If altered,
|
|
netbsd-iscsi-lib must be rebuilt.
|
|
|
|
This package was compiled with ISCSI_INITIATOR_MAX_TARGETS=${MAX_TARGETS}
|
|
|
|
===========================================================================
|