]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita9a96c3cf7eb2c4bc28a00eb8f2c9bb0faf5b27b
treea9b7fd8865c80d67472c06145864d3ee79da32af
parentb4d6c7b1ab520cd5790b4a4a50e5568fbfebc272
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