Whamcloud - gitweb
- vbr interoperability with 1.6
authortappro <tappro>
Wed, 20 Aug 2008 20:00:16 +0000 (20:00 +0000)
committertappro <tappro>
Wed, 20 Aug 2008 20:00:16 +0000 (20:00 +0000)
  b:15942
  i:rread, bzzz

lustre/include/lustre_export.h

index 3db4499..d87175e 100644 (file)
@@ -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;