• Chuck Lever's avatar
    svcrdma: Reduce size of struct svc_rdma_rw_ctxt · 5ef6c666
    Chuck Lever authored
    SG_CHUNK_SIZE is 128, making struct svc_rdma_rw_ctxt + the first
    SGL array more than 4200 bytes in length, pushing the memory
    allocation well into order 1.
    
    Even so, the RDMA rw core doesn't seem to use more than max_send_sge
    entries in that array (typically 32 or less), so that is all wasted
    space.
    Signed-off-by: default avatarChuck Lever <chuck.lever@oracle.com>
    5ef6c666
svc_rdma_rw.c 32.3 KB