]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Burry devid port method, which was a gross hack.
authorAlexander Motin <mav@FreeBSD.org>
Sat, 5 Jul 2014 19:30:20 +0000 (19:30 +0000)
committerAlexander Motin <mav@FreeBSD.org>
Sat, 5 Jul 2014 19:30:20 +0000 (19:30 +0000)
commit027e5269c97e96f5de0ad097ad4c3e937b980204
treed9d1bc31625bc0a1bcdb8fb67f74fe2df92960d4
parent6c17b5fab9b77c6d2d6d305680962016f55858d8
Burry devid port method, which was a gross hack.

Instead make ports provide wanted port and target IDs, and LUNs provide
wanted LUN IDs.  After that core Device ID VPD code only had to link all
of them together and add relative port and port group numbers.

LUN ID for iSCSI LUNs no longer created by CTL, but by ctld, and passed
to CTL as "scsiname" LUN option.  This makes LUNs to report the same set
of IDs, independently from the port through which it is accessed, as
required by SCSI specifications.
sys/cam/ctl/ctl.c
sys/cam/ctl/ctl_frontend.c
sys/cam/ctl/ctl_frontend.h
sys/cam/ctl/ctl_frontend_cam_sim.c
sys/cam/ctl/ctl_frontend_iscsi.c
sys/cam/ctl/ctl_private.h
sys/cam/ctl/scsi_ctl.c
usr.sbin/ctladm/ctladm.8
usr.sbin/ctld/kernel.c