From: Bart Van Assche Date: Fri, 28 Jun 2013 12:51:26 +0000 (+0200) Subject: IB/srp: Maintain a single connection per I_T nexus X-Git-Tag: v3.11-rc1~16^2~1^7~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=96fc248a4c6fe1e5ffac4903b39d2dd5cbe2dc9a;p=pandora-kernel.git IB/srp: Maintain a single connection per I_T nexus An SRP target is required to maintain a single connection between initiator and target. This means that if the 'add_target' attribute is used to create a second connection to a target, the first connection will be logged out and that the SCSI error handler will kick in. The SCSI error handler will cause the SRP initiator to reconnect, which will cause I/O over the second connection to fail. Avoid such ping-pong behavior by disabling relogins. If reconnecting manually is necessary, that is possible by deleting and recreating an rport via sysfs. Signed-off-by: Bart Van Assche Signed-off-by: Sebastian Riemer Acked-by: David Dillow Signed-off-by: Roland Dreier --- Reading git-diff-tree failed