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-9846 obd: Add overstriping CONNECT flag
[fs/lustre-release.git]
/
lustre
/
include
/
lustre_export.h
diff --git
a/lustre/include/lustre_export.h
b/lustre/include/lustre_export.h
index
5cf29e1
..
83e3bbe
100644
(file)
--- a/
lustre/include/lustre_export.h
+++ b/
lustre/include/lustre_export.h
@@
-449,6
+449,11
@@
static inline int exp_connect_lockahead(struct obd_export *exp)
return !!(exp_connect_flags2(exp) & OBD_CONNECT2_LOCKAHEAD);
}
return !!(exp_connect_flags2(exp) & OBD_CONNECT2_LOCKAHEAD);
}
+static inline int exp_connect_overstriping(struct obd_export *exp)
+{
+ return !!(exp_connect_flags2(exp) & OBD_CONNECT2_OVERSTRIPING);
+}
+
static inline int exp_connect_flr(struct obd_export *exp)
{
return !!(exp_connect_flags2(exp) & OBD_CONNECT2_FLR);
static inline int exp_connect_flr(struct obd_export *exp)
{
return !!(exp_connect_flags2(exp) & OBD_CONNECT2_FLR);