aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/volumes.h
diff options
context:
space:
mode:
authorLiu Bo <bo.li.liu@oracle.com>2017-03-10 11:09:48 -0800
committerDavid Sterba <dsterba@suse.com>2017-04-18 14:07:24 +0200
commit09ed2f165cb3449237dec842b3564044e12d22cb (patch)
tree1f87b647dea22a3056e41c7ed126f188da30bdda /fs/btrfs/volumes.h
parentbtrfs: convert btrfs_raid_bio.refs from atomic_t to refcount_t (diff)
downloadlinux-dev-09ed2f165cb3449237dec842b3564044e12d22cb.tar.xz
linux-dev-09ed2f165cb3449237dec842b3564044e12d22cb.zip
Btrfs: add file item tracepoints
While debugging truncate problems, I found that these tracepoints could help us quickly know what went wrong. Two sets of tracepoints are created to track regular/prealloc file item and inline file item respectively, I put inline as a separate one since what inline file items cares about are way less than the regular one. This adds four tracepoints: - btrfs_get_extent_show_fi_regular - btrfs_get_extent_show_fi_inline - btrfs_truncate_show_fi_regular - btrfs_truncate_show_fi_inline Cc: David Sterba <dsterba@suse.cz> Signed-off-by: Liu Bo <bo.li.liu@oracle.com> Reviewed-by: David Sterba <dsterba@suse.com> [ formatting adjustments ] Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/volumes.h')
0 files changed, 0 insertions, 0 deletions