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-1431 ptlrpc: PTLRPC_BRW_MAX_SIZE usage cleanup.
[fs/lustre-release.git]
/
lustre
/
include
/
obd_lov.h
diff --git
a/lustre/include/obd_lov.h
b/lustre/include/obd_lov.h
index
da88099
..
ebd50f3
100644
(file)
--- a/
lustre/include/obd_lov.h
+++ b/
lustre/include/obd_lov.h
@@
-37,6
+37,8
@@
#ifndef _OBD_LOV_H__
#define _OBD_LOV_H__
+#define LOV_DEFAULT_STRIPE_SIZE (1 << LNET_MTU_BITS)
+
static inline int lov_stripe_md_size(__u16 stripes)
{
return sizeof(struct lov_stripe_md) + stripes*sizeof(struct lov_oinfo*);