Commit Graph

780 Commits

Author SHA1 Message Date
c6decff50c [doc] Fix a typo and a docu bug. 2014-06-18 13:37:48 +01:00
e4d82d04bd [thin_delta] Fix bug when detecting right_only mappings 2014-06-17 16:20:38 +01:00
c8f408ac3c [thin_delta] Update the usage 2014-06-17 15:00:38 +01:00
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
0e62a1c4de [thin_delta] provide a more complete diff output. 2014-06-17 12:39:13 +01:00
f80c2dc77f [thin_delta] Don't use endl which also flushes 2014-06-16 13:58:25 +01:00
c5c699e563 whitespace 2014-06-16 13:44:43 +01:00
ebb49db5d3 cache_calc_blocks; tidy up the calculation of nr blocks 2014-06-16 13:42:13 +01:00
cb6edde141 add comment 2014-06-16 13:41:45 +01:00
72e20c2d40 remove some dead code 2014-06-16 13:41:07 +01:00
d7d293ee4f thin_delta now works 2014-06-10 16:38:20 +01:00
d1989f4a14 whitespace 2014-06-10 16:38:10 +01:00
e851b35954 [thin_delta] read in the snaps and dev 2014-06-09 13:26:55 +01:00
b03fa373a1 [thin_delta] Print usage on unrecognised switch 2014-06-09 10:51:10 +01:00
83f2cce597 [thin_delta] -h/--help 2014-06-09 10:48:29 +01:00
87fa6dc079 [thin_delta] --version/-V 2014-06-09 10:37:46 +01:00
ae21670fd1 Merge branch 'master' of github.com:jthornber/thin-provisioning-tools 2014-06-06 15:06:33 +01:00
256cd16ab3 node_ref now checks the value_type sizes match, and the data fits within a single block. 2014-06-06 15:05:41 +01:00
82359c4835 remove a typename that rhel 6.6 objects to 2014-04-11 14:52:06 +01:00
cf5d2e3225 bump version 2014-04-11 14:11:59 +01:00
05b18a5b99 [thin_check] Fix bug in clear needs check logic.
Mixed up bools and int returns.
2014-04-02 13:43:16 +01:00
7eabc78d6d [era] qualify btiset 2014-04-01 17:43:15 +01:00
c802bf81d5 bump version 2014-04-01 16:40:14 +01:00
47ec37a9fd [thin tools] fix ambiguous reference to 'bitset' 2014-04-01 16:39:45 +01:00
df8447de3d bump version 2014-03-27 12:24:31 +00:00
8c24419238 Knock out the era_superblock_t for now.
It's still got some bloom stuff in it.  Will tidy up after release.
2014-03-27 12:23:00 +00:00
c3249ff757 [thin_check] --clear-needs-check-flag 2014-03-27 12:00:17 +00:00
fe019f6946 install era tools 2014-03-06 16:30:33 +00:00
49e59ca781 [era_dump] add --logical 2014-02-14 14:35:25 +00:00
54f38e6702 [era_invalidate] Change to output ranges. 2014-02-12 11:49:41 +00:00
5fe5d213b7 Merge branch 'master' of github.com:jthornber/thin-provisioning-tools into era
Conflicts:
	Makefile.in
2014-01-31 22:35:04 +00:00
d3afa57082 era_invalidate 2014-01-31 16:31:27 +00:00
344f4b1e08 Factor out base/indented_stream.h 2014-01-31 13:43:39 +00:00
8531a2befa [era] switch from bloom filters to writesets 2014-01-29 21:37:25 +00:00
e7bbfbc1fd update ignore file 2014-01-23 00:46:29 +00:00
9e0540e1b6 era_check, era_dump 2014-01-23 00:46:03 +00:00
2f1789744f [caching] add missing break in cache_metadata_size 2014-01-15 16:48:46 +00:00
ef6066e2cd Merge branch 'master' of github.com:jthornber/thin-provisioning-tools 2014-01-15 15:52:33 +00:00
cbbdfc37da [cache] cache_metadata_size 2014-01-15 15:52:05 +00:00
c24fa93f2c whitespace 2014-01-15 15:50:50 +00:00
bed0f369a8 [era_check] Now checks bloom tree 2014-01-14 23:59:12 +00:00
41d25aa9e4 [era_check] Was always returning FATAL 2014-01-13 13:58:38 +00:00
bfb540cc5b [era] era_superblock_t and era_check 2014-01-09 22:40:34 +00:00
2db5e0265d [cache_check features] rename a step 2014-01-08 20:39:46 +00:00
81fa131748 [cache_check] --super-block-only rather than --superblock-only
Be consistent with help and thin_check
2014-01-08 20:05:55 +00:00
2250abe605 [era] superblock packing 2014-01-08 15:31:42 +00:00
4df679174c correct a couple of #includes that were pointing to the old location of endian_utils.h 2014-01-08 11:04:56 +00:00
e1e9e34a55 Merge branch 'era' of github.com:jthornber/thin-provisioning-tools into era 2014-01-08 10:53:44 +00:00
e2bb628c57 [era] add in some wip files (transferring development to another machine) 2014-01-08 10:53:05 +00:00
be5fa59f90 Merge branch 'era' of github.com:jthornber/thin-provisioning-tools into era 2014-01-08 10:50:26 +00:00