On Thu, 2013-07-18 at 16:47 -0700, Andy Grover wrote: > Hi target-devel, > > Craig wants to use LIO as FC target without needing to input ACLs for > initiators. See: > > https://lists.fedorahosted.org/pipermail/targetcli-fb-devel/2013-July/000016.html > > I'm not a qla expert, but I'm a little suspicious of this: > > tcm_qla2xxx.c: .tpg_check_demo_mode_login_only = tcm_qla2xxx_check_true, > > qla2xxx is the only fabric to have this callback. Is getting things > working as simple as setting that function pointer to > tcm_qla_2xxx_check_false? What's the intended purpose of that callback? > The reason that tpg_check_demo_mode_login_only exists for tcm_qla2xxx is to allow FC initiators to be able to always complete FLOGI + establish a session, regardless of the current TPG generate_node_acls attribute setting. This is a work-around to address bugs in older RHEL6 FC clients that cause the FC LLD to go into a endless loop if FLOGI is not able to complete, and get an INQUIRY response w/ NOT CONNECTED status. --nab -- To unsubscribe from this list: send the line "unsubscribe target-devel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html