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:
2a9d086
)
- vbr interoperability with 1.6
author
tappro
<tappro>
Wed, 20 Aug 2008 20:00:16 +0000
(20:00 +0000)
committer
tappro
<tappro>
Wed, 20 Aug 2008 20:00:16 +0000
(20:00 +0000)
b:15942
i:rread, bzzz
lustre/include/lustre_export.h
patch
|
blob
|
history
diff --git
a/lustre/include/lustre_export.h
b/lustre/include/lustre_export.h
index
3db4499
..
d87175e
100644
(file)
--- a/
lustre/include/lustre_export.h
+++ b/
lustre/include/lustre_export.h
@@
-182,6
+182,13
@@
static inline int exp_connect_lru_resize(struct obd_export *exp)
return !!(exp->exp_connect_flags & OBD_CONNECT_LRU_RESIZE);
}
+static inline int exp_connect_vbr(struct obd_export *exp)
+{
+ LASSERT(exp != NULL);
+ LASSERT(exp->exp_connection);
+ return !!(exp->exp_connect_flags & OBD_CONNECT_VBR);
+}
+
static inline int imp_connect_lru_resize(struct obd_import *imp)
{
struct obd_connect_data *ocd;