[pnfs] [PATCH 1/8] Added XPRT_COPY_CALLDIR flag

iyer at netapp.com iyer at netapp.com
Thu Apr 12 06:19:10 EDT 2007


From: Rahul Iyer <iyer at netapp.com>

This flag is used in the state machine implementation in xs_tcp_data_recv() to
read in the call/reply flag. This flag will be used to recognize whether the
rpc packet received is a reply to a call the client made or a callback from the
server received on the backchannel.

Signed-off-by: Rahul Iyer <iyer at netapp.com>
---
 include/linux/sunrpc/xprt.h |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/include/linux/sunrpc/xprt.h b/include/linux/sunrpc/xprt.h
index 3a0cca2..8958f16 100644
--- a/include/linux/sunrpc/xprt.h
+++ b/include/linux/sunrpc/xprt.h
@@ -211,6 +211,7 @@ struct rpc_xprt {
 #define XPRT_COPY_RECM		(1 << 1)
 #define XPRT_COPY_XID		(1 << 2)
 #define XPRT_COPY_DATA		(1 << 3)
+#define XPRT_COPY_CALLDIR	(1 << 4)
 
 #ifdef __KERNEL__
 
-- 
1.5.0.2


More information about the pNFS mailing list