diff options
author | rodrigc <rodrigc@FreeBSD.org> | 2005-12-12 01:04:32 +0000 |
---|---|---|
committer | rodrigc <rodrigc@FreeBSD.org> | 2005-12-12 01:04:32 +0000 |
commit | 410e08d350a2cfcb50386dc6b5a24a5d82825067 (patch) | |
tree | 8ac52e2fe37d3790aa9ac8fc061d5c395bc1b946 /sys/gnu/fs/xfs/FreeBSD/xfs_config.h | |
parent | ff6c302a67bb107dfea59fdc76583af9913df36e (diff) | |
download | FreeBSD-src-410e08d350a2cfcb50386dc6b5a24a5d82825067.zip FreeBSD-src-410e08d350a2cfcb50386dc6b5a24a5d82825067.tar.gz |
Initial import of read-only support for SGI's XFS filesystem.
Contributed by: XFS for FreeBSD project
Diffstat (limited to 'sys/gnu/fs/xfs/FreeBSD/xfs_config.h')
-rw-r--r-- | sys/gnu/fs/xfs/FreeBSD/xfs_config.h | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/sys/gnu/fs/xfs/FreeBSD/xfs_config.h b/sys/gnu/fs/xfs/FreeBSD/xfs_config.h new file mode 100644 index 0000000..a115f54 --- /dev/null +++ b/sys/gnu/fs/xfs/FreeBSD/xfs_config.h @@ -0,0 +1,38 @@ +#ifndef __XFS_CONFIG_H__ +#define __XFS_CONFIG_H__ + +#define HAVE_FID 1 +/* + * Linux config variables, harcoded to values desirable for FreeBSD. + */ +#define CONFIG_SYSCTL 1 +#define CONFIG_LBD 1 +#define CONFIG_XFS_TRACE 0 + +/* + * Tracing. + */ +#if CONFIG_XFS_TRACE == 1 +#define XFS_ALLOC_TRACE 1 +#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_DIR_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 +#endif + +/* + * XFS config defines. + */ +#define XFS_BIG_BLKNOS 1 +#define XFS_BIG_INUMS 0 + +#undef XFS_STATS_OFF + +#endif /* __XFS_CONFIG_H__ */ |