Whamcloud - gitweb
LU-4384 ofd: add OBD_INCOMPAT_FID to the OST 11/9411/2
authorMikhail Pershin <mike.pershin@intel.com>
Thu, 27 Feb 2014 05:59:10 +0000 (09:59 +0400)
committerOleg Drokin <oleg.drokin@intel.com>
Thu, 22 May 2014 04:49:45 +0000 (04:49 +0000)
OFD may work with normal FIDs since Lustre 2.4, add this flag for
backward compatibility with future use of normal FIDs on OST

Signed-off-by: Mikhail Pershin <mike.pershin@intel.com>
Change-Id: I24d7398388a8146da1e953d97d6c5776b97caa86
Reviewed-on: http://review.whamcloud.com/9411
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
lustre/ofd/ofd_internal.h

index 5d1b880..9a7b100 100644 (file)
@@ -48,7 +48,7 @@
 #define OFD_INIT_OBJID 0
 #define OFD_ROCOMPAT_SUPP (0)
 #define OFD_INCOMPAT_SUPP (OBD_INCOMPAT_GROUPS | OBD_INCOMPAT_OST | \
-                          OBD_INCOMPAT_COMMON_LR)
+                          OBD_INCOMPAT_FID | OBD_INCOMPAT_COMMON_LR)
 #define OFD_PRECREATE_BATCH_DEFAULT (FILTER_SUBDIR_COUNT * 4)
 
 /* on small filesystems we should not precreate too many objects in