linux-stable/drivers/scsi/megaraid
Sumit.Saxena@avagotech.com c8dd61eff2 megaraid_sas: complete outstanding IOCTLs before killing adapter
Driver calls megasas_complete_cmd() to call wake_up() for each MFI frame
that was issued through the ioctl() interface prior to the kill adapter.
This ensures userspace ioctl() system calls issued just before a kill
adapter don't get stuck in wait state and IOCTLs are returned to
the application.

Cc: <stable@vger.kernel.org>
Signed-off-by: Sumit Saxena <sumit.saxena@avagotech.com>
Signed-off-by: Chaitra Basappa <chaitra.basappa@avagotech.com>
Reviewed-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
2015-01-09 15:44:36 +01:00
..
Kconfig.megaraid
Makefile
mbox_defs.h
mega_common.h scsi: use 64-bit LUNs 2014-07-17 22:07:37 +02:00
megaraid_ioctl.h
megaraid_mbox.c scsi: drop reason argument from ->change_queue_depth 2014-11-24 14:45:27 +01:00
megaraid_mbox.h
megaraid_mm.c [SCSI] megaraid: missing bounds check in mimd_to_kioc() 2014-03-15 10:19:00 -07:00
megaraid_mm.h
megaraid_sas.h megaraid_sas: add support for secure JBOD 2015-01-09 15:44:34 +01:00
megaraid_sas_base.c megaraid_sas: complete outstanding IOCTLs before killing adapter 2015-01-09 15:44:36 +01:00
megaraid_sas_fp.c megaraid_sas: fix the problem of non-existing VD exposed to host 2015-01-09 15:44:34 +01:00
megaraid_sas_fusion.c megaraid_sas: complete outstanding IOCTLs before killing adapter 2015-01-09 15:44:36 +01:00
megaraid_sas_fusion.h megaraid_sas: endianness related bug fixes and code optimization 2015-01-09 15:44:33 +01:00