X-Git-Url: https://git.whamcloud.com/?a=blobdiff_plain;f=lustre%2Fptlrpc%2Fpers.c;h=45af6036f99272c0f4108aaaa062a5962f33c243;hb=959304eac7;hp=973f2b5ad0d744e37a2fa93a348bf2203982bfba;hpb=c65eabc2b1136d6bc2cf2d86d6434d5b4ad300e7;p=fs%2Flustre-release.git diff --git a/lustre/ptlrpc/pers.c b/lustre/ptlrpc/pers.c index 973f2b5..45af603 100644 --- a/lustre/ptlrpc/pers.c +++ b/lustre/ptlrpc/pers.c @@ -58,6 +58,9 @@ void ptlrpc_fill_bulk_md(struct lnet_md *md, struct ptlrpc_bulk_desc *desc, return; } + if (desc->bd_is_rdma) + md->options |= LNET_MD_GPU_ADDR; + if (mdidx == (desc->bd_md_count - 1)) md->length = desc->bd_iov_count - start; else