NFSD: Use set_bit(RQ_DROPME)
authorChuck Lever <chuck.lever@oracle.com>
Sat, 7 Jan 2023 15:15:35 +0000 (10:15 -0500)
committerChuck Lever <chuck.lever@oracle.com>
Sat, 7 Jan 2023 15:16:33 +0000 (10:16 -0500)
commit5304930dbae82d259bcf7e5611db7c81e7a42eff
tree1890929f17c68ee5e91c9513818762452205ea37
parent7827c81f0248e3c2f40d438b020f3d222f002171
NFSD: Use set_bit(RQ_DROPME)

The premise that "Once an svc thread is scheduled and executing an
RPC, no other processes will touch svc_rqst::rq_flags" is false.
svc_xprt_enqueue() examines the RQ_BUSY flag in scheduled nfsd
threads when determining which thread to wake up next.

Fixes: 9315564747cb ("NFSD: Use only RQ_DROPME to signal the need to drop a reply")
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
fs/nfsd/nfsproc.c