summaryrefslogtreecommitdiffstats
path: root/include/trace/events/btrfs.h
diff options
context:
space:
mode:
authorJeff Mahoney <jeffm@suse.com>2016-06-09 16:22:11 -0400
committerDavid Sterba <dsterba@suse.com>2016-07-26 13:53:15 +0200
commitcb001095ca705dcd95f57fe98867e38a4889916d (patch)
tree14a4d7643bf5b4a436f085615fbafd2575a09108 /include/trace/events/btrfs.h
parent9f8d49095b86d3494ee184f6ede4a5b179d5dc5c (diff)
downloadblackbird-op-linux-cb001095ca705dcd95f57fe98867e38a4889916d.tar.gz
blackbird-op-linux-cb001095ca705dcd95f57fe98867e38a4889916d.zip
btrfs: plumb fs_info into btrfs_work
In order to provide an fsid for trace events, we'll need a btrfs_fs_info pointer. The most lightweight way to do that for btrfs_work structures is to associate it with the __btrfs_workqueue structure. Each queued btrfs_work structure has a workqueue associated with it, so that's a natural fit. It's a privately defined structures, so we add accessors to retrieve the fs_info pointer. Signed-off-by: Jeff Mahoney <jeffm@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'include/trace/events/btrfs.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud