From 4a50d68c0ff3117cd04cec4f2fd37dac9c82d203 Mon Sep 17 00:00:00 2001 From: Trond Myklebust Date: Sat, 13 Mar 2004 11:38:41 -0500 Subject: RPC: Make XIDs unique on a per-transport basis rather than globally unique. Gets rid of an unnecessary global spinlock. --- include/linux/sunrpc/xprt.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'include') diff --git a/include/linux/sunrpc/xprt.h b/include/linux/sunrpc/xprt.h index 393e6dc6a268..a352a71ecdcb 100644 --- a/include/linux/sunrpc/xprt.h +++ b/include/linux/sunrpc/xprt.h @@ -102,7 +102,6 @@ struct rpc_rqst { struct xdr_buf rq_private_buf; /* The receive buffer * used in the softirq. */ - /* * For authentication (e.g. auth_des) */ @@ -154,6 +153,11 @@ struct rpc_xprt { resvport : 1, /* use a reserved port */ stream : 1; /* TCP */ + /* + * XID + */ + __u32 xid; /* Next XID value to use */ + /* * State of TCP reply receive stuff */ -- cgit v1.2.3