aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/sunrpc/xprtsock.h
diff options
context:
space:
mode:
authorTrond Myklebust <trond.myklebust@primarydata.com>2016-05-23 09:24:55 -0400
committerTrond Myklebust <trond.myklebust@primarydata.com>2016-06-13 12:35:51 -0400
commit42d42a5b0cd263757f8e519debbc744fdaefdaf7 (patch)
treede9f917c26008f8854c8d7cc74d2521367acd6cb /include/linux/sunrpc/xprtsock.h
parentLinux 4.7-rc3 (diff)
downloadlinux-dev-42d42a5b0cd263757f8e519debbc744fdaefdaf7.tar.xz
linux-dev-42d42a5b0cd263757f8e519debbc744fdaefdaf7.zip
SUNRPC: Small optimisation of client receive
Do not queue the client receive work if we're still processing. Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
Diffstat (limited to 'include/linux/sunrpc/xprtsock.h')
-rw-r--r--include/linux/sunrpc/xprtsock.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/sunrpc/xprtsock.h b/include/linux/sunrpc/xprtsock.h
index 0ece4ba06f06..bef3fb0abb8f 100644
--- a/include/linux/sunrpc/xprtsock.h
+++ b/include/linux/sunrpc/xprtsock.h
@@ -80,6 +80,7 @@ struct sock_xprt {
#define TCP_RPC_REPLY (1UL << 6)
#define XPRT_SOCK_CONNECTING 1U
+#define XPRT_SOCK_DATA_READY (2)
#endif /* __KERNEL__ */