diff options
| author | [email protected] <[email protected]> | 2015-01-05 14:36:18 +0000 |
|---|---|---|
| committer | Christoph Hellwig <[email protected]> | 2015-01-09 14:44:36 +0000 |
| commit | c8dd61eff2780c481fcf919c1572e16e397c714e (patch) | |
| tree | 49397211633101ac487e2b2f4c1a28d01f8322a8 /drivers/scsi/mpt2sas/mpi/mpi2.h | |
| parent | megaraid_sas: disable interrupt_mask before enabling hardware interrupts (diff) | |
| download | kernel-c8dd61eff2780c481fcf919c1572e16e397c714e.tar.gz kernel-c8dd61eff2780c481fcf919c1572e16e397c714e.zip | |
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: <[email protected]>
Signed-off-by: Sumit Saxena <[email protected]>
Signed-off-by: Chaitra Basappa <[email protected]>
Reviewed-by: Martin K. Petersen <[email protected]>
Signed-off-by: Christoph Hellwig <[email protected]>
Diffstat (limited to 'drivers/scsi/mpt2sas/mpi/mpi2.h')
0 files changed, 0 insertions, 0 deletions
