Commit Graph

1224 Commits

Author SHA1 Message Date
Joe Thornber
803b2f3a40 Merge branch 'v0.7-devel'
Conflicts:
	VERSION
2017-03-08 11:05:50 -05:00
Joe Thornber
d24dba9ebb Merge branch 'master' of github.com:jthornber/thin-provisioning-tools into 2016-14-08-cache-format2
Conflicts:
	VERSION
2017-03-08 10:47:38 -05:00
Joe Thornber
671321a4c0 bump version 2017-03-08 10:29:22 -05:00
Joe Thornber
c5faf7b2b9 [build] unit tests were having trouble finding include files.
I'm not sure why this broke.
2017-03-08 10:03:09 -05:00
Joe Thornber
ba8d5ab5e4 [cache_restore] --debug-override-metadata-version wasn't working 2017-03-01 10:36:34 -05:00
Joe Thornber
d52e934ce2 Merge branch 'v0.7-devel' into 2016-14-08-cache-format2 2017-02-27 09:37:01 -05:00
Joe Thornber
3add3e00cb Merge pull request #75 from tmakatos/v0.7-devel
remove debug print
2017-02-06 11:29:21 +00:00
Thanos Makatos
73e583e662 remove debug print 2017-02-06 13:11:10 +03:00
Joe Thornber
d710cad52b [cache tools] knock out OPEN from the metadata enum 2016-10-07 15:01:16 -04:00
Joe Thornber
687880c1fc Merge pull request #69 from mingnus/master-fix
[block-cache] Fix error handling in reading libaio events
2016-10-06 17:20:18 +01:00
Ming-Hung Tsai
6c1be8d6fa [block-cache] Fix error handling in reading libaio events
io_event::res is a signed int64 in kernel, but libaio defines it
as unsigned long. We should cast it to a signed value.
2016-10-06 23:42:27 +08:00
Joe Thornber
05c4b7b400 [cache] a lot of format 2 changes 2016-09-30 11:21:20 -04:00
Joe Thornber
7576600fc2 Merge pull request #67 from tmakatos/v0.7-devel
fix compilation for gcc 5.4.0
2016-09-07 16:30:12 +01:00
Thanos Makatos
0c78d8d0c5 fix compilation for gcc 5.4.0 2016-09-07 13:49:36 +00:00
Joe Thornber
bce4acf214 Merge pull request #66 from mingnus/v0.7-devel-fix
Minor fixes for new dev-tools
2016-08-10 17:08:25 +01:00
Ming-Hung Tsai
45dbc2593a [thin_ll_restore] check preallocation of output file 2016-08-10 23:41:25 +08:00
Ming-Hung Tsai
6863db6f86 [thin] fix duplicated counting of mapped blocks in restore emitter 2016-08-10 23:40:48 +08:00
Joe Thornber
702a38f438 [many tools] fix bug in previous patch 2016-08-10 23:39:48 +08:00
Joe Thornber
49bfc12e9c bump version 2016-07-21 15:42:52 +01:00
Joe Thornber
44351860e5 [many tools] fix bug in previous patch 2016-07-21 15:42:10 +01:00
Joe Thornber
e6562c6110 thin_generate_metadata 2016-07-15 11:23:07 +01:00
Joe Thornber
52de2dd38e Merge branch 'v0.7-devel' of github.com:jthornber/thin-provisioning-tools into v0.7-devel 2016-07-11 15:51:58 +01:00
Joe Thornber
c2fdbad322 Merge branch '2016-07-07-improve-thin-repair-error-message' into v0.7-devel
Conflicts:
	Makefile.in
	VERSION
	configure.ac
	persistent-data/file_utils.cc
2016-07-11 15:51:30 +01:00
Joe Thornber
4779fb9b80 [various] Improve documentation
Output file must be preallocated.
2016-07-11 14:53:03 +01:00
Joe Thornber
ceffa5f5c4 Bump version to 0.6.2 2016-07-11 11:30:55 +01:00
Joe Thornber
ef40277d55 Merge pull request #65 from mingnus/v0.7-devel-fix
Minor fixes for new dev-tools
2016-07-01 14:21:54 +01:00
Ming-Hung Tsai
7eac48793c [space map disk] tidy up: add const qualifier 2016-06-20 00:40:10 +08:00
Ming-Hung Tsai
3439dbfdfc [metadata_counter] hide count_trees() and count_space_maps() 2016-06-20 00:30:26 +08:00
Ming-Hung Tsai
9e7af6b677 [metadata_counter] remove explicit try/catch when counting data space map
Unlike metadata_index_store, the constructor of btree_index_store
doesn't throw exceptions.
2016-06-20 00:30:26 +08:00
Ming-Hung Tsai
60eb608825 [counting_visitor] fix the path for ValueCounter 2016-06-20 00:30:25 +08:00
Ming-Hung Tsai
e8f1bda1a5 [thin] store the device id in single_mapping_tree_damage_visitor for error reporting
1. fix the damage type for single_mapping_tree_damage_visitor
2. walk_mapping_tree() now requires the device id
3. update metadata_dumper and thin_ls for the new walk_mapping_tree()
2016-06-20 00:30:25 +08:00
Joe Thornber
a3eac8d5d8 Merge branch 'v0.7-devel' of github.com:jthornber/thin-provisioning-tools into v0.7-devel 2016-06-14 16:33:00 +01:00
Joe Thornber
642740e1b6 Merge branch '2016-03-08-cache-writeback' into v0.7-devel 2016-06-14 16:30:16 +01:00
Joe Thornber
8989bb0f32 [caching] cache_writeback 2016-06-14 16:29:37 +01:00
Joe Thornber
b77ba14a2a [block] Use the definition of SECTOR_SHIFT from block-cache 2016-06-14 16:28:14 +01:00
Joe Thornber
a124b7ce26 [block-cache] Fix some bugs in the copier 2016-06-14 16:27:17 +01:00
Joe Thornber
0f778a0a38 [block-cache] FIx some bugs in the io engine 2016-06-14 16:26:37 +01:00
Joe Thornber
e5f969817e [block cache] improve exception message 2016-06-14 14:27:22 +01:00
Joe Thornber
07f44e9c77 [io_engine] Add exclusive flag to io_engine 2016-06-07 13:45:27 +01:00
Joe Thornber
df9f4d479d update get-gmock script.
You now need git, since they haven't released for a while.
2016-06-07 11:15:35 +01:00
Joe Thornber
a94bfea798 [block-cache] unit tests + debug io_engine and copier 2016-06-07 11:12:27 +01:00
Joe Thornber
34c039d7dc [mempool] more tests 2016-06-01 14:46:27 +01:00
Joe Thornber
39c6f3d6ea Merge pull request #63 from mingnus/v0.7-devel-fix
Minor fixes for new dev-tools
2016-05-23 09:15:56 +01:00
Ming-Hung Tsai
e985b8b3be [thin_scan][thin_ll_*] fix the data type for getopt_long return value to int
For toolchains represent char as unsigned type
2016-05-20 00:54:31 +08:00
Ming-Hung Tsai
55ecf87439 [thin_ll_restore] fix the data type of blocknr to uint64_t 2016-05-20 00:53:51 +08:00
Ming-Hung Tsai
2203e2b513 [btree_node_checker] tidy up the code
1. Add const qualifiers
2. Add virtual destructor
2016-05-20 00:53:35 +08:00
Joe Thornber
ca8f6df229 Merge pull request #60 from tmakatos/v0.7-devel
don't use implicit rule when statically compiling emitters
2016-05-09 11:28:15 +01:00
Thanos Makatos
8147d798be don't use implicit rule when statically compiling emitters 2016-05-09 13:25:26 +03:00
Joe Thornber
18fbb65336 Merge branch 'master' of github.com:jthornber/thin-provisioning-tools 2016-05-07 14:40:31 +01:00
Joe Thornber
7bc7fb5bc1 Merge pull request #59 from vapier/master
tweak merging of build flags from configure into makefiles
2016-05-09 08:28:58 +01:00