Commit Graph

455 Commits

Author SHA1 Message Date
Heinz Mauelshagen
6ba6d6a28c Remove po:: namespace and fix short options in thin_dump.cc. Switch thin_restore away from boost_rogram_options to getopt_long. 2011-12-14 17:38:26 +01:00
Heinz Mauelshagen
bad6aff58b Switch thin_dump.cc from boost command line option parsing to getopt_long 2011-12-14 15:55:50 +01:00
Joe Thornber
78e37bb234 no point making a release target, just run mk_release 2011-12-09 13:01:56 +00:00
Joe Thornber
b4e678b42e more build stuff 2011-12-09 12:54:51 +00:00
Joe Thornber
1735982eb5 first pass at autoconfing 2011-12-06 15:47:24 +00:00
Joe Thornber
bfe22274d9 actually add the copyright 2011-12-06 13:53:05 +00:00
Joe Thornber
cc9dab3ead --amend 2011-12-06 13:43:56 +00:00
Joe Thornber
c351a79815 Add copyright 2011-12-06 13:43:44 +00:00
Joe Thornber
f6acb7a96f add the -O8 flag back in 2011-11-24 12:43:03 +00:00
Joe Thornber
bf034794c7 add expat to the dependencies in README 2011-11-23 11:05:06 +00:00
Joe Thornber
dc420bcc23 use sm transactional around sm disks 2011-11-21 12:17:38 +00:00
Joe Thornber
4df2123e9f fix some btree bugs 2011-11-21 12:17:16 +00:00
Joe Thornber
94df55c122 space_map_transactional 2011-11-16 13:17:49 +00:00
Joe Thornber
a162073291 make root_size() and copy_root() const 2011-11-16 13:17:23 +00:00
Joe Thornber
f503cf7fbe add clone method to checked_space_map 2011-11-16 13:15:32 +00:00
Joe Thornber
876dd2427f change sm->new_block() to return an optional 2011-11-16 12:53:37 +00:00
Joe Thornber
404ca5ba30 add begin and end methods to run_list 2011-11-16 12:49:28 +00:00
Joe Thornber
3b471d6ebf Merge branch 'master' of ssh://192.168.2.104/home/ejt/work/RedHat/thin-provisioning-tools 2011-11-16 12:21:45 +00:00
Joe Thornber
e82cfbdfa1 add some example metadata dumps 2011-11-16 12:17:23 +00:00
Joe Thornber
6417af5daa run_list 2011-11-15 15:41:27 +00:00
Joe Thornber
f0bc22cfdd remove some useless methods 2011-11-10 15:42:02 +00:00
Joe Thornber
4db58e0294 no need for sm_disk and sm_metadata subclasses now 2011-11-10 15:30:36 +00:00
Joe Thornber
0bd9aa33bf factor out index_store abstraction for disk space maps 2011-11-10 14:55:02 +00:00
Joe Thornber
9d0686fce7 remove a spurious space in xml output 2011-11-09 11:38:46 +00:00
Joe Thornber
4f325b96ad recursive space map 2011-11-09 11:12:33 +00:00
Joe Thornber
45042ed0e1 remove non-validator version of tm::begin 2011-11-08 11:44:19 +00:00
Joe Thornber
2cb8f1308b tm::shadow() must take a validator 2011-11-08 11:14:30 +00:00
Joe Thornber
d3d42c5f54 Use sm_decrementer to remove another explicit try/catch 2011-11-08 11:08:51 +00:00
Joe Thornber
61a6db080d add sm_decrementer 2011-11-08 11:08:16 +00:00
Joe Thornber
dedf5edecc transaction_manager::new_block() must take a validator now 2011-11-08 10:41:56 +00:00
Joe Thornber
8859451df5 use an auto_ptr to remove an explicit try/catch in the cache 2011-11-08 10:38:52 +00:00
Joe Thornber
6dc6110684 move deleter to a separate file 2011-11-08 10:30:13 +00:00
Joe Thornber
c6dbccd15a Add index validator. 2011-11-07 10:34:43 +00:00
Joe Thornber
6bff674720 thin_restore works (well thin_repair thinks it does). 2011-11-03 14:55:36 +00:00
Joe Thornber
9cee046594 fix a bug in btree lookup 2011-11-01 11:32:29 +00:00
Joe Thornber
5c7287929a Make all the members of metadata shared_ptrs so it's easier to defer
construction.
2011-10-28 16:28:24 +01:00
Joe Thornber
a134e853b4 rename core_map -> space_map_core 2011-10-28 14:28:59 +01:00
Joe Thornber
076131aac1 pass an extra open|create enum to metadata ctr 2011-10-28 14:26:06 +01:00
Joe Thornber
8f9d71ccc8 wire up thin_restore to use the restore_emitter 2011-10-28 14:07:17 +01:00
Joe Thornber
2937ed2d2b restore_emitter 2011-10-28 14:01:44 +01:00
Joe Thornber
25d9cfffa5 we need to dump the time field of the mappings also 2011-10-28 13:53:15 +01:00
Joe Thornber
b98fc8abb6 rename metadata_ll -> metadata 2011-10-28 12:25:06 +01:00
Joe Thornber
c2dfb0b462 Rename metadata -> thin_pool/thin 2011-10-28 12:21:58 +01:00
Joe Thornber
9a4ebc8c25 metadata_dumper 2011-10-28 12:13:03 +01:00
Joe Thornber
925d9d583f metadata_checker 2011-10-28 12:07:21 +01:00
Joe Thornber
9c9d6f2e15 Split the metadata class into a low level one that other interfaces
can use (metadata_ll), and the existing high level one.
2011-10-28 11:31:00 +01:00
Joe Thornber
28ab23fe6c thin_restore now parses xml and hands to an emitter 2011-10-25 14:47:49 +01:00
Joe Thornber
13e26684f7 [thin_repair] speed up ref count validation 2011-10-25 11:27:59 +01:00
Joe Thornber
d02fcde793 add a cache to the block manager 2011-10-24 18:04:19 +01:00
Joe Thornber
97f8d913e2 first pass at cache 2011-10-21 17:07:19 +01:00