• A
    RDS: Add GET_MR_FOR_DEST sockopt · 244546f0
    Andy Grover 提交于
    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: NAndy Grover <andy.grover@oracle.com>
    Signed-off-by: NDavid S. Miller <davem@davemloft.net>
    244546f0
af_rds.c 13.9 KB