Commit Graph

445 Commits

Author SHA1 Message Date
Joe Thornber
730f3b9f9a Get unit-tests building with g++ 4.8.1 2013-06-25 14:18:38 +01:00
Joe Thornber
eb8d4c6f0b Get tools building with g++ 4.8.1 2013-06-25 13:48:02 +01:00
Joe Thornber
7b603183df Merge branch 'Work_1' of https://github.com/lvmguy/thin-provisioning-tools
Conflicts:
	Makefile.in
2013-06-25 11:18:45 +01:00
Joe Thornber
f41b0abcef [cucumber tests] make the 'print version' tests less brittle 2013-06-25 11:11:50 +01:00
Joe Thornber
51852e0aef [build] remove cache_check from the default build 2013-06-25 11:11:00 +01:00
Joe Thornber
f0edd3ae6e cucumber tests now read version from VERSION rather than having it hard coded in 2013-06-25 11:10:19 +01:00
Joe Thornber
da2fd75853 bump VERSION 2013-06-25 10:56:08 +01:00
Joe Thornber
bcdb373b9a [unit-tests] remove a bit of debug output 2013-06-25 10:55:50 +01:00
Joe Thornber
46c0f74a9e [build] install thin_rmap and thin_metadata_calc 2013-06-25 10:46:10 +01:00
Heinz Mauelshagen
2d74d47373 thin_metadata_size: allow for very small sizes 2013-06-24 13:52:46 +02:00
Heinz Mauelshagen
6ff5e418eb thin_metadata_size: missed estimated_result() return 2013-06-24 13:21:14 +02:00
Heinz Mauelshagen
b20caae5cc thin_metadata_size: add get_index(); streamline 2013-06-24 13:18:33 +02:00
Heinz Mauelshagen
bea157cf70 thin_metadata_size: suppurt bytes unit 2013-06-24 12:30:43 +02:00
Heinz Mauelshagen
ee10946959 Makefile.in: install thin_metadata_size 2013-06-21 16:13:54 +02:00
Heinz Mauelshagen
415b839aca Makefile.in: install thin_metadata_size 2013-06-21 16:11:24 +02:00
Heinz Mauelshagen
91139a56f2 Makefile.in: install thin_metadata_size 2013-06-21 16:08:57 +02:00
Heinz Mauelshagen
92028bcef6 thin_metadata_size: add an index variable to init_units and fiy a message type 2013-06-21 15:46:39 +02:00
Heinz Mauelshagen
b4db483647 thin_metadata_size: avoid unit_chars variable and adjust estimated output message 2013-06-21 14:58:53 +02:00
Heinz Mauelshagen
8d2ae677ff thin_metadata_size: algorithm corrections and output adjustments 2013-06-21 14:33:14 +02:00
Heinz Mauelshagen
0b29c22ba9 thin_metadata_size: new metadata size calculation tool 2013-06-21 12:41:53 +02:00
Heinz Mauelshagen
f376fdfb49 thin_check.cc: remove superfluous 'if (enabled)' 2013-06-21 12:35:06 +02:00
Heinz Mauelshagen
9900c91c1b thin_check.cc: support --quiet in nested_output 2013-06-21 12:35:06 +02:00
Joe Thornber
00b0c4356e [build] include btree.cc in the tools build (was just in unit-tests). 2013-06-20 14:46:46 +01:00
Joe Thornber
65cf07597e [btree_t] remove some debug output 2013-06-20 14:37:14 +01:00
Joe Thornber
83a09e1a2a [btree] use a block_ref_counter for internal nodes 2013-06-20 14:29:48 +01:00
Joe Thornber
e89d81e318 [btree] fix bug in earlier patch. inc_children was always begin called. 2013-06-20 14:26:17 +01:00
Joe Thornber
16c9efc85c [btree] Avoid an extra shadow op in split_sibling 2013-06-20 12:17:59 +01:00
Joe Thornber
c8a5d0753d [btree] factor out inc_children 2013-06-20 12:17:16 +01:00
Joe Thornber
a2e51062e3 [btree] call inc_children when shadowning a btree node. 2013-06-19 17:20:12 +01:00
Joe Thornber
ec99e6fd93 [btree] update the root_ after an insert
!!!
2013-06-19 17:19:24 +01:00
Joe Thornber
a8585f1d68 Use full paths in some includes 2013-06-19 17:18:39 +01:00
Joe Thornber
76bbfcb891 [btree_t] add failing clone test 2013-06-19 17:17:45 +01:00
Joe Thornber
5f778db322 More work on the thin_check --quiet feature 2013-06-19 14:36:09 +01:00
Joe Thornber
9b4ec6cafc Add a cucumber test for thin_check --quiet 2013-06-19 14:13:29 +01:00
Joe Thornber
108b3ea1cd Merge branch 'Work_1' of https://github.com/lvmguy/thin-provisioning-tools 2013-06-19 13:53:23 +01:00
Heinz Mauelshagen
5d6a3c184b thin_check.cc: remove superfluous 'if (enabled)' 2013-06-19 14:15:53 +02:00
Heinz Mauelshagen
41287e182f thin_check.cc: support --quiet in nested_output 2013-06-19 14:12:44 +02:00
Joe Thornber
3bfae3461e make clean now uses find to locate all object files 2013-06-19 13:10:12 +01:00
Heinz Mauelshagen
3821dfefc0 Merge branch 'Work_1' of github.com:lvmguy/thin-provisioning-tools into Work_1 2013-06-19 13:51:58 +02:00
Heinz Mauelshagen
f0c9c6ec7b Makefile.in: remove */*.o on clean 2013-06-19 13:49:00 +02:00
Heinz Mauelshagen
88f9252a03 thin_check.cc: reenable --quiet option 2013-06-19 13:41:29 +02:00
Joe Thornber
21074456ca thin_repair 2013-06-19 12:39:28 +01:00
Heinz Mauelshagen
c83e33d1a7 thin_check.cc: reenable --quiet option 2013-06-19 13:38:14 +02:00
Joe Thornber
0938d24ea1 Take held root support out of thin_dump.
Temporary, just to get things building.
2013-06-19 12:11:34 +01:00
Joe Thornber
1a88404493 Knock thin_debug out of the build for now. 2013-06-19 12:10:21 +01:00
Joe Thornber
055b237126 tweaks to metadata constructor, and some updated features. 2013-06-19 11:34:01 +01:00
Joe Thornber
172353d1a5 thin_check had fallen out of the makefile 2013-06-19 11:32:16 +01:00
Joe Thornber
0b63393ddd Update gem requirements 2013-06-19 11:29:49 +01:00
Joe Thornber
acd197ed6f [thin_restore] restore_emitter now checks the mappings against the data device length. 2013-06-18 14:18:39 +01:00
Joe Thornber
df016f07a7 [space map disk] Add a bounds check when accessing block data.
This means we get a more helpful message in the exception.
2013-06-14 15:36:01 +01:00