Kashyap, Desai d7384b28af [SCSI] mpt2sas: Delete volume before HBA detach.
The driver hangs when doing `rmmod mpt2sas` if there are any
IR volumes present.The hang is due the scsi midlayer trying to access the
IR volumes after the driver releases controller resources.  Perhaps when
scsi_remove_host is called,the scsi mid layer is sending some request.
This doesn't occur for bare drives becuase the driver is already reporting
those drives deleted prior to calling mpt2sas_base_detach.
To solve this issue, we need to delete the volumes as well.

Signed-off-by: Kashyap Desai <kashyap.desai@lsi.com>
Reviewed-by: Eric Moore <eric.moore@lsi.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
2010-02-08 18:19:37 -06:00
..
2009-03-28 20:30:18 +00:00
2009-05-15 12:24:59 -04:00
2009-04-03 10:17:31 -05:00
2009-04-03 10:17:31 -05:00
2009-04-03 10:17:17 -05:00
2009-04-03 10:17:17 -05:00
2008-10-16 16:52:06 +02:00
2009-10-31 12:11:38 -07:00
2010-01-18 10:48:07 -06:00
2008-08-29 02:13:10 -07:00
2010-01-18 10:48:08 -06:00
2009-12-22 14:17:56 -08:00
2010-01-18 10:48:10 -06:00
2008-12-28 20:00:03 +01:00
2008-01-30 13:14:02 -06:00
2008-01-30 13:14:02 -06:00
2008-07-02 15:06:25 -06:00
2009-12-10 08:54:15 -06:00
2008-02-07 18:02:44 -06:00
2009-12-10 08:54:13 -06:00
2009-12-10 08:54:13 -06:00
2008-10-23 11:42:19 -05:00
2010-01-18 10:48:07 -06:00