thin-provisioning-tools/thin-provisioning
Joe Thornber bb57104542 [thin_delta] By default output a simpler format that ignores the data locations.
Most people will access the data via the thin device itself, so
there's really no need to output the locations of the data on pool
device.  Doing this allows us to run together adjacent thin blocks
(even if they are not adjacent on the pool dev).

Simple format:

  <same begin="0" length="1"/>
  <different begin="1" length="4"/>
  <same begin="5" length="1"/>
  <different begin="6" length="6"/>
  <same begin="12" length="1"/>
  <different begin="13" length="9"/>
  <same begin="22" length="1"/>
  <different begin="23" length="4"/>
  <same begin="27" length="1"/>
  <different begin="28" length="3"/>
  <same begin="31" length="1"/>
  <different begin="32" length="1"/>

The old format is available using the --verbose switch:

  <same>
    <range begin="0" data_begin="0" length="1"/>
  </same>

  <different>
    <range begin="1" left_data_begin="24576" right_data_begin="16384" length="1"/>
    <range begin="2" left_data_begin="24577" right_data_begin="2" length="1"/>
    <range begin="3" left_data_begin="24578" right_data_begin="16385" length="1"/>
    <range begin="4" left_data_begin="24579" right_data_begin="4" length="1"/>
  </different>

  <same>
    <range begin="5" data_begin="5" length="1"/>
  </same>

  <different>
    <range begin="6" left_data_begin="24580" right_data_begin="16386" length="1"/>
    <range begin="7" left_data_begin="7" right_data_begin="16387" length="1"/>
    <range begin="8" left_data_begin="24581" right_data_begin="8" length="1"/>
    <range begin="9" left_data_begin="24582" right_data_begin="16388" length="1"/>
    <range begin="10" left_data_begin="10" right_data_begin="16389" length="1"/>
    <range begin="11" left_data_begin="24583" right_data_begin="11" length="1"/>
  </different>

  <same>
    <range begin="12" data_begin="12" length="1"/>
  </same>

  <different>
    <range begin="13" left_data_begin="24584" right_data_begin="13" length="1"/>
    <range begin="14" left_data_begin="24585" right_data_begin="16390" length="1"/>
    <range begin="15" left_data_begin="24586" right_data_begin="15" length="1"/>
    <range begin="16" left_data_begin="16" right_data_begin="16391" length="1"/>
    <range begin="17" left_data_begin="24587" right_data_begin="16392" length="1"/>
    <range begin="18" left_data_begin="18" right_data_begin="16393" length="3"/>
    <range begin="21" left_data_begin="24588" right_data_begin="21" length="1"/>
  </different>

  <same>
    <range begin="22" data_begin="22" length="1"/>
  </same>

  <different>
    <range begin="23" left_data_begin="24589" right_data_begin="23" length="1"/>
    <range begin="24" left_data_begin="24590" right_data_begin="16396" length="1"/>
    <range begin="25" left_data_begin="24591" right_data_begin="25" length="1"/>
    <range begin="26" left_data_begin="26" right_data_begin="16397" length="1"/>
  </different>

  <same>
    <range begin="27" data_begin="27" length="1"/>
  </same>

  <different>
    <range begin="28" left_data_begin="24592" right_data_begin="28" length="2"/>
    <range begin="30" left_data_begin="30" right_data_begin="16398" length="1"/>
  </different>

  <same>
    <range begin="31" data_begin="31" length="1"/>
  </same>

  <different>
    <range begin="32" left_data_begin="24594" right_data_begin="32" length="1"/>
  </different>
2014-06-17 14:20:33 +01:00
..
create_xml_data create_xml_data: fix mapping variation check 2013-07-10 17:15:18 +02:00
device_tree.cc stuff 2013-12-11 17:28:14 +00:00
device_tree.h [thin-provisioning] walk_device_tree() 2013-10-16 10:19:29 +01:00
emitter.h whitespace 2014-06-10 16:38:10 +01:00
human_readable_format.cc Move source into separate sub directories. 2013-01-02 12:55:41 +00: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 stuff 2013-12-11 17:28:14 +00:00
mapping_tree.h [thin-provisioning] walk_mapping_tree() 2013-10-16 10:20:15 +01:00
metadata_checker.cc WIP on cache tools 2013-09-11 11:40:46 +01:00
metadata_checker.h rename range<> -> run<> 2013-05-28 12:20:05 +01:00
metadata_dumper.cc [thin-provisioning] re-write metadata_dumper.cc 2013-10-16 10:20:43 +01:00
metadata_dumper.h Move source into separate sub directories. 2013-01-02 12:55:41 +00:00
metadata.cc remove some dead code 2014-06-16 13:41:07 +01:00
metadata.h Move endian_utils to base/ 2013-11-19 10:23:35 +00:00
restore_emitter.cc fix up some coverity issues 2013-08-15 16:26:17 +01:00
restore_emitter.h Move source into separate sub directories. 2013-01-02 12:55:41 +00:00
rmap_visitor.cc Give up with --std=c++11 2013-08-08 10:49:59 +01:00
rmap_visitor.h rename range<> -> run<> 2013-05-28 12:20:05 +01:00
superblock.cc [thin_check] --clear-needs-check-flag 2014-03-27 12:00:17 +00:00
superblock.h [thin_check] --clear-needs-check-flag 2014-03-27 12:00:17 +00:00
thin_check.cc [thin_check] Fix bug in clear needs check logic. 2014-04-02 13:43:16 +01:00
thin_debug.cc Introduce persistent-data/data-structures/ 2013-01-11 19:26:51 +00:00
thin_delta.cc [thin_delta] By default output a simpler format that ignores the data locations. 2014-06-17 14:20:33 +01:00
thin_dump.cc WIP on cache tools 2013-09-11 11:40:46 +01:00
thin_metadata_size.c whitespace 2014-01-15 15:50:50 +00:00
thin_metadata_size.rb autconf: support build of thin_metadata_size.c 2013-07-18 14:52:08 +02:00
thin_pool.cc stuff 2013-12-11 17:28:14 +00:00
thin_pool.h Introduce mapping_tree.h 2013-05-20 17:37:46 +01:00
thin_repair.cc [thin_repair] don't open the space maps in the old metadata, we'll regenerate. 2013-08-02 13:14:49 +01:00
thin_restore.cc [thin_restore] check the input file exists. 2013-09-16 13:43:06 +01:00
thin_rmap.cc stuff 2013-12-11 17:28:14 +00:00
xml_format.cc Factor out base/indented_stream.h 2014-01-31 13:43:39 +00:00
xml_format.h Move source into separate sub directories. 2013-01-02 12:55:41 +00:00