Commit Graph

715 Commits

Author SHA1 Message Date
Joe Thornber
927f611aad remove btree_checker, and add btree_counter 2013-12-11 17:00:57 +00:00
Joe Thornber
2de1962151 Merge branch 'master' of github.com:jthornber/thin-provisioning-tools 2013-12-09 11:27:25 +00:00
Joe Thornber
ecf6692d0f [cache_dump] Only dump the hints array if it exists.
Fixes a null shared ptr bug.
2013-12-09 11:10:49 +00:00
Joe Thornber
dcf70ba004 Merge branch 'master' of github.com:jthornber/thin-provisioning-tools 2013-12-09 10:44:44 +00:00
Joe Thornber
7a2d43268d [array] damage reported if the array is smaller than claimed in the ctr 2013-12-03 15:04:16 +00:00
Joe Thornber
2f779d93f4 Don't put a patch version in .rub-version, 1.9.3 is enough 2013-12-02 12:08:01 +00:00
Joe Thornber
c00c832378 Merge branch 'master' of github.com:jthornber/thin-provisioning-tools 2013-12-02 12:07:33 +00:00
Joe Thornber
e79091fb4f Merge pull request #5 from denys-duchier/bitset-bug
use persistent-data::bitset to avoid ambiguity
2013-11-17 00:01:32 -08:00
Denys Duchier
3a4c06b772 use persistent-data::bitset to avoid ambiguity 2013-11-16 21:42:23 +01:00
Joe Thornber
20f0f17bdb Update .ruby-version 2013-11-11 11:06:29 +00:00
Joe Thornber
15627ecd69 Merge branch 'master' of github.com:jthornber/thin-provisioning-tools 2013-10-30 13:15:39 +00:00
Heinz Mauelshagen
d2b30b0eac Fix bz#960284: thin_dump and other persistent-data tools may perform IO to misaligned buffers (on 4K hard sectored evices) 2013-10-30 14:12:41 +01:00
Joe Thornber
175e7264e9 Merge remote-tracking branch 'remotes/heinz/manual_page_fixes' 2013-10-30 12:46:07 +00:00
Joe Thornber
664aacd435 Merge branch 'master' of github.com:jthornber/thin-provisioning-tools 2013-10-30 12:45:23 +00:00
Joe Thornber
31ce9a03fa cache_restore --omit-clean-shutdown 2013-10-29 12:46:23 +00:00
Joe Thornber
dcf4b0a99c [cache_restore] Set the clean shutdown flag before the final commit 2013-10-29 11:35:32 +00:00
Joe Thornber
471abe52b9 [caching] superblock_flags.clear_flag() 2013-10-29 11:35:05 +00:00
Joe Thornber
dd65089b68 sort out some #includes 2013-10-23 11:39:31 +01:00
Heinz Mauelshagen
235ab5cb72 Merge branch 'manual_page_fixes' of github.com:lvmguy/thin-provisioning-tools into manual_page_fixes 2013-10-19 00:45:49 +02:00
Heinz Mauelshagen
2f00c2320c Add missing cache tools manual pages and update Makefile.in respectively 2013-10-19 00:45:18 +02:00
Heinz Mauelshagen
feadce51b8 Add missing cache tools manual pages and update Makefile.in respectively 2013-10-18 16:17:06 +02:00
Joe Thornber
20bf22e662 [caching] handle VARIABLE_HINT_SIZE incompat flag 2013-10-17 11:45:20 +01:00
Joe Thornber
c7b67659a5 bump version 2013-10-17 10:09:25 +01:00
Joe Thornber
d3187d25f5 [caching] superblock field wasn't getting initialised in default ctr 2013-10-17 10:08:43 +01:00
Joe Thornber
900172ef79 [unit-tests, cache_superblock_t] update tests to reflect superblock_flags changes 2013-10-15 20:55:04 +01:00
Joe Thornber
8987d8f92c update ignore file 2013-10-15 20:47:11 +01:00
Joe Thornber
05effffdf9 [thin-provisioning] re-write metadata_dumper.cc 2013-10-16 10:20:43 +01:00
Joe Thornber
b87742ccff [thin-provisioning] walk_mapping_tree() 2013-10-16 10:20:15 +01:00
Joe Thornber
a06139ef9f [thin-provisioning] walk_device_tree() 2013-10-16 10:19:29 +01:00
Joe Thornber
0fe7dddd8a whitespace 2013-10-15 10:51:35 +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
f8633da296 [cache_restore] --debug-override-metadata-version
A flag that deliberately causes the wrong metadata version to be
written.  Useful for testing the kernel module.
2013-10-15 10:24:12 +01:00
Joe Thornber
c92aff63e2 Update Gemfile.lock 2013-10-14 21:16:36 +01:00
Joe Thornber
3b11749dcf [caching tools] handle version 1 metadata where policy_hint_width is zero 2013-10-14 12:40:13 +01:00
Heinz Mauelshagen
d8bc85da09 Merge remote-tracking branch 'ejt/master' 2013-10-11 15:25:31 +02:00
Joe Thornber
b177275816 Merge branch 'master' of github.com:jthornber/thin-provisioning-tools 2013-10-11 13:35:21 +01:00
Joe Thornber
9a24867281 [caching/superblock] policy_version[] was in the wrong place in structure. 2013-10-11 13:35:01 +01:00
Joe Thornber
a31da1eb71 [features] remove an old @announce 2013-10-11 13:33:19 +01:00
Joe Thornber
d2e81a0a19 [caching] introduce superblock_flags class 2013-10-11 13:32:57 +01:00
Joe Thornber
764ee0b0c5 [cache_check] tweak exception handling; there was a window where they weren't caught 2013-10-11 11:04:06 +01:00
Joe Thornber
3a0e07e921 [cache_check.feature] version nr wasn't being checked properly 2013-10-11 11:03:26 +01:00
Joe Thornber
ead63cd251 [caching/superblock] remove some old debug 2013-10-11 11:02:54 +01:00
Joe Thornber
6aae6aabb4 [caching/metadata] superblock was being zeroed on creation, rather than letting the constructor do it's stuff. 2013-10-11 11:02:04 +01:00
Joe Thornber
d54bc41026 [cache_check] fixup version number 2013-10-11 10:33:32 +01:00
Joe Thornber
ea15a329d7 [cache_check] Now checks discard bitset 2013-10-11 10:22:02 +01:00
Joe Thornber
e3d87c5386 update ignore file 2013-10-11 10:20:29 +01:00
Joe Thornber
6b6f2290a7 [cache_dump/restore] add discards to the xml format 2013-10-11 10:03:51 +01:00
Joe Thornber
5dbaf8371c [caching] start wiring up the discard bitset 2013-10-10 13:08:04 +01:00
Joe Thornber
9b5bf559ec [persistent-data/data-structures] add method to visit values and damage in a bitset 2013-10-10 12:55:10 +01:00
Joe Thornber
347de67e2d [persistent-data/data-structures/bitset] Use pimpl idiom to hide implementation. 2013-10-10 12:17:34 +01:00