diff options
author | Brian Foster <bfoster@redhat.com> | 2014-04-24 02:00:52 -0400 |
---|---|---|
committer | Dave Chinner <david@fromorbit.com> | 2014-04-24 02:00:52 -0400 |
commit | aafc3c24652924ea951d215d04a3f42e832e9d7d (patch) | |
tree | f043c4c8dc0e307e6ed7e99acb284f8363a3e5c4 /fs/xfs/xfs_stats.h | |
parent | 8e2c84df20aa66ae9a6ee32831a9c622f4823118 (diff) |
xfs: support the XFS_BTNUM_FINOBT free inode btree type
Define the AGI fields for the finobt root/level and add magic
numbers. Update the btree code to add support for the new
XFS_BTNUM_FINOBT inode btree.
The finobt root block is reserved immediately following the inobt
root block in the AG. Update XFS_PREALLOC_BLOCKS() to determine the
starting AG data block based on whether finobt support is enabled.
Signed-off-by: Brian Foster <bfoster@redhat.com>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
Diffstat (limited to 'fs/xfs/xfs_stats.h')
-rw-r--r-- | fs/xfs/xfs_stats.h | 18 |
1 files changed, 17 insertions, 1 deletions
diff --git a/fs/xfs/xfs_stats.h b/fs/xfs/xfs_stats.h index c03ad38ceaeb..c8f238b8299a 100644 --- a/fs/xfs/xfs_stats.h +++ b/fs/xfs/xfs_stats.h | |||
@@ -183,7 +183,23 @@ struct xfsstats { | |||
183 | __uint32_t xs_ibt_2_alloc; | 183 | __uint32_t xs_ibt_2_alloc; |
184 | __uint32_t xs_ibt_2_free; | 184 | __uint32_t xs_ibt_2_free; |
185 | __uint32_t xs_ibt_2_moves; | 185 | __uint32_t xs_ibt_2_moves; |
186 | #define XFSSTAT_END_XQMSTAT (XFSSTAT_END_IBT_V2+6) | 186 | #define XFSSTAT_END_FIBT_V2 (XFSSTAT_END_IBT_V2+15) |
187 | __uint32_t xs_fibt_2_lookup; | ||
188 | __uint32_t xs_fibt_2_compare; | ||
189 | __uint32_t xs_fibt_2_insrec; | ||
190 | __uint32_t xs_fibt_2_delrec; | ||
191 | __uint32_t xs_fibt_2_newroot; | ||
192 | __uint32_t xs_fibt_2_killroot; | ||
193 | __uint32_t xs_fibt_2_increment; | ||
194 | __uint32_t xs_fibt_2_decrement; | ||
195 | __uint32_t xs_fibt_2_lshift; | ||
196 | __uint32_t xs_fibt_2_rshift; | ||
197 | __uint32_t xs_fibt_2_split; | ||
198 | __uint32_t xs_fibt_2_join; | ||
199 | __uint32_t xs_fibt_2_alloc; | ||
200 | __uint32_t xs_fibt_2_free; | ||
201 | __uint32_t xs_fibt_2_moves; | ||
202 | #define XFSSTAT_END_XQMSTAT (XFSSTAT_END_FIBT_V2+6) | ||
187 | __uint32_t xs_qm_dqreclaims; | 203 | __uint32_t xs_qm_dqreclaims; |
188 | __uint32_t xs_qm_dqreclaim_misses; | 204 | __uint32_t xs_qm_dqreclaim_misses; |
189 | __uint32_t xs_qm_dquot_dups; | 205 | __uint32_t xs_qm_dquot_dups; |