linux-uconsole/drivers/scsi/mpt2sas
Kashyap, Desai 7c0f2aedfa mpt2sas: Delete volume before HBA detach.
commit d7384b28af upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2010-03-15 08:49:36 -07:00
..
mpi mpt2sas: New device SAS2208 support is added 2010-01-28 15:00:36 -08:00
Kconfig [SCSI] mpt2sas: Copyright change to 2009. 2009-10-02 09:48:15 -05:00
Makefile
mpt2sas_base.c [SCSI] mpt2sas: Timeout occurred within the HANDSHAKE logic while waiting on firmware to ACK. 2009-10-02 09:49:01 -05:00
mpt2sas_base.h [SCSI] mpt2sas: Bump version 02.100.03.00 2009-10-02 09:49:24 -05:00
mpt2sas_config.c [SCSI] mpt2sas: Target Reset will be issued from Interrupt context. 2009-10-02 09:48:38 -05:00
mpt2sas_ctl.c [SCSI] mpt2sas: Call init_completion on a per request basis. 2009-10-02 09:48:50 -05:00
mpt2sas_ctl.h [SCSI] mpt2sas: Copyright change to 2009. 2009-10-02 09:48:15 -05:00
mpt2sas_debug.h [SCSI] mpt2sas: Copyright change to 2009. 2009-10-02 09:48:15 -05:00
mpt2sas_scsih.c mpt2sas: Delete volume before HBA detach. 2010-03-15 08:49:36 -07:00
mpt2sas_transport.c [SCSI] mpt2sas: Call init_completion on a per request basis. 2009-10-02 09:48:50 -05:00