Commit Graph

1652 Commits

Author SHA1 Message Date
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
Mike Frysinger
3e24cff8a1 respect & use CPPFLAGS properly
The common preprocessor variable is named CPPFLAGS.  configure sets this
up for us, including sourcing values from the user.  Rename INCLUDES to
match, and pull the default from configure.
2016-05-09 02:41:54 -04:00
Mike Frysinger
96e0e92afd get default CFLAGS/CXXFLAGS from configure
Since autoconf already sets up default compiler flags for us, use those.
These also come from the user's build settings.
2016-05-09 02:41:54 -04:00
Joe Thornber
4cff752433 Merge pull request #58 from vapier/master
fix up test targets
2016-05-09 07:11:29 +01:00
Mike Frysinger
b46676575c fix up test targets
- PHONY is misspelled
- fix the pdata_tools target dep
- add a "check" alias to match standard automake behavior
- mark test & check targets as phony
2016-05-08 23:35:19 -04:00
Joe Thornber
cd72590175 bump version 2016-05-07 11:56:21 +01:00
Joe Thornber
73a69abfd2 [unit-tests] copier and mem_pool tests.
More to come
2016-05-07 11:47:40 +01:00
Joe Thornber
4f54245600 [block_t] add check_raw to mock 2016-04-21 14:31:52 +01:00
Joe Thornber
c8fec7ec40 [cache_writeback] Coded, needs testing 2016-04-14 08:54:32 +01:00
Joe Thornber
7dbc5d1221 bump version 2016-04-08 17:07:40 +01:00
Joe Thornber
3fb4177656 [thin_trim] more bug fixing 2016-04-08 17:07:04 +01:00
Joe Thornber
77902767d7 Merge branch 'master' of github.com:jthornber/thin-provisioning-tools 2016-04-05 13:14:06 +01:00
Joe Thornber
3c02151a4f Merge branch 'master' into v0.7-devel
Conflicts:
	persistent-data/file_utils.cc
	persistent-data/file_utils.h
2016-04-05 13:13:10 +01:00
Joe Thornber
036883b271 Merge pull request #57 from tmakatos/v0.7-devel-static
Allow 3rd party emitters to be statically compiled
2016-04-06 14:09:31 +01:00
Thanos Makatos
5ebeb64cf8 don't avoid emitting part of the allocation bitmap when NOT told to do so
The condition in the if statement is wrong, as what we're trying to achieve
is to avoid emitting the particular piece of allocation bitmap if that piece
is empty AND we specifically request to skip empty bitmaps.
2016-04-06 15:56:09 +03:00
Thanos Makatos
431f2ab50a allow tmakatos (a binary) emitter to be statically compiled
It is trivial to implement static compilation of the rest of the 3rd party
emitters.
2016-04-06 15:56:09 +03:00
Thanos Makatos
35cfc3b90a introduce header file for the tmakatos (a binary) emitter
This is necessary because the emitter's symbols need to be resolved at
compile time. Only the tamakatos emitter header file is introduced, as it
is trivial to do so for the other emitters.
2016-04-06 15:56:08 +03:00
Thanos Makatos
088d5ac05e compile 3rd party emitters into static lib before creating shared lib
This patch adds an additional step in the compilation of 3rd party emitters:
we first create the static library and then create the shared library. This
is necessary in order to build the emitters into the static binary, which is
implemented in a subsequent patch.
2016-04-06 15:56:08 +03:00
Thanos Makatos
3464f005ff add configure option to enable static linking
(cherry picked from commit c6a2620f5d)

Conflicts:
	configure.ac
2016-04-06 15:56:08 +03:00
Thanos Makatos
ab958ee752 improve error message when failing to stat block device 2016-04-06 15:56:08 +03:00
Joe Thornber
7b1a113021 update CHANGES 2016-04-05 13:06:26 +01:00
Joe Thornber
866986b883 [thin_trim] FInally get thin_trim emitting the right discards 2016-04-05 12:27:00 +01:00
Joe Thornber
022b70f861 Merge pull request #56 from mingnus/v0.7-devel-fix
Fix unnecessary value visiting in counting_visitor
2016-04-05 10:37:05 +01:00