]> www.infradead.org Git - users/jedix/linux-maple.git/commit
bnx2fc: cleanup task management IO when it times out.
authorBhanu Prakash Gollapudi <bprakash@broadcom.com>
Tue, 24 Apr 2012 22:26:03 +0000 (15:26 -0700)
committerJoe Jin <joe.jin@oracle.com>
Wed, 29 Aug 2012 00:22:07 +0000 (08:22 +0800)
commit8b232bb29998a80efaab6232c11e7fc783e89e4a
tree0c13d8b613b6aede982f75102dbb0bcb92756440
parentacbc1847d74859c1cc9cd53705020ec94b217443
bnx2fc: cleanup task management IO when it times out.

When the task management IO times out, or a flush operation is performed while
task management IO is pending, driver is not cleaning up the IO. This patch
cleans up the IO for the above cases.

(cherry picked from commit 92886c9c97fd20dde26a12cd9f43cd3c786bc8ea)
Signed-off-by: Bhanu Prakash Gollapudi <bprakash@broadcom.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Signed-off-by: Joe Jin <joe.jin@oracle.com>
drivers/scsi/bnx2fc/bnx2fc_io.c
drivers/scsi/bnx2fc/bnx2fc_tgt.c