]> git.baikalelectronics.ru Git - kernel.git/commit
[SCSI] bnx2fc: IO errors when receiving unsolicited LOGO
authorBhanu Prakash Gollapudi <bprakash@broadcom.com>
Fri, 5 Aug 2011 00:38:45 +0000 (17:38 -0700)
committerJames Bottomley <JBottomley@Parallels.com>
Sat, 27 Aug 2011 14:35:40 +0000 (08:35 -0600)
commitc6d60d70632827b572f6a5e9801e20458fe6b9bc
tree5e7305ecafdd685527320ae92184684c6db4a8cf
parentc3387033a207504cb096b10890b4f7328bbeb18a
[SCSI] bnx2fc: IO errors when receiving unsolicited LOGO

During the unsolicited LOGO processing, the session is uploaded and offloaded
after the relogin is complete. In between any new IOs are errored back as the
upload completion flag is set. Upon exhausting the retry count, the application
fails the IOs. Return target busy for all the cases when session is not ready.

Signed-off-by: Bhanu Prakash Gollapudi <bprakash@broadcom.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
drivers/scsi/bnx2fc/bnx2fc_io.c