diff options
author | Vlad Apostolov <vapo@sgi.com> | 2006-11-11 18:03:49 +1100 |
---|---|---|
committer | Tim Shimmin <tes@sgi.com> | 2006-11-11 18:03:49 +1100 |
commit | 93c189c1148a5e39bcc8f62568f42a77f93477c5 (patch) | |
tree | e24d578c608b167bec1b18f625adc67772210b62 /fs/xfs/xfs.h | |
parent | 088406bcf66d6c7fd8a5c04c00aa410ae9077403 (diff) | |
download | blackbird-obmc-linux-93c189c1148a5e39bcc8f62568f42a77f93477c5.tar.gz blackbird-obmc-linux-93c189c1148a5e39bcc8f62568f42a77f93477c5.zip |
[XFS] 956618: Linux crashes on boot with XFS-DMAPI filesystem when
CONFIG_XFS_TRACE is on
SGI-PV: 956618
SGI-Modid: xfs-linux-melb:xfs-kern:27196a
Signed-off-by: Vlad Apostolov <vapo@sgi.com>
Signed-off-by: Tim Shimmin <tes@sgi.com>
Diffstat (limited to 'fs/xfs/xfs.h')
-rw-r--r-- | fs/xfs/xfs.h | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/fs/xfs/xfs.h b/fs/xfs/xfs.h index 1a48dbb902a7..bf0a12040b13 100644 --- a/fs/xfs/xfs.h +++ b/fs/xfs/xfs.h @@ -17,5 +17,28 @@ */ #ifndef __XFS_H__ #define __XFS_H__ + +#ifdef CONFIG_XFS_DEBUG +#define STATIC +#define DEBUG 1 +#define XFS_BUF_LOCK_TRACKING 1 +/* #define QUOTADEBUG 1 */ +#endif + +#ifdef CONFIG_XFS_TRACE +#define XFS_ALLOC_TRACE 1 +#define XFS_ATTR_TRACE 1 +#define XFS_BLI_TRACE 1 +#define XFS_BMAP_TRACE 1 +#define XFS_BMBT_TRACE 1 +#define XFS_DIR2_TRACE 1 +#define XFS_DQUOT_TRACE 1 +#define XFS_ILOCK_TRACE 1 +#define XFS_LOG_TRACE 1 +#define XFS_RW_TRACE 1 +#define XFS_BUF_TRACE 1 +#define XFS_VNODE_TRACE 1 +#endif + #include <linux-2.6/xfs_linux.h> #endif /* __XFS_H__ */ |