1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-24 11:29:10 +00:00
freebsd/usr.sbin/ctld
Alexander Motin 917d38fb99 Create separate CTL port for every iSCSI target (and maybe portal group).
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.
2014-07-05 18:15:00 +00:00
..
ctl.conf.5 use .Mt to mark up email addresses consistently (part2) 2014-06-20 09:57:27 +00:00
ctld.8 use .Mt to mark up email addresses consistently (part2) 2014-06-20 09:57:27 +00:00
ctld.c Create separate CTL port for every iSCSI target (and maybe portal group). 2014-07-05 18:15:00 +00:00
ctld.h Create separate CTL port for every iSCSI target (and maybe portal group). 2014-07-05 18:15:00 +00:00
discovery.c On discovery stage add set of TargetAddress keys to reply, reporting to 2014-06-18 12:26:02 +00:00
kernel.c Create separate CTL port for every iSCSI target (and maybe portal group). 2014-07-05 18:15:00 +00:00
keys.c Empty data segment during Login Phase is rather unlikely, but it's 2014-02-11 10:58:32 +00:00
log.c
login.c Use proper terminology in debug messages. 2014-04-16 11:03:21 +00:00
Makefile
parse.y Fix issues in config parser relating to lun serial numbers. 2014-06-24 19:12:55 +00:00
pdu.c Make it possible for the iSCSI target side to operate in both normal 2014-04-16 10:06:37 +00:00
token.l Fix issues in config parser relating to lun serial numbers. 2014-06-24 19:12:55 +00:00