Joe Thornber
0098803345
[thinp_*] Make mtree_ref_counter derive from ref_counter.
...
Slight performance hit, but I'd rather everything was derived
from ref_counter.
Also implement it! Not sure why this wasn't done before.
2020-04-08 12:24:37 +01:00
Joe Thornber
b777a77023
[thin-provisioning] pass the tm by reference to the metadata object
2019-04-04 15:06:41 +01:00
Ming-Hung Tsai
e8f1bda1a5
[thin] store the device id in single_mapping_tree_damage_visitor for error reporting
...
1. fix the damage type for single_mapping_tree_damage_visitor
2. walk_mapping_tree() now requires the device id
3. update metadata_dumper and thin_ls for the new walk_mapping_tree()
2016-06-20 00:30:25 +08:00
Joe Thornber
f85b7cef3f
thin_dump, thin_check: Fix bug in damage reporting
2015-07-03 13:00:13 +01:00
Joe Thornber
7f643b7050
[thin] Use specific damage visitors to improve error messages.
...
There's now a damage visitor for dev_trees, mapping_trees and
single_mapping_trees.
2015-04-07 12:16:46 +01:00
Joe Thornber
8049d369a9
stuff
2013-12-11 17:28:14 +00:00
Joe Thornber
b87742ccff
[thin-provisioning] walk_mapping_tree()
2013-10-16 10:20:15 +01:00
Joe Thornber
e64dda95f6
rename range<> -> run<>
2013-05-28 12:20:05 +01:00
Joe Thornber
8ccfff6c34
[thin-check] wire up superblock-only and skip-mappings
2013-05-23 11:25:54 +01:00
Joe Thornber
4e61578508
mapping_tree.{h,cc}
2013-05-21 11:46:37 +01:00