diff options
author | Kashyap, Desai <kashyap.desai@lsi.com> | 2009-12-16 18:50:06 +0530 |
---|---|---|
committer | James Bottomley <James.Bottomley@suse.de> | 2010-02-08 18:19:37 -0600 |
commit | d7384b28afb2bf2b7be835ddc8c852bdc5e0ce1c (patch) | |
tree | bebd03f6a93e3a7b1d720a5913f8b1adc62ce702 /drivers/scsi/mpt2sas/mpi/mpi2.h | |
parent | 0f88009d5cfae890bd3466126d1622ad4f16b798 (diff) |
[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>
Diffstat (limited to 'drivers/scsi/mpt2sas/mpi/mpi2.h')
0 files changed, 0 insertions, 0 deletions