Btrfs: add tracepoint for em's EEXIST case
authorLiu Bo <bo.li.liu@oracle.com>
Fri, 5 Jan 2018 19:51:16 +0000 (12:51 -0700)
committerDavid Sterba <dsterba@suse.com>
Mon, 26 Mar 2018 13:09:38 +0000 (15:09 +0200)
commit393da91819e35af538ef97c7c6a04899e2fbfe0e
tree9a81e6d1a4aa4fb32a876098f0121f38bf726987
parent5d23515be66904fa3b1b5d6bd72d2199cd2447ab
Btrfs: add tracepoint for em's EEXIST case

This is adding a tracepoint 'btrfs_handle_em_exist' to help debug the
subtle bugs around merge_extent_mapping.

Signed-off-by: Liu Bo <bo.li.liu@oracle.com>
Reviewed-by: Josef Bacik <jbacik@fb.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/extent_map.c
include/trace/events/btrfs.h