From cd4b609713b678cc464efa5ce2cabb01b41c9a30 Mon Sep 17 00:00:00 2001 From: Fan Yong Date: Wed, 13 Feb 2013 21:09:39 +0800 Subject: [PATCH] LU-2640 osd: conditional enable transaction debug Current transaction debug mechanism will be disabled when Lustre-2.4 released. Signed-off-by: Fan Yong Change-Id: I516a9026b2d887935c5714dc0b777d65d487dac7 Reviewed-on: http://review.whamcloud.com/5698 Tested-by: Hudson Reviewed-by: Andreas Dilger Reviewed-by: Alex Zhuravlev Tested-by: Maloo --- lustre/osd-ldiskfs/osd_internal.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lustre/osd-ldiskfs/osd_internal.h b/lustre/osd-ldiskfs/osd_internal.h index 26c41c3..31529f8c77 100644 --- a/lustre/osd-ldiskfs/osd_internal.h +++ b/lustre/osd-ldiskfs/osd_internal.h @@ -318,7 +318,9 @@ enum { OSD_OT_MAX = 11 }; -#define OSD_TRACK_DECLARES +#if LUSTRE_VERSION_CODE < OBD_OCD_VERSION(2, 3, 90, 0) +# define OSD_TRACK_DECLARES +#endif struct osd_thandle { struct thandle ot_super; -- 1.8.3.1