From: Fan Yong Date: Wed, 13 Feb 2013 13:09:39 +0000 (+0800) Subject: LU-2640 osd: conditional enable transaction debug X-Git-Tag: 2.3.63~44 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=cd4b609713b678cc464efa5ce2cabb01b41c9a30;p=fs%2Flustre-release.git 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 --- 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;