diff options
Diffstat (limited to 'kernel/drivers/staging/lustre/lustre/include/lustre_ver.h')
-rw-r--r-- | kernel/drivers/staging/lustre/lustre/include/lustre_ver.h | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/kernel/drivers/staging/lustre/lustre/include/lustre_ver.h b/kernel/drivers/staging/lustre/lustre/include/lustre_ver.h new file mode 100644 index 000000000..caa4da12f --- /dev/null +++ b/kernel/drivers/staging/lustre/lustre/include/lustre_ver.h @@ -0,0 +1,26 @@ +#ifndef _LUSTRE_VER_H_ +#define _LUSTRE_VER_H_ +/* This file automatically generated from lustre/include/lustre_ver.h.in, + * based on parameters in lustre/autoconf/lustre-version.ac. + * Changes made directly to this file will be lost. */ + +#define LUSTRE_MAJOR 2 +#define LUSTRE_MINOR 3 +#define LUSTRE_PATCH 64 +#define LUSTRE_FIX 0 +#define LUSTRE_VERSION_STRING "2.3.64" + +#define LUSTRE_VERSION_CODE OBD_OCD_VERSION(LUSTRE_MAJOR, \ + LUSTRE_MINOR, LUSTRE_PATCH, \ + LUSTRE_FIX) + +/* liblustre clients are only allowed to connect if their LUSTRE_FIX mismatches + * by this amount (set in lustre/autoconf/lustre-version.ac). */ +#define LUSTRE_VERSION_ALLOWED_OFFSET OBD_OCD_VERSION(0, 0, 1, 32) + +/* If lustre version of client and servers it connects to differs by more + * than this amount, client would issue a warning. + * (set in lustre/autoconf/lustre-version.ac) */ +#define LUSTRE_VERSION_OFFSET_WARN OBD_OCD_VERSION(0, 4, 0, 0) + +#endif |