From: Alexei Potashnik Date: Tue, 14 Jul 2015 20:00:47 +0000 (-0400) Subject: qla2xxx: disable scsi_transport_fc registration in target mode X-Git-Tag: omap-for-v4.3/fixes-merge-window~171^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d20ed91bb60ca54c42e3326251287ec51ed225a1;p=pandora-kernel.git qla2xxx: disable scsi_transport_fc registration in target mode There are multiple reasons for disabling this: 1. It provides no functional benefit. We pretty much only get a few more sysfs entries for each port, but all that information is already available from /sys/kernel/debug/target/qla-session-X 2. It already only works in private-loop mode. By disabling we'll be getting more uniform behavior with fabric mode. 3. It creates complications for the new PLOGI handling mechanism: scsi_transport_fc port deletion timer could race with new session from initiator and cause logout after successful login. Cc: # v3.18+ Signed-off-by: Alexei Potashnik Signed-off-by: Himanshu Madhani Signed-off-by: Nicholas Bellinger --- Reading git-diff-tree failed