diff options
author | Chuck Lever | 2023-01-06 12:43:37 -0500 |
---|---|---|
committer | Greg Kroah-Hartman | 2023-01-14 10:33:42 +0100 |
commit | 8cc0e63ba86c9f4e732de9f42642231c8e3a31d2 (patch) | |
tree | b7a96b8336cff433e64f0597462365d4d91ca193 /fs/nfsd/nfsfh.h | |
parent | 29fbaa434c223f29917e8de054cc48a96e6c0ed4 (diff) |
Revert "SUNRPC: Use RMW bitops in single-threaded hot paths"
commit 7827c81f0248e3c2f40d438b020f3d222f002171 upstream.
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.
Found via KCSAN.
Fixes: 28df0988815f ("SUNRPC: Use RMW bitops in single-threaded hot paths")
Reviewed-by: Jeff Layton <jlayton@kernel.org>
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'fs/nfsd/nfsfh.h')
0 files changed, 0 insertions, 0 deletions