diff options
author | Hannes Reinecke <hare@suse.de> | 2019-05-03 05:43:52 -0400 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2019-05-13 10:00:03 -0400 |
commit | 8730c1ddb69bdeeb10c1f613a4e15e95862b1981 (patch) | |
tree | dd56d3a328624814e8cc15403ba11ee0a03ae9cc /lib/mpi/mpi-inline.h | |
parent | 87fd125344d68adf7699ec7396aa9f905ce79a80 (diff) |
nvme-fc: use separate work queue to avoid warning
When tearing down a controller the following warning is issued:
WARNING: CPU: 0 PID: 30681 at ../kernel/workqueue.c:2418 check_flush_dependency
This happens as the err_work workqueue item is scheduled on the
system workqueue (which has WQ_MEM_RECLAIM not set), but is flushed
from a workqueue which has WQ_MEM_RECLAIM set.
Fix this by providing an FC-NVMe specific workqueue.
Fixes: 4cff280a5fcc ("nvme-fc: resolve io failures during connect")
Signed-off-by: Hannes Reinecke <hare@suse.com>
Reviewed-by: James Smart <james.smart@broadcom.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'lib/mpi/mpi-inline.h')
0 files changed, 0 insertions, 0 deletions