2005-04-16 15:20:36 -07:00
|
|
|
/*
|
2005-11-01 20:58:39 -07:00
|
|
|
* Copyright (c) 2000-2003,2005 Silicon Graphics, Inc.
|
|
|
|
* All Rights Reserved.
|
2005-04-16 15:20:36 -07:00
|
|
|
*
|
2005-11-01 20:58:39 -07:00
|
|
|
* This program is free software; you can redistribute it and/or
|
|
|
|
* modify it under the terms of the GNU General Public License as
|
2005-04-16 15:20:36 -07:00
|
|
|
* published by the Free Software Foundation.
|
|
|
|
*
|
2005-11-01 20:58:39 -07:00
|
|
|
* This program is distributed in the hope that it would be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
* GNU General Public License for more details.
|
2005-04-16 15:20:36 -07:00
|
|
|
*
|
2005-11-01 20:58:39 -07:00
|
|
|
* You should have received a copy of the GNU General Public License
|
|
|
|
* along with this program; if not, write the Free Software Foundation,
|
|
|
|
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
2005-04-16 15:20:36 -07:00
|
|
|
*/
|
|
|
|
#ifndef __XFS_H__
|
|
|
|
#define __XFS_H__
|
2006-11-11 00:03:49 -07:00
|
|
|
|
|
|
|
#ifdef CONFIG_XFS_DEBUG
|
|
|
|
#define STATIC
|
|
|
|
#define DEBUG 1
|
|
|
|
#define XFS_BUF_LOCK_TRACKING 1
|
2008-04-22 00:34:56 -07:00
|
|
|
/* #define QUOTADEBUG 1 */
|
2006-11-11 00:03:49 -07:00
|
|
|
#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
|
2008-10-29 22:55:13 -07:00
|
|
|
#define XFS_BTREE_TRACE 1
|
2006-11-11 00:03:49 -07:00
|
|
|
#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
|
2008-02-06 22:42:19 -07:00
|
|
|
#define XFS_INODE_TRACE 1
|
2007-07-10 18:09:12 -07:00
|
|
|
#define XFS_FILESTREAMS_TRACE 1
|
2006-11-11 00:03:49 -07:00
|
|
|
#endif
|
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
#include <linux-2.6/xfs_linux.h>
|
|
|
|
#endif /* __XFS_H__ */
|