Brian King 3eddc56977 [SCSI] ibmvfc: Fix another hang on module removal
This fixes a hang on module removal. The module removal code was setting
the hosts's state to IBMVFC_HOST_OFFLINE before tearing down the kernel
thread, but, due to a bug in ibmvfc_wait_while_resetting, was not waiting
for the kernel thread's offlining work to be done prior to destroying
the kernel thread, which left the scsi host in a blocked state which we
never got out of.

Signed-off-by: Brian King <brking@linux.vnet.ibm.com>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
2008-08-16 10:47:46 -05:00
..
2008-06-15 11:12:20 -05:00
2008-01-11 18:22:30 -06:00
2006-09-12 17:12:31 -05:00
2006-09-12 17:12:31 -05:00
2008-01-30 13:14:02 -06:00
2008-07-26 15:17:47 -04:00
2005-11-09 15:44:09 -05:00
2008-06-20 14:05:49 -06:00
2006-09-12 17:12:31 -05:00
2008-01-30 13:14:02 -06:00
2008-01-11 18:27:59 -06:00
2008-01-30 13:14:02 -06:00
2006-09-12 17:12:31 -05:00
2008-01-30 13:14:02 -06:00
2008-01-23 13:44:31 -06:00
2007-10-19 11:53:42 -07:00
2008-07-14 15:29:34 -06:00
2008-01-30 13:14:02 -06:00
2008-02-23 09:07:32 -06:00
2007-07-18 11:16:32 -05:00
2008-07-02 15:06:25 -06:00
2008-07-30 10:21:56 -05:00
2008-08-04 21:31:34 -07:00
2008-07-04 09:52:14 +02:00
2008-02-07 18:02:44 -06:00
2008-07-26 15:14:47 -04:00
2008-07-26 15:14:49 -04:00
2006-11-15 16:43:50 -06:00
2007-10-19 23:22:55 +02:00