]> git.karo-electronics.de Git - linux-beck.git/commit
[SCSI] qla4xxx: Fix pending IO completion in reset path before initiating chip reset
authorTej Parkash <tej.parkash@qlogic.com>
Mon, 16 Dec 2013 11:49:43 +0000 (06:49 -0500)
committerJames Bottomley <JBottomley@Parallels.com>
Sat, 15 Mar 2014 17:19:14 +0000 (10:19 -0700)
commit61d9a2b61490f6e121abbe6275ac93cf608f087e
treedd4f5d8c80f8c25d578139239741cb1a2106537e
parent1b3d399cf6877c8d9abd63a2aff41b709a38fbd1
[SCSI] qla4xxx: Fix pending IO completion in reset path before initiating chip reset

Issue:
Pending IO wait does not complete after triggering Graceful reset,
causing ack timeout and call traces.

Fix:
1. Reducing the IO command wait timeout before triggering reset,
   as logically also timeout should be less than reset timeout (10sec).
2. Moving the abort IO after chip reset, because only after
   chip reset, driver owns the IO otherwise it is with firmware and can
   still revert back with response.

Signed-off-by: Tej Parkash <tej.parkash@qlogic.com>
Signed-off-by: Vikas Chaudhary <vikas.chaudhary@qlogic.com>
Reviewed-by: Mike Christie <michaelc@cs.wisc.edu>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
drivers/scsi/qla4xxx/ql4_def.h
drivers/scsi/qla4xxx/ql4_os.c