[pnfs] [PATCH 2/8] Added tcp_calldir to rpc_xprt to store the call/reply flag
iyer at netapp.com
iyer at netapp.com
Thu Apr 12 06:19:11 EDT 2007
From: Rahul Iyer <iyer at netapp.com>
Added tcp_calldir to the rpc_xprt struct. This field will store the call/reply
flag of the rpc packet received. This flag will be used to decide whether the
packet received is a reply to a rpc 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 8958f16..c36a3b4 100644
--- a/include/linux/sunrpc/xprt.h
+++ b/include/linux/sunrpc/xprt.h
@@ -159,6 +159,7 @@ struct rpc_xprt {
*/
u32 tcp_recm, /* Fragment header */
tcp_xid, /* Current XID */
+ tcp_calldir, /* The current call/reply flag */
tcp_reclen, /* fragment length */
tcp_offset; /* fragment offset */
unsigned long tcp_copied, /* copied to request */
--
1.5.0.2
More information about the pNFS
mailing list