SUNRPC: Merge svc_do_enqueue_xprt() into svc_enqueue_xprt()
authorChuck Lever <chuck.lever@oracle.com>
Tue, 25 Jan 2022 22:57:23 +0000 (17:57 -0500)
committerChuck Lever <chuck.lever@oracle.com>
Mon, 14 Feb 2022 16:01:53 +0000 (11:01 -0500)
commit1981f4b9edad6be4adf77947fb9b8338b519d64c
tree1a2f3af80dcca93d1c5560155b02edb55e807885
parent28bb9c734bcd8a197c6f118ce30f951fdc60c062
SUNRPC: Merge svc_do_enqueue_xprt() into svc_enqueue_xprt()

Neil says:
"These functions were separated in commit 0971374e2818 ("SUNRPC:
Reduce contention in svc_xprt_enqueue()") so that the XPT_BUSY check
happened before taking any spinlocks.

We have since moved or removed the spinlocks so the extra test is
fairly pointless."

I've made this a separate patch in case the XPT_BUSY change has
unexpected consequences and needs to be reverted.

Suggested-by: Neil Brown <neilb@suse.de>
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
net/sunrpc/svc_xprt.c