]> www.infradead.org Git - users/jedix/linux-maple.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)
committerJoe Jin <joe.jin@oracle.com>
Thu, 17 May 2012 01:09:07 +0000 (09:09 +0800)
commit1e19ce8f5c9f6b60865f4b26fde80de3e531941b
tree20a8c5bdc5af310f00b6122ca7b4b78bdc243d22
parentf4c98bb20b2d986c38dbb3e4ef3727ec0b7bd65a
[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>
(cherry picked from commit 81214013130cd24142f6465f7f5a256fed530c17)

Signed-off-by: Joe Jin <joe.jin@oracle.com>
drivers/scsi/bnx2fc/bnx2fc_io.c