]> git.ipfire.org Git - thirdparty/linux.git/commit
SUNRPC: integrate back-channel processing with svc_recv()
authorNeilBrown <neilb@suse.de>
Mon, 11 Sep 2023 14:38:58 +0000 (10:38 -0400)
committerChuck Lever <chuck.lever@oracle.com>
Mon, 16 Oct 2023 16:44:03 +0000 (12:44 -0400)
commit063ab935a48b3a2854f433957adbb2bde396ed22
tree6f35e103e60f8465f93860b9feeee95ec6ab7974
parent6ed8cdf967f7e9fc96cd1c129719ef99db2f9afc
SUNRPC: integrate back-channel processing with svc_recv()

Using svc_recv() for (NFSv4.1) back-channel handling means we have just
one mechanism for waking threads.

Also change kthread_freezable_should_stop() in nfs4_callback_svc() to
kthread_should_stop() as used elsewhere.
kthread_freezable_should_stop() effectively adds a try_to_freeze() call,
and svc_recv() already contains that at an appropriate place.

Signed-off-by: NeilBrown <neilb@suse.de>
Cc: Trond Myklebust <trond.myklebust@hammerspace.com>
Cc: Anna Schumaker <Anna.Schumaker@Netapp.com>
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
fs/nfs/callback.c
include/linux/sunrpc/svc.h
net/sunrpc/backchannel_rqst.c
net/sunrpc/svc.c
net/sunrpc/svc_xprt.c
net/sunrpc/xprtrdma/backchannel.c