diff options
| author | Trond Myklebust <trond.myklebust@fys.uio.no> | 2004-03-13 11:38:41 -0500 |
|---|---|---|
| committer | Trond Myklebust <trond.myklebust@fys.uio.no> | 2004-03-13 11:38:41 -0500 |
| commit | 4a50d68c0ff3117cd04cec4f2fd37dac9c82d203 (patch) | |
| tree | 57e549ae021906f471f9ba00719c5188d31970bc /include/linux | |
| parent | bf78ace264daeaf39a60fa3ec5f8c871c3d346eb (diff) | |
RPC: Make XIDs unique on a per-transport basis rather than globally unique. Gets rid
of an unnecessary global spinlock.
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/sunrpc/xprt.h | 6 |
1 files changed, 5 insertions, 1 deletions
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) */ @@ -155,6 +154,11 @@ struct rpc_xprt { stream : 1; /* TCP */ /* + * XID + */ + __u32 xid; /* Next XID value to use */ + + /* * State of TCP reply receive stuff */ u32 tcp_recm, /* Fragment header */ |
