OSDN Git Service

xprtrdma: Remove MEMWINDOWS registration modes
authorChuck Lever <chuck.lever@oracle.com>
Wed, 28 May 2014 14:32:34 +0000 (10:32 -0400)
committerAnna Schumaker <Anna.Schumaker@Netapp.com>
Wed, 4 Jun 2014 12:56:37 +0000 (08:56 -0400)
commitb45ccfd25d506e83d9ecf93d0ac7edf031d35d2f
treeea3bcde8cc26c19c44332dbbe4fa0cd1d048b13e
parent03ff8821eb5ed168792667cfc3ddff903e97af99
xprtrdma: Remove MEMWINDOWS registration modes

The MEMWINDOWS and MEMWINDOWS_ASYNC memory registration modes were
intended as stop-gap modes before the introduction of FRMR. They
are now considered obsolete.

MEMWINDOWS_ASYNC is also considered unsafe because it can leave
client memory registered and exposed for an indeterminant time after
each I/O.

At this point, the MEMWINDOWS modes add needless complexity, so
remove them.

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