Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a5430d3
)
- a trivial comment update.
author
isaac
<isaac>
Tue, 16 Jun 2009 23:56:11 +0000
(23:56 +0000)
committer
isaac
<isaac>
Tue, 16 Jun 2009 23:56:11 +0000
(23:56 +0000)
lnet/klnds/o2iblnd/o2iblnd.c
patch
|
blob
|
history
diff --git
a/lnet/klnds/o2iblnd/o2iblnd.c
b/lnet/klnds/o2iblnd/o2iblnd.c
index
7ccaad0
..
3dddc0e
100644
(file)
--- a/
lnet/klnds/o2iblnd/o2iblnd.c
+++ b/
lnet/klnds/o2iblnd/o2iblnd.c
@@
-1656,7
+1656,8
@@
kiblnd_dev_get_attr(kib_dev_t *ibdev)
struct ib_device_attr *attr;
int rc;
- /* XXX here should be HCA's page shift/size/mask in the future? */
+ /* It's safe to assume a HCA can handle a page size
+ * matching that of the native system */
ibdev->ibd_page_shift = PAGE_SHIFT;
ibdev->ibd_page_size = 1 << PAGE_SHIFT;
ibdev->ibd_page_mask = ~((__u64)ibdev->ibd_page_size - 1);