scsi: mpt3sas: Do not mark fw_event workqueue as WQ_MEM_RECLAIM
authorHannes Reinecke <hare@suse.de>
Mon, 26 Feb 2018 14:26:01 +0000 (15:26 +0100)
committerMartin K. Petersen <martin.petersen@oracle.com>
Wed, 7 Mar 2018 03:07:23 +0000 (22:07 -0500)
commit864449eea7c600596e305ffdc4a6a846414b222c
tree7b9d46b80661a483323621788f6c9df2202e91a6
parent967823d6c3980a30e214b92bfe6a101e7b46d025
scsi: mpt3sas: Do not mark fw_event workqueue as WQ_MEM_RECLAIM

The firmware event workqueue should not be marked as WQ_MEM_RECLAIM
as it's doesn't need to make forward progress under memory pressure.
In the current state it will result in a deadlock if the device had been
forcefully removed.

Cc: Sreekanth Reddy <sreekanth.reddy@broadcom.com>
Cc: Suganath Prabu Subramani <suganath-prabu.subramani@broadcom.com>
Acked-by: Sreekanth Reddy <Sreekanth.Reddy@broadcom.com>
Signed-off-by: Hannes Reinecke <hare@suse.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/mpt3sas/mpt3sas_scsih.c