]> bbs.cooldavid.org Git - net-next-2.6.git/commit
RDS: Add GET_MR_FOR_DEST sockopt
authorAndy Grover <andy.grover@oracle.com>
Fri, 30 Oct 2009 08:54:53 +0000 (08:54 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 30 Oct 2009 22:06:37 +0000 (15:06 -0700)
commit244546f0d3101c5441f5b14cfe8a79d62679eaea
tree52ba3f802e695e6b052aeb3c38ae76fb5f5f0be6
parent6639104bd826e0b1388c69a6b7564fffc636c8a8
RDS: Add GET_MR_FOR_DEST sockopt

RDS currently supports a GET_MR sockopt to establish a
memory region (MR) for a chunk of memory. However, the fastreg
method ties a MR to a particular destination. The GET_MR_FOR_DEST
sockopt allows the remote machine to be specified, and thus
support for fastreg (aka FRWRs).

Note that this patch does *not* do all of this - it simply
implements the new sockopt in terms of the old one, so applications
can begin to use the new sockopt in preparation for cutover to
FRWRs.

Signed-off-by: Andy Grover <andy.grover@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/rds.h
net/rds/af_rds.c
net/rds/rdma.c
net/rds/rdma.h