OSDN Git Service

xprtrdma: Remove rpcrdma_ia::ri_flags
authorChuck Lever <chuck.lever@oracle.com>
Fri, 21 Feb 2020 22:00:44 +0000 (17:00 -0500)
committerAnna Schumaker <Anna.Schumaker@Netapp.com>
Fri, 27 Mar 2020 14:47:25 +0000 (10:47 -0400)
commit897b7be9bca0caa27cdf7520bdc7689abe989a53
tree4eb51dd94aec247095f85b6fc4afc9d7792fa2b0
parent81fe0c57f4e136375f3bcda74af413f82a34a1bb
xprtrdma: Remove rpcrdma_ia::ri_flags

Clean up:
The upper layer serializes calls to xprt_rdma_close, so there is no
need for an atomic bit operation, saving 8 bytes in rpcrdma_ia.

This enables merging rpcrdma_ia_remove directly into the disconnect
logic.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
net/sunrpc/xprtrdma/transport.c
net/sunrpc/xprtrdma/verbs.c
net/sunrpc/xprtrdma/xprt_rdma.h