4e932574fb
Having single port for all iSCSI connections makes problematic implementing some more advanced SCSI functionality in CTL, that require proper ports enumeration and identification. This change extends CTL iSCSI API, making ctld daemon to control list of iSCSI ports in CTL. When new target is defined in config fine, ctld will create respective port in CTL. When target is removed -- port will be also removed after all active commands through that port properly aborted. This change require ctld to be rebuilt to match the kernel. As a minor side effect, this allows to have iSCSI targets without LUNs. While that may look odd and not very useful, that is not incorrect. |
||
---|---|---|
.. | ||
ctl.conf.5 | ||
ctld.8 | ||
ctld.c | ||
ctld.h | ||
discovery.c | ||
kernel.c | ||
keys.c | ||
log.c | ||
login.c | ||
Makefile | ||
parse.y | ||
pdu.c | ||
token.l |