Qu Wenruo
43eb5f2975
btrfs: Introduce extent_io_tree::owner to distinguish different io_trees
...
Btrfs has the following different extent_io_trees used:
- fs_info::free_extents[2]
- btrfs_inode::io_tree - for both normal inodes and the btree inode
- btrfs_inode::io_failure_tree
- btrfs_transaction::dirty_pages
- btrfs_root::dirty_log_pages
If we want to trace changes in those trees, it will be pretty hard to
distinguish them.
Instead of using hard-to-read pointer address, this patch will introduce
a new member extent_io_tree::owner to track the owner.
This modification needs all the callers of extent_io_tree_init() to
accept a new parameter @owner.
This patch provides the basis for later trace events.
Signed-off-by: Qu Wenruo <wqu@suse.com >
Reviewed-by: David Sterba <dsterba@suse.com >
Signed-off-by: David Sterba <dsterba@suse.com >
2019-04-29 19:02:18 +02:00
..
2019-04-29 19:02:18 +02:00
2019-02-25 14:13:17 +01:00
2019-02-25 14:13:24 +01:00
2018-04-12 16:29:46 +02:00
2019-02-25 14:13:39 +01:00
2018-04-12 16:29:46 +02:00
2018-12-17 14:51:43 +01:00
2018-12-17 14:51:50 +01:00
2018-04-12 16:29:46 +02:00
2019-03-08 14:12:17 -08:00
2019-02-25 14:13:32 +01:00
2019-02-25 14:19:23 +01:00
2019-03-12 14:53:57 -07:00
2018-04-12 16:29:46 +02:00
2018-10-15 17:23:38 +02:00
2018-10-15 17:23:33 +02:00
2019-02-25 14:13:39 +01:00
2019-02-25 14:13:39 +01:00
2019-02-25 14:13:41 +01:00
2018-12-17 14:51:45 +01:00
2018-10-15 17:23:25 +02:00
2019-04-29 19:02:18 +02:00
2018-12-17 14:51:43 +01:00
2018-10-15 17:23:25 +02:00
2018-04-12 16:29:46 +02:00
2019-04-29 19:02:18 +02:00
2019-04-29 19:02:18 +02:00
2019-02-25 14:13:21 +01:00
2019-02-25 14:13:21 +01:00
2019-04-29 19:02:18 +02:00
2019-04-25 14:17:38 +02:00
2019-04-29 19:02:18 +02:00
2018-11-06 16:42:32 +01:00
2018-04-12 16:29:46 +02:00
2018-12-17 14:51:37 +01:00
2018-05-28 18:07:36 +02:00
2018-04-12 16:29:51 +02:00
2018-08-06 13:12:43 +02:00
2018-04-12 16:29:46 +02:00
2019-04-29 19:02:18 +02:00
2019-03-28 18:10:27 +01:00
2018-04-12 16:29:55 +02:00
2019-02-25 14:13:28 +01:00
2019-02-25 14:13:28 +01:00
2019-02-25 14:13:32 +01:00
2018-03-26 15:09:39 +02:00
2018-04-12 16:29:46 +02:00
2019-04-25 14:17:38 +02:00
2018-12-17 14:51:43 +01:00
2018-04-12 16:29:51 +02:00
2018-08-06 13:12:41 +02:00
2018-04-20 19:18:16 +02:00
2019-04-04 17:57:53 +02:00
2018-04-12 16:29:46 +02:00
2019-03-19 14:12:31 +01:00
2019-02-25 14:13:39 +01:00
2019-03-26 10:32:13 -07:00
2018-04-12 16:29:46 +02:00
2018-04-12 16:29:46 +02:00
2018-12-17 14:51:45 +01:00
2019-02-25 14:13:27 +01:00
2018-04-12 16:29:46 +02:00
2019-04-29 19:02:18 +02:00
2019-04-29 19:02:17 +02:00
2019-04-29 19:02:17 +02:00
2019-01-03 18:57:57 -08:00
2018-04-12 16:29:46 +02:00
2018-08-06 13:12:43 +02:00
2019-02-25 14:13:33 +01:00
2018-12-17 14:51:37 +01:00
2018-12-17 14:51:43 +01:00
2019-04-29 19:02:18 +02:00
2019-04-29 19:02:18 +02:00
2018-12-17 14:51:50 +01:00
2018-04-12 16:29:46 +02:00
2019-02-25 14:13:27 +01:00
2019-03-20 19:53:39 +01:00
2018-12-17 14:51:31 +01:00
2018-04-12 16:29:51 +02:00
2018-04-12 16:29:46 +02:00
2018-05-30 16:46:53 +02:00
2019-03-13 17:14:27 +01:00
2019-02-25 14:13:30 +01:00
2018-12-17 14:51:49 +01:00
2018-04-12 16:29:46 +02:00
2019-02-25 14:13:32 +01:00
2019-04-29 19:02:18 +02:00