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
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
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
2288fc4565
Merge branch 'master' into 2016-02-03-fix-thin-trim
2016-03-31 16:39:54 +01:00
Joe Thornber
7b8b4c5c4a
Merge pull request #50 from tmakatos/static
...
add configure option to enable static linking
2016-03-23 09:49:43 +00:00
Joe Thornber
72025c398e
bump version
2016-03-21 17:27:26 +00:00
Joe Thornber
b0e2d0e6a0
[thin_repair, metadata] Try harder to get the number of data blocks
...
when opening the metadata.
2016-03-21 17:17:57 +00:00
Joe Thornber
a21f97e405
[space map disk] Add get_nr_blocks_in_data_sm()
...
which just uses the root
2016-03-21 17:16:41 +00:00
Joe Thornber
2cf0c84ce3
[thin_repair] we need to read the space maps after all to get the data
...
volume size.
2016-03-21 15:36:49 +00:00
Thanos Makatos
c6a2620f5d
add configure option to enable static linking
2016-03-09 13:27:35 +03:00
Joe Thornber
afb71d8b5e
bump version
2016-03-08 16:14:37 +00:00
Joe Thornber
0bf28362cf
Merge pull request #48 from sjenning/update-thinls-man
...
update this_ls man page with new fields
2016-03-08 06:58:46 +00:00
Seth Jennings
c406db158a
update this_ls man page with new fields
2016-03-07 16:21:39 -06:00
Joe Thornber
b47c0871e7
Merge pull request #47 from sjenning/bytes-fields
...
get stats in bytes
2016-03-07 22:15:02 +00:00
Seth Jennings
38f67676e4
get stats in bytes
2016-03-07 15:42:24 -06:00
Joe Thornber
35c43716c9
Merge pull request #43 from tmakatos/master
...
document how to extract thin pool metadata
2016-03-04 15:43:58 +00:00
Thanos Makatos
f162d59bf6
no need to supply held root, thin_dump -m will look it up
2016-03-04 18:30:02 +03:00
Thanos Makatos
eac05c1b5d
document how to extract thin pool metadata
2016-03-04 18:18:29 +03:00
Joe Thornber
8676198e76
[file_utils] rename get_nr_blocks() -> get_nr_metadata_blocks() and introduce get_nr_blocks()
2016-03-04 10:43:58 +00:00
Joe Thornber
c8276a41f7
v0.6.2-rc5
2016-02-22 12:06:13 +00:00
Joe Thornber
0ec27c7835
[thin_delta] backport cherry-picked changes to c++98
2016-02-18 11:37:51 +00:00
Joe Thornber
a21cee55c7
[thin-delta] fix bug in earlier refactor
2016-02-18 11:34:19 +00:00
Joe Thornber
2461cdce43
[thin_delta] tidy up the comparison function
2016-02-18 11:34:09 +00:00
Joe Thornber
e4c5e5afb5
v0.6.2-rc4
2016-02-17 11:50:59 +00:00
Joe Thornber
768bbd2715
[thin_delta] Fix bug when comparing the mappings
2016-02-17 11:44:44 +00:00
Joe Thornber
09ce099c2f
[thin_delta] set nr_data_blocks to zero if there are no space maps.
...
ie. a metadata_snap is being used.
2016-02-17 10:42:42 +00:00
Joe Thornber
8b792f5c79
[[build] Force gnu++98 standard
2016-02-16 15:02:29 +00:00
Joe Thornber
2815aeace9
[thin_repair] fix regression in thin_repair
...
When opening the corrupted metadata we don't need to touch the space
maps. This used to be achieved by pretending we were opening a
metadata snap at block 0 (superblock location). But got changed in
the recent rationalisation of the metadata constructors.
This patch introduces a bool to the metadata OPEN constructor that
says whether the space maps are needed or not.
2016-02-16 14:08:43 +00:00
Joe Thornber
e46bdfd4cc
v0.6.1
2016-02-10 14:28:49 +00:00
Joe Thornber
6101398b02
Merge branch 'master' of github.com:jthornber/thin-provisioning-tools
2016-02-10 14:25:50 +00:00
Joe Thornber
c8c4442b2f
[thin_dump] We can't give the number of data blocks with a metadata snap.
...
No space maps.
2016-02-10 13:34:07 +00:00
Joe Thornber
dc08c78b46
[build] another go at static libc++
2016-02-09 10:57:39 +00:00
Joe Thornber
244405ed5d
[build] g++ versions prior to 4.5 don't support the --static-libstdc++ flag so hack around it
2016-02-08 11:58:19 +00:00
Joe Thornber
ebd4981271
bump version
2016-02-04 15:29:47 +00:00
Joe Thornber
20bf5bb06d
[build] add --enable-static-cxx config option
...
Links libstdc++ statically.
2016-02-04 15:26:33 +00:00
Joe Thornber
0fced25b3e
[thin_dump, thin_restore] remove some dead code
2016-02-04 15:24:16 +00:00
Joe Thornber
20398f4209
Merge branch 'master' of github.com:jthornber/thin-provisioning-tools
2016-02-04 13:25:13 +00:00
Joe Thornber
1e0d2a16cc
[disk_units] add missing header
2016-01-20 18:11:48 +00:00
Joe Thornber
5b922c0c9f
Bump to v0.6.0
2016-01-20 15:43:21 +00:00
Joe Thornber
c369045790
Merge branch 'master' of github.com:jthornber/thin-provisioning-tools
...
Conflicts:
thin-provisioning/metadata.cc
thin-provisioning/thin_trim.cc
2016-01-20 15:37:04 +00:00
Joe Thornber
04976a34fd
[thin_ls] update man page with --no-headers
2016-01-20 14:47:38 +00:00
Joe Thornber
f385198cfc
[thin_ls] get it working with a metadata snap
2016-01-20 14:45:38 +00:00
Joe Thornber
8ec37aedd2
[thin_ls] add man page
2016-01-20 13:25:28 +00:00