From: Christof Schmitt Date: Tue, 18 Aug 2009 13:43:11 +0000 (+0200) Subject: [SCSI] zfcp: Only issue one test link command per port X-Git-Tag: v2.6.32-rc1~689^2~123 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=14e242ea55a8b807dc1fb7654941caf68a20cd81;p=pandora-kernel.git [SCSI] zfcp: Only issue one test link command per port When the FCP channel returns a series of commands with the error status "test link", zfcp will send a series of ELS ADISC commands. This is technically no problem, but it is enough to only issue one test command per remote port. So, track whether a ELS ADISC command is already pending, and do not send a new one if there is already a pending command. Reviewed-by: Swen Schillig Signed-off-by: Christof Schmitt Signed-off-by: James Bottomley --- Reading git-diff-tree failed