aboutsummaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_da_btree.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/xfs/xfs_da_btree.c')
-rw-r--r--fs/xfs/xfs_da_btree.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/fs/xfs/xfs_da_btree.c b/fs/xfs/xfs_da_btree.c
index 7bfb7dd334fc..c62e7e6ff50e 100644
--- a/fs/xfs/xfs_da_btree.c
+++ b/fs/xfs/xfs_da_btree.c
@@ -779,6 +779,8 @@ xfs_da_node_toosmall(xfs_da_state_t *state, int *action)
779 xfs_dablk_t blkno; 779 xfs_dablk_t blkno;
780 struct xfs_buf *bp; 780 struct xfs_buf *bp;
781 781
782 trace_xfs_da_node_toosmall(state->args);
783
782 /* 784 /*
783 * Check for the degenerate case of the block being over 50% full. 785 * Check for the degenerate case of the block being over 50% full.
784 * If so, it's not worth even looking to see if we might be able 786 * If so, it's not worth even looking to see if we might be able
@@ -900,6 +902,8 @@ xfs_da_fixhashpath(xfs_da_state_t *state, xfs_da_state_path_t *path)
900 xfs_dahash_t lasthash=0; 902 xfs_dahash_t lasthash=0;
901 int level, count; 903 int level, count;
902 904
905 trace_xfs_da_fixhashpath(state->args);
906
903 level = path->active-1; 907 level = path->active-1;
904 blk = &path->blk[ level ]; 908 blk = &path->blk[ level ];
905 switch (blk->magic) { 909 switch (blk->magic) {
@@ -1417,6 +1421,8 @@ xfs_da_path_shift(xfs_da_state_t *state, xfs_da_state_path_t *path,
1417 xfs_dablk_t blkno=0; 1421 xfs_dablk_t blkno=0;
1418 int level, error; 1422 int level, error;
1419 1423
1424 trace_xfs_da_path_shift(state->args);
1425
1420 /* 1426 /*
1421 * Roll up the Btree looking for the first block where our 1427 * Roll up the Btree looking for the first block where our
1422 * current index is not at the edge of the block. Note that 1428 * current index is not at the edge of the block. Note that