From 67b618c035677dc8c7e450e80aacc72dd1315435 Mon Sep 17 00:00:00 2001 From: Mikhail Pershin Date: Tue, 25 Feb 2014 12:13:01 +0400 Subject: [PATCH] LU-4384 ofd: remove INCOMPAT_SUPP, ROCOMPAT_SUPP defines Removed ROCOMPAT/INCOMPAT_SUPP defines from MDT and OFD as obsoleted. They are not used now. The tgt_server_data_init() uses own way to set/check rocompat/incompat masks Signed-off-by: Mikhail Pershin Change-Id: Ib4b7b4b948e0563d1cc89faae2d423245ed4df0e Reviewed-on: http://review.whamcloud.com/9375 Reviewed-by: Andreas Dilger Tested-by: Jenkins Tested-by: Maloo Reviewed-by: Alex Zhuravlev --- lustre/mdt/mdt_internal.h | 4 ---- lustre/ofd/ofd_internal.h | 3 --- 2 files changed, 7 deletions(-) diff --git a/lustre/mdt/mdt_internal.h b/lustre/mdt/mdt_internal.h index 91dfa40..0eaa88f 100644 --- a/lustre/mdt/mdt_internal.h +++ b/lustre/mdt/mdt_internal.h @@ -239,10 +239,6 @@ struct mdt_device { }; #define MDT_SERVICE_WATCHDOG_FACTOR (2) -#define MDT_ROCOMPAT_SUPP (OBD_ROCOMPAT_LOVOBJID) -#define MDT_INCOMPAT_SUPP (OBD_INCOMPAT_MDT | OBD_INCOMPAT_COMMON_LR | \ - OBD_INCOMPAT_FID | OBD_INCOMPAT_IAM_DIR | \ - OBD_INCOMPAT_LMM_VER | OBD_INCOMPAT_MULTI_OI) #define MDT_COS_DEFAULT (0) struct mdt_object { diff --git a/lustre/ofd/ofd_internal.h b/lustre/ofd/ofd_internal.h index b69a287..3aae6dd 100644 --- a/lustre/ofd/ofd_internal.h +++ b/lustre/ofd/ofd_internal.h @@ -45,9 +45,6 @@ #include #define OFD_INIT_OBJID 0 -#define OFD_ROCOMPAT_SUPP (0) -#define OFD_INCOMPAT_SUPP (OBD_INCOMPAT_GROUPS | OBD_INCOMPAT_OST | \ - OBD_INCOMPAT_COMMON_LR) #define OFD_PRECREATE_BATCH_DEFAULT (OBJ_SUBDIR_COUNT * 4) /* on small filesystems we should not precreate too many objects in -- 1.8.3.1