OSDN Git Service

btrfs: Add qgroup tracing
authorMark Fasheh <mfasheh@suse.de>
Wed, 30 Mar 2016 00:19:55 +0000 (17:19 -0700)
committerDavid Sterba <dsterba@suse.com>
Mon, 4 Apr 2016 14:29:22 +0000 (16:29 +0200)
commit0f5dcf8de974db5970d48d12a202997baa2846a1
tree46fcf009452af19d1c76b5f06d4facdfc3f98064
parentc79b4713304f812d3d6c95826fc3e5fc2c0b0c14
btrfs: Add qgroup tracing

This patch adds tracepoints to the qgroup code on both the reporting side
(insert_dirty_extents) and the accounting side. Taken together it allows us
to see what qgroup operations have happened, and what their result was.

Signed-off-by: Mark Fasheh <mfasheh@suse.de>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/qgroup.c
include/trace/events/btrfs.h