Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
LU-15189 lnet: fix memory mapping.
[fs/lustre-release.git]
/
lustre
/
ptlrpc
/
pers.c
diff --git
a/lustre/ptlrpc/pers.c
b/lustre/ptlrpc/pers.c
index
973f2b5
..
45af603
100644
(file)
--- 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