diff options
author | Trond Myklebust <trond.myklebust@primarydata.com> | 2015-02-14 20:31:59 -0500 |
---|---|---|
committer | Trond Myklebust <trond.myklebust@primarydata.com> | 2016-02-05 18:48:54 -0500 |
commit | 80b14d5e61ca6d08e46b4fc72baf6e4f738b30ce (patch) | |
tree | 0919feba0c10ef4188805b635a97df6899fe9c4b /net/sunrpc/xprt.c | |
parent | fda1bfef9e465b28260d27cd9e538dd601c4cdc1 (diff) | |
download | linux-80b14d5e61ca6d08e46b4fc72baf6e4f738b30ce.tar.bz2 |
SUNRPC: Add a structure to track multiple transports
In order to support multipathing/trunking we will need the ability to
track multiple transports. This patch sets up a basic structure for
doing so.
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
Diffstat (limited to 'net/sunrpc/xprt.c')
-rw-r--r-- | net/sunrpc/xprt.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/sunrpc/xprt.c b/net/sunrpc/xprt.c index 605858699f6c..323b332f8f7c 100644 --- a/net/sunrpc/xprt.c +++ b/net/sunrpc/xprt.c @@ -1319,6 +1319,7 @@ static void xprt_init(struct rpc_xprt *xprt, struct net *net) spin_lock_init(&xprt->bc_pa_lock); INIT_LIST_HEAD(&xprt->bc_pa_list); #endif /* CONFIG_SUNRPC_BACKCHANNEL */ + INIT_LIST_HEAD(&xprt->xprt_switch); xprt->last_used = jiffies; xprt->cwnd = RPC_INITCWND; |