]> git.baikalelectronics.ru Git - kernel.git/commit
SUNRPC: Silence WARN_ON when NFSv4.1 over RDMA is in use
authorChuck Lever <chuck.lever@oracle.com>
Mon, 22 Aug 2016 18:57:42 +0000 (14:57 -0400)
committerTrond Myklebust <trond.myklebust@primarydata.com>
Thu, 25 Aug 2016 02:32:55 +0000 (22:32 -0400)
commit88d52e66ad40dafa6705f3f693c7cd2b8285b120
tree6fc50b56af011055e5988fd32f47d3b00c7b2576
parent241878a92744f82c43d598bf0c0536deb1838e42
SUNRPC: Silence WARN_ON when NFSv4.1 over RDMA is in use

Using NFSv4.1 on RDMA should be safe, so broaden the new checks in
rpc_create().

WARN_ON_ONCE is used, matching most other WARN call sites in clnt.c.

Fixes: 9a4b8ab67f17 ("rpc: share one xps between all backchannels")
Fixes: 6f74b11d8375 ("nfsd4/rpc: move backchannel create logic...")
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Reviewed-by: J. Bruce Fields <bfields@fieldses.org>
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
net/sunrpc/clnt.c