Whamcloud - gitweb
LU-15496 tests: fix sanity/398c to use proper OSC name
[fs/lustre-release.git] / lustre / ptlrpc / pers.c
index 1009fd5..45af603 100644 (file)
@@ -27,7 +27,6 @@
  */
 /*
  * This file is part of Lustre, http://www.lustre.org/
- * Lustre is a trademark of Sun Microsystems, Inc.
  */
 
 #define DEBUG_SUBSYSTEM S_RPC
@@ -59,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