thin-provisioning-tools/thin-provisioning
Ming-Hung Tsai 49efa06ffa [thin_check] Support fixing leaked metadata blocks
- The leaked blocks are defined as allocated but not used ones,
  i.e., expected ref-count == 0 and actual ref-count <= 2.
- Blocks with expected ref-count > 0, or actual ref-count > 2,
  are treated as unrepairable leaks.
- The fixing processing won't be executed if there's any
  unrepairable leak or errors.
- The fixing process implicitly clearing the superblock
  needs_check flag if there's no error.
2020-07-30 23:00:50 +08:00
..
cache_stream.cc [block-cache] fix potential file descriptor leak 2020-02-23 15:41:16 +08:00
cache_stream.h Merge branch 'master' of github.com:jthornber/thin-provisioning-tools 2020-04-08 12:30:26 +01:00
chunk_stream.cc [thin_show_dups] remove variable number of mems per chunks. 2015-09-04 13:48:02 +01:00
chunk_stream.h [thin_show_dups] tidy up reporting 2015-09-04 15:16:49 +01:00
commands.cc [thin_generate_damage] Introduce tools to generate metadata damage 2020-07-25 16:53:44 +08:00
commands.h [thin_generate_damage] Introduce tools to generate metadata damage 2020-07-25 16:53:44 +08:00
create_xml_data create_xml_data: fix mapping variation check 2013-07-10 17:15:18 +02:00
damage_generator.cc [thin_generate_damage] Introduce tools to generate metadata damage 2020-07-25 16:53:44 +08:00
damage_generator.h [thin_generate_damage] Introduce tools to generate metadata damage 2020-07-25 16:53:44 +08:00
device_tree.cc [thin_check/dump] Under populated nodes are now 'non fatal errors' 2020-07-02 16:03:23 +01:00
device_tree.h [base] Move run_set to namespace base 2020-07-29 15:33:25 +08:00
emitter.h [all] Switch from boost::shared_ptr -> std::shared_ptr. 2020-04-30 15:02:43 +01:00
fixed_chunk_stream.cc [thin_show_dups] Support fractions of a pool block size 2015-09-08 17:09:41 +01:00
fixed_chunk_stream.h [thin_show_dups] Support fractions of a pool block size 2015-09-08 17:09:41 +01:00
human_readable_format.cc [thin_dump] human_readable emitter didn't print the metadata_snap. 2018-04-17 10:29:31 +01:00
human_readable_format.h Move source into separate sub directories. 2013-01-02 12:55:41 +00:00
main.cc Move source into separate sub directories. 2013-01-02 12:55:41 +00:00
mapping_tree.cc [thin] Fix indent and trailing whitespaces 2020-07-29 16:47:22 +08:00
mapping_tree.h [thin] Fix indent and trailing whitespaces 2020-07-29 16:47:22 +08:00
metadata_checker.cc [thin_check] Support fixing leaked metadata blocks 2020-07-30 23:00:50 +08:00
metadata_checker.h [thin_check] Support fixing leaked metadata blocks 2020-07-30 23:00:50 +08:00
metadata_counter.cc [space map disk] tidy up: add const qualifier 2016-06-20 00:40:10 +08:00
metadata_counter.h [space map disk] tidy up: add const qualifier 2016-06-20 00:40:10 +08:00
metadata_dumper.cc [thin_check/dump] Under populated nodes are now 'non fatal errors' 2020-07-02 16:03:23 +01:00
metadata_dumper.h [block_manager] Hard code block size to 4k. 2020-04-30 14:30:01 +01:00
metadata.cc [thin] Fix indent and trailing whitespaces 2020-07-29 16:47:22 +08:00
metadata.h [all] Eliminate duplicated sector_t typedefs 2020-06-19 18:07:55 +08:00
override_emitter.cc Add some ftests, and fixup whitespace from Nikhil's work 2019-10-28 11:52:21 +00:00
override_emitter.h Add some ftests, and fixup whitespace from Nikhil's work 2019-10-28 11:52:21 +00:00
pool_stream.cc [thin_show_dups] tidy up reporting 2015-09-04 15:16:49 +01:00
pool_stream.h [thin_show_dups] tidy up reporting 2015-09-04 15:16:49 +01:00
restore_emitter.cc Add some ftests, and fixup whitespace from Nikhil's work 2019-10-28 11:52:21 +00:00
restore_emitter.h Corrupt superblock repair 2019-10-25 15:02:56 +05:30
rmap_visitor.cc Give up with --std=c++11 2013-08-08 10:49:59 +01:00
rmap_visitor.h [base] Move run_set to namespace base 2020-07-29 15:33:25 +08:00
shared_library_emitter.cc [thin_dump] --format custom=<shared lib> 2016-03-24 13:59:08 +00:00
shared_library_emitter.h [thin_dump] --format custom=<shared lib> 2016-03-24 13:59:08 +00:00
static_library_emitter.cc remove debug print 2017-02-06 13:11:10 +03:00
superblock.cc [thin_check] Add support for --metadata-snap. 2020-06-09 14:25:19 +01:00
superblock.h [thin_check] Add support for --metadata-snap. 2020-06-09 14:25:19 +01:00
thin_check.cc [thin_check] Support fixing leaked metadata blocks 2020-07-30 23:00:50 +08:00
thin_debug.cc [all] Switch from boost::shared_ptr -> std::shared_ptr. 2020-04-30 15:02:43 +01:00
thin_delta.cc [base] Move run_set to namespace base 2020-07-29 15:33:25 +08:00
thin_dump.cc [block_manager] Hard code block size to 4k. 2020-04-30 14:30:01 +01:00
thin_generate_damage.cc [thin_generate_damage] Introduce tools to generate metadata damage 2020-07-25 16:53:44 +08:00
thin_generate_mappings.cc [io_generator] Support mixed sequential and random io pattern 2020-07-25 17:46:59 +08:00
thin_generate_metadata.cc [thin_generate_metadata] Fix command line options 2020-07-25 16:53:44 +08:00
thin_journal_check.cc [dev-tools] Update dev tools to use non-template version of block_manager. 2020-05-01 14:11:33 +01:00
thin_journal.cc [dev-tools] Update dev tools to use non-template version of block_manager. 2020-05-01 14:11:33 +01:00
thin_journal.h [dev-tools] Update dev tools to use non-template version of block_manager. 2020-05-01 14:11:33 +01:00
thin_ll_dump.cc [dev-tools] Update dev tools to use non-template version of block_manager. 2020-05-01 14:11:33 +01:00
thin_ll_restore.cc [dev-tools] Update dev tools to use non-template version of block_manager. 2020-05-01 14:11:33 +01:00
thin_ls.cc [block_manager] Hard code block size to 4k. 2020-04-30 14:30:01 +01:00
thin_metadata_size.cc [thin-metadata-size] -V was exiting with 1 2017-09-19 11:29:35 +01:00
thin_metadata_size.rb thin_metadata_size: Fix long names of units 2014-05-17 03:51:06 -04:00
thin_pool.cc [thin_generate_metadata] Support setting the needs_check flag 2020-07-25 16:53:44 +08:00
thin_pool.h [thin_generate_metadata] Support setting the needs_check flag 2020-07-25 16:53:44 +08:00
thin_repair.cc [block_manager] Hard code block size to 4k. 2020-04-30 14:30:01 +01:00
thin_restore.cc [block_manager] Hard code block size to 4k. 2020-04-30 14:30:01 +01:00
thin_rmap.cc [base] Move run_set to namespace base 2020-07-29 15:33:25 +08:00
thin_scan.cc [dev-tools] Update dev tools to use non-template version of block_manager. 2020-05-01 14:11:33 +01:00
thin_show_duplicates.cc [dev-tools] Update dev tools to use non-template version of block_manager. 2020-05-01 14:11:33 +01:00
thin_show_metadata.cc [dev-tools] Update dev tools to use non-template version of block_manager. 2020-05-01 14:11:33 +01:00
thin_trim.cc [block_manager] Hard code block size to 4k. 2020-04-30 14:30:01 +01:00
variable_chunk_stream.cc [thin_show_dups] tidy up reporting 2015-09-04 15:16:49 +01:00
variable_chunk_stream.h [thin_show_dups] tidy up reporting 2015-09-04 15:16:49 +01:00
xml_format.cc [emitter] Preserve the flags and version entries in superblock 2016-02-27 15:20:02 +08:00
xml_format.h [*_restore] Add progress bar to cache_restore and era_restore. 2014-08-26 13:05:21 +01:00