Commit Graph

136 Commits

Author SHA1 Message Date
Joe Thornber
a06139ef9f [thin-provisioning] walk_device_tree() 2013-10-16 10:19:29 +01:00
Joe Thornber
9dc4a97cb7 [thin_check] thin_check wasn't giving a non-zero exit code for damage in mapping trees 2013-10-15 10:40:26 +01:00
Joe Thornber
61e90998c0 [cache_dump, cache_restore] restore/dump cycle works 2013-09-19 13:45:56 +01:00
Joe Thornber
7ce306cb6d [thin_restore] check the input file exists.
Previously we were hanging if it didn't
2013-09-16 13:43:06 +01:00
Joe Thornber
6615b25e4b WIP on cache tools 2013-09-11 11:40:46 +01:00
Joe Thornber
7ada06aa77 fluff 2013-08-16 14:34:51 +01:00
Joe Thornber
be6f90f16c [thin_restore] use full paths for includes. 2013-08-16 14:33:19 +01:00
Joe Thornber
67551d81f1 Put error_state into into it's own file. 2013-08-16 14:07:04 +01:00
Joe Thornber
94bd3aef3b Put nested_output in it's own file 2013-08-16 13:48:25 +01:00
Joe Thornber
500e508c6d fix up some coverity issues 2013-08-15 16:26:17 +01:00
Joe Thornber
77286e0bc7 Take out some 'typename's to support older versions of gcc (Heinz). 2013-08-15 10:35:07 +01:00
Joe Thornber
0029962f20 Give up with --std=c++11
There are too many distros that use old versions of g++ that don't support it adequately.
2013-08-08 10:49:59 +01:00
Joe Thornber
dd26ec76b2 [thin_repair] don't open the space maps in the old metadata, we'll regenerate. 2013-08-02 13:14:49 +01:00
Heinz Mauelshagen
13293d0640 Fix missing quote in xml output with metadata_snap= 2013-07-31 12:07:16 +02:00
Heinz Mauelshagen
bdb8d6e5cc thin_dump: cleanup metadata snapshot support 2013-07-30 17:10:41 +02:00
Heinz Mauelshagen
78389803bc thin_dump.cc: fix metadata snapshot logic 2013-07-30 15:31:36 +02:00
Heinz Mauelshagen
e16b7c8ea0 Fluff 2013-07-29 12:29:05 +02:00
Heinz Mauelshagen
28a8351e12 Fluff 2013-07-19 12:12:31 +02:00
Heinz Mauelshagen
d02bcbab56 Merge branch 'Work_1' of github.com:lvmguy/thin-provisioning-tools into Work_1
Conflicts:
	Makefile.in
	man8/thin_dump.8
	man8/thin_metadata_size.8
	thin-provisioning/thin_dump.cc
2013-07-19 12:11:28 +02:00
Heinz Mauelshagen
dd1e4c1233 thin_dump: support optional block# with --metadata-snap to allow for default snapshot stored in metadata to be used; update manual page 2013-07-19 11:48:15 +02:00
Heinz Mauelshagen
e8f9fc6dff thin_metadata_size: use NOO_NUMBER whilst defining full bool 2013-07-18 14:52:08 +02:00
Heinz Mauelshagen
b7ca980664 thin_metadata_size: support short/long --numeric-only options; man page adjustment; change long output; stremaline 2013-07-18 14:52:08 +02:00
Heinz Mauelshagen
ce4e01d8c9 thin_metadata_size: remove superfluous array; streamline 2013-07-18 14:52:08 +02:00
Heinz Mauelshagen
03d2ca3a99 thin_metadata_size: support long unit specifiers; make sure exit_prg() is being called; update manual page 2013-07-18 14:52:08 +02:00
Heinz Mauelshagen
e4912f548c thin_metadata_size.c: support -V option; support -n option argument for unit specifier; add input parameter set to long output 2013-07-18 14:52:08 +02:00
Heinz Mauelshagen
5a039267df thin_dump: support --metadata-snap block# 2013-07-18 14:52:08 +02:00
Heinz Mauelshagen
ed88882007 autconf: support build of thin_metadata_size.c 2013-07-18 14:52:08 +02:00
Heinz Mauelshagen
80be0d0f54 thin_metadata_size.c: indenting 2013-07-18 14:51:09 +02:00
Heinz Mauelshagen
e1067455c4 thin_metadata_size.c: fix --maxthins unit processing 2013-07-18 14:51:09 +02:00
Heinz Mauelshagen
74cd1f6b28 thin_metadata_size.c: format output enhancements 2013-07-18 14:51:09 +02:00
Heinz Mauelshagen
65598e3132 thin_metadata_size.c: new C implementation of metadata size calculation tool 2013-07-18 14:51:09 +02:00
Heinz Mauelshagen
9fac224f25 thin_metadata_size: use NOO_NUMBER whilst defining full bool 2013-07-18 14:19:06 +02:00
Heinz Mauelshagen
3ee6985bbc thin_metadata_size: support short/long --numeric-only options; man page adjustment; change long output; stremaline 2013-07-18 14:03:27 +02:00
Heinz Mauelshagen
175c70ecf2 thin_metadata_size: remove superfluous array; streamline 2013-07-17 17:24:55 +02:00
Heinz Mauelshagen
ffb585cbc5 thin_metadata_size: support long unit specifiers; make sure exit_prg() is being called; update manual page 2013-07-17 16:00:39 +02:00
Heinz Mauelshagen
4ba612f506 thin_metadata_size.c: support -V option; support -n option argument for unit specifier; add input parameter set to long output 2013-07-17 13:25:03 +02:00
Heinz Mauelshagen
1b6f9255a1 thin_dump: support --metadata-snap block# 2013-07-16 17:39:40 +02:00
Heinz Mauelshagen
69ff5d5513 autconf: support build of thin_metadata_size.c 2013-07-15 16:48:36 +02:00
Heinz Mauelshagen
a7e196cc3a thin_metadata_size.c: indenting 2013-07-12 17:09:14 +02:00
Heinz Mauelshagen
931221647c thin_metadata_size.c: fix --maxthins unit processing 2013-07-12 13:29:12 +02:00
Heinz Mauelshagen
99a1b96b2f thin_metadata_size.c: format output enhancements 2013-07-12 12:58:53 +02:00
Heinz Mauelshagen
3a95c7f830 thin_metadata_size.c: new C implementation of metadata size calculation tool 2013-07-11 18:34:00 +02:00
Heinz Mauelshagen
7a8b223c30 create_xml_data: fix mapping variation check 2013-07-10 17:15:18 +02:00
Heinz Mauelshagen
9e32e25ac4 create_xml_data: simplify to mappings; drop all units 2013-07-10 17:15:18 +02:00
Heinz Mauelshagen
fe4776f2cb create_xml_data: fiddling 2013-07-10 17:15:18 +02:00
Heinz Mauelshagen
f9988c7312 create_xml_data: adjust to thinp_xml output 2013-07-10 17:15:18 +02:00
Heinz Mauelshagen
cb23845c17 create_xml_data: adjust filed order to thin_dumo format; fix nr_data_blocks 2013-07-10 17:15:18 +02:00
Heinz Mauelshagen
979c479e1a create_xml_data: remove space in dev_id ouput 2013-07-10 17:15:18 +02:00
Heinz Mauelshagen
42a1db8792 create_xml_data: support --size-variation and check for block size > 0 2013-07-10 17:15:18 +02:00
Heinz Mauelshagen
8ca0a87eda thin_metadata_size: check for block size > 0 2013-07-10 17:15:18 +02:00