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-3587 changelogs: Correct KUC code max changelog msg size
[fs/lustre-release.git]
/
libcfs
/
include
/
libcfs
/
libcfs_kernelcomm.h
diff --git
a/libcfs/include/libcfs/libcfs_kernelcomm.h
b/libcfs/include/libcfs/libcfs_kernelcomm.h
index
f7be4b7
..
ebba2d6
100644
(file)
--- a/
libcfs/include/libcfs/libcfs_kernelcomm.h
+++ b/
libcfs/include/libcfs/libcfs_kernelcomm.h
@@
-61,6
+61,8
@@
struct kuc_hdr {
__u16 kuc_msglen; /* Including header */
} __attribute__((aligned(sizeof(__u64))));
+#define KUC_CHANGELOG_MSG_MAXSIZE (sizeof(struct kuc_hdr)+CR_MAXSIZE)
+
#define KUC_MAGIC 0x191C /*Lustre9etLinC */
#define KUC_FL_BLOCK 0x01 /* Wait for send */