summaryrefslogtreecommitdiffstats
path: root/lib/interval_tree.c
diff options
context:
space:
mode:
authorChuck Lever <chuck.lever@oracle.com>2021-01-05 10:15:09 -0500
committerChuck Lever <chuck.lever@oracle.com>2021-03-22 13:22:13 -0400
commit82011c80b3ec0e05940a2ee2c76c1df9fd2b1ce8 (patch)
tree8918ebef358af24940e2b5a292a23046d62c1861 /lib/interval_tree.c
parent7dcfbd86adc45f6d6b37278efd22530cf80ab474 (diff)
downloadlinux-82011c80b3ec0e05940a2ee2c76c1df9fd2b1ce8.tar.bz2
SUNRPC: Move svc_xprt_received() call sites
Currently, XPT_BUSY is not cleared until xpo_recvfrom returns. That effectively blocks the receipt and handling of the next RPC message until the current one has been taken off the transport. This strict ordering is a requirement for socket transports. For our kernel RPC/RDMA transport implementation, however, dequeuing an ingress message is nothing more than a list_del(). The transport can safely be marked un-busy as soon as that is done. To keep the changes simpler, this patch just moves the svc_xprt_received() call site from svc_handle_xprt() into the transports, so that the actual optimization can be done in a subsequent patch. Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Diffstat (limited to 'lib/interval_tree.c')
0 files changed, 0 insertions, 0 deletions