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-10157 lnet: restore an maximal fragments count
[fs/lustre-release.git]
/
lnet
/
include
/
lnet
/
lib-types.h
diff --git
a/lnet/include/lnet/lib-types.h
b/lnet/include/lnet/lib-types.h
index
0902deb
..
496a1b0
100644
(file)
--- a/
lnet/include/lnet/lib-types.h
+++ b/
lnet/include/lnet/lib-types.h
@@
-53,7
+53,8
@@
/* Max payload size */
#define LNET_MAX_PAYLOAD LNET_MTU
-#define LNET_MAX_IOV (LNET_MAX_PAYLOAD >> PAGE_SHIFT)
+/** limit on the number of fragments in discontiguous MDs */
+#define LNET_MAX_IOV 256
/*
* This is the maximum health value.