Commit 2f822385 authored by Sagi Grimberg's avatar Sagi Grimberg Committed by Zheng Zengkai
Browse files

nvmet-tcp: fix lockdep complaint on nvmet_tcp_wq flush during queue teardown

stable inclusion
from stable-v5.10.138
commit 534e96302ad2cf24dfa6e6c2b18bc7c50ac16844
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/I60QFD

Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=534e96302ad2cf24dfa6e6c2b18bc7c50ac16844



--------------------------------

[ Upstream commit 533d2e8b ]

We probably need nvmet_tcp_wq to have MEM_RECLAIM as we are
sending/receiving for the socket from works on this workqueue.
Also this eliminates lockdep complaints:
Reviewed-by: default avatarWei Li <liwei391@huawei.com>
parent 9aaf2a4c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment