diff options
author | Santosh kumar pradhan <santoshkumar.pradhan@wdc.com> | 2018-12-19 07:59:57 +0100 |
---|---|---|
committer | Anna Schumaker <Anna.Schumaker@Netapp.com> | 2019-01-02 18:05:19 +0100 |
commit | 10e037d1e0d5d93cc057e4fad6911e481a462407 (patch) | |
tree | 5826e59131a9a00b58ab16a65316c47a808e7907 /kernel/dma.c | |
parent | sunrpc: convert unnecessary GFP_ATOMIC to GFP_NOFS (diff) | |
download | linux-10e037d1e0d5d93cc057e4fad6911e481a462407.tar.xz linux-10e037d1e0d5d93cc057e4fad6911e481a462407.zip |
sunrpc: Add xprt after nfs4_test_session_trunk()
Multipathing: In case of NFSv3, rpc_clnt_test_and_add_xprt() adds
the xprt to xprt switch (i.e. xps) if rpc_call_null_helper() returns
success. But in case of NFSv4.1, it needs to do EXCHANGEID to verify
the path along with check for session trunking.
Add the xprt in nfs4_test_session_trunk() only when
nfs4_detect_session_trunking() returns success. Also release refcount
hold by rpc_clnt_setup_test_and_add_xprt().
Signed-off-by: Santosh kumar pradhan <santoshkumar.pradhan@wdc.com>
Tested-by: Suresh Jayaraman <suresh.jayaraman@wdc.com>
Reported-by: Aditya Agnihotri <aditya.agnihotri@wdc.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
Diffstat (limited to 'kernel/dma.c')
0 files changed, 0 insertions, 0 deletions