fnic: Failing to queue aborts due to Q full cause terminate driver timeout
authorHiral Shah <hishah@cisco.com>
Fri, 18 Apr 2014 19:28:18 +0000 (12:28 -0700)
committerChristoph Hellwig <hch@lst.de>
Mon, 19 May 2014 11:32:55 +0000 (13:32 +0200)
commit668186637e013f41bb3b275fa1a3b993b4da2ccb
treea9b7fd8865c80d67472c06145864d3ee79da32af
parentc8ff03c6da96850e19fcaf359d1ae408308ad9d0
fnic: Failing to queue aborts due to Q full cause terminate driver timeout

In fnic abort handler, abort queuing can be failed when hardware queue is full.
The command state is left as abort queued. The command with abort queued state
will never be queued next time for abort or termiantion.
Fix restores the command state in above case.

Signed-off-by: Hiral Shah <hishah@cisco.com>
Signed-off-by: Sesidhar Baddela <sebaddel@cisco.com>
Signed-off-by: Narsimhulu Musini <nmusini@cisco.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/scsi/fnic/fnic_scsi.c