diff options
author | Bart Van Assche <bart.vanassche@wdc.com> | 2017-08-09 11:32:12 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-09-07 08:37:16 +0200 |
commit | 399081a50c48b3d7b205d08975c67aa53c391238 (patch) | |
tree | 2e543aed05159e748ef791158eeafe9d0bb2c7ee /lib/mpi/mpicoder.c | |
parent | 77ab9e7fb4312d3b377690660f757d900fa9e171 (diff) |
dm mpath: do not lock up a CPU with requeuing activity
commit 1c23484c355ec360ca2f37914f8a4802c6baeead upstream.
When using the block layer in single queue mode, get_request()
returns ERR_PTR(-EAGAIN) if the queue is dying and the REQ_NOWAIT
flag has been passed to get_request(). Avoid that the kernel
reports soft lockup complaints in this case due to continuous
requeuing activity.
Fixes: 7083abbbf ("dm mpath: avoid that path removal can trigger an infinite loop")
Signed-off-by: Bart Van Assche <bart.vanassche@wdc.com>
Tested-by: Laurence Oberman <loberman@redhat.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'lib/mpi/mpicoder.c')
0 files changed, 0 insertions, 0 deletions