]> git.baikalelectronics.ru Git - kernel.git/commit
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, 28 Feb 2022 15:26:39 +0000 (10:26 -0500)
commit532970c9a8d63e63b25fa524c580dbfc016e70fe
tree6c07c77a5615aea5a04a947001810e152838e12d
parenta9eb01c66026821387259cff81744b83eb359da8
SUNRPC: Merge svc_do_enqueue_xprt() into svc_enqueue_xprt()

Neil says:
"These functions were separated in commit a08c2a449011 ("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