Commit Graph
100 Commits
Author SHA1 Message Date
Joe Thornber d3ce6b811b Start stubbing out cache_dump 2013-08-19 12:40:03 +01:00
Joe Thornber a933749cbf update ignore file 2013-08-16 16:44:44 +01:00
Joe Thornber 4360c8cbff Some work on cache_check and cache_restore 2013-08-16 16:29:41 +01:00
Joe Thornber 5fa1c0a212 Add a feature that tests failure when the output file is missed off the thin_restore command line. 2013-08-16 16:28:25 +01:00
Joe Thornber 7ada06aa77 fluff 2013-08-16 14:34:51 +01:00
Joe Thornber be6f90f16c [thin_restore] use full paths for includes. 2013-08-16 14:33:19 +01:00
Joe Thornber 487f48145f Move cache_check_steps.rb -> cache_steps.rb 2013-08-16 14:28:46 +01:00
Joe Thornber 67551d81f1 Put error_state into into it's own file. 2013-08-16 14:07:04 +01:00
Joe Thornber 94bd3aef3b Put nested_output in it's own file 2013-08-16 13:48:25 +01:00
Joe Thornber 1e925d4cf1 caching/superblock.{h,cc} 2013-08-16 13:39:12 +01:00
Joe Thornber 500e508c6d fix up some coverity issues 2013-08-15 16:26:17 +01:00
Joe Thornber 77286e0bc7 Take out some 'typename's to support older versions of gcc (Heinz). 2013-08-15 10:35:07 +01:00
Joe Thornber c6ec0c9c9c Older versions of boost don't have BOOST_STATIC_ASSERT_MSG 2013-08-08 15:08:51 +01:00
Joe Thornber ac9685833c bump version 2013-08-08 11:43:28 +01:00
Joe Thornber 0029962f20 Give up with --std=c++11
There are too many distros that use old versions of g++ that don't support it adequately.
2013-08-08 10:49:59 +01:00
Joe Thornber 79f64267b5 bump version 2013-08-02 13:15:36 +01:00
Joe Thornber dd26ec76b2 [thin_repair] don't open the space maps in the old metadata, we'll regenerate. 2013-08-02 13:14:49 +01:00
Joe Thornber fa6e2ab841 update Gemfile.lock 2013-08-02 13:14:07 +01:00
Joe Thornber 3fdef90069 Merge remote-tracking branch 'remotes/heinz/Work_1' 2013-07-31 11:10:51 +01:00
Joe Thornber c61f5307ac bump version 2013-07-30 17:38:19 +01:00
Joe Thornber 9694a27669 Merge pull request #3 from robbat2/master
Improve build: LDFLAGS
2013-07-29 06:32:22 -07:00
Joe Thornber 4cc9a79a4d bump version to 0.2.1 2013-07-10 16:43:45 +01:00
Joe Thornber 8a2b3f91e7 Don't install thin_metadata_size (needs recoding in C++) 2013-07-10 16:43:25 +01:00
Joe Thornber 4deb1751a6 stop using O_DIRECT until the cach does async io 2013-07-09 16:52:31 +01:00
Joe Thornber 8b1a284ad4 remove old FIXME 2013-07-09 14:40:16 +01:00
Joe Thornber fa657beff6 [run_set] use lower_bound to skip preceeding entries more quickly. 2013-07-09 13:55:21 +01:00
Joe Thornber f2fe3ba2b3 [metadata_dumper] Fix bug where ranges were appearing in all devices for small metadata.
Author: Teng-Feng Yang
2013-07-09 13:28:36 +01:00
Joe Thornber 2ea9cf9961 [features] test for thin_dump with small metadata 2013-07-09 13:06:18 +01:00
Joe Thornber 311034f771 [subtracting_span_iterator] recode using run_set 2013-07-09 11:25:09 +01:00
Joe Thornber 2709629313 [run_set] add another unit test 2013-07-09 11:24:19 +01:00
Joe Thornber 8523314a7f [run_set] improve run merging 2013-07-09 10:36:30 +01:00
Joe Thornber 31686fbb17 run_set.negate() 2013-07-08 23:21:48 +01:00
Joe Thornber 3be8376256 run_set 2013-07-08 21:44:09 +01:00
Joe Thornber e701b96642 [thin_dump] bug in last bug fix 2013-06-28 14:24:39 +01:00
Joe Thornber fe8e1592a9 [thin_dump] Fix regression where mappings for all devices were being listed in every device. 2013-06-28 13:43:28 +01:00
Joe Thornber ceba0f00ec [features] dump matches original metadata
Currently failing
2013-06-28 12:28:02 +01:00
Joe Thornber 90fb1c4fb5 [features] dump/restore is a noop 2013-06-28 12:19:24 +01:00
Joe Thornber 2fc95b3a2d [thin_dump] add -o switch 2013-06-28 12:17:43 +01:00
Joe Thornber 9716a2cdbd whitespace 2013-06-27 12:44:07 +01:00
Joe Thornber 90190912ff [build] Fix bug introduced today in the deps 2013-06-27 12:42:52 +01:00
Joe Thornber c0b84f39d6 update README 2013-06-27 11:57:57 +01:00
Joe Thornber 9217334935 Update README 2013-06-27 11:57:10 +01:00
Joe Thornber 396055b31a Change how code blocks are quoted in the README 2013-06-27 11:55:57 +01:00
Joe Thornber 3df1d70ba5 Rename the README so github uses markdown when showing it. 2013-06-27 11:50:29 +01:00
Joe Thornber 3fe401f862 Update README 2013-06-27 11:44:02 +01:00
Joe Thornber 2ee6beba55 bump version to 0.2.0-rc2 2013-06-27 11:41:47 +01:00
Joe Thornber a4a0826445 update README 2013-06-27 11:40:08 +01:00
Joe Thornber 0dfea497f0 update ignore file 2013-06-27 10:18:09 +01:00
Joe Thornber 759263d388 [build] DEPs build quietly now and aren't generated when making clean. 2013-06-27 10:17:38 +01:00
Joe Thornber 7cab21c8e7 [thin_restore] Tweak usage message. 2013-06-27 09:44:46 +01:00
Joe Thornber b7bdf1a3f2 Add feature file for thin_restore. 2013-06-27 09:40:43 +01:00
Joe Thornber 9a4783796b Merge branch 'Work_1' of https://github.com/lvmguy/thin-provisioning-tools 2013-06-26 12:33:17 +01:00
Joe Thornber 0e074306a9 Document unit test issue with g++ 4.8.1 2013-06-26 11:28:36 +01:00
Joe Thornber 730f3b9f9a Get unit-tests building with g++ 4.8.1 2013-06-25 14:18:38 +01:00
Joe Thornber 7b603183df Merge branch 'Work_1' of https://github.com/lvmguy/thin-provisioning-tools
Conflicts:
	Makefile.in
2013-06-25 11:18:45 +01:00
Joe Thornber f41b0abcef [cucumber tests] make the 'print version' tests less brittle 2013-06-25 11:11:50 +01:00
Joe Thornber 51852e0aef [build] remove cache_check from the default build 2013-06-25 11:11:00 +01:00
Joe Thornber f0edd3ae6e cucumber tests now read version from VERSION rather than having it hard coded in 2013-06-25 11:10:19 +01:00
Joe Thornber da2fd75853 bump VERSION 2013-06-25 10:56:08 +01:00
Joe Thornber bcdb373b9a [unit-tests] remove a bit of debug output 2013-06-25 10:55:50 +01:00
Joe Thornber 46c0f74a9e [build] install thin_rmap and thin_metadata_calc 2013-06-25 10:46:10 +01:00
Joe Thornber 00b0c4356e [build] include btree.cc in the tools build (was just in unit-tests). 2013-06-20 14:46:46 +01:00
Joe Thornber 65cf07597e [btree_t] remove some debug output 2013-06-20 14:37:14 +01:00
Joe Thornber 83a09e1a2a [btree] use a block_ref_counter for internal nodes 2013-06-20 14:29:48 +01:00
Joe Thornber e89d81e318 [btree] fix bug in earlier patch. inc_children was always begin called. 2013-06-20 14:26:17 +01:00
Joe Thornber 16c9efc85c [btree] Avoid an extra shadow op in split_sibling 2013-06-20 12:17:59 +01:00
Joe Thornber c8a5d0753d [btree] factor out inc_children 2013-06-20 12:17:16 +01:00
Joe Thornber a2e51062e3 [btree] call inc_children when shadowning a btree node. 2013-06-19 17:20:12 +01:00
Joe Thornber ec99e6fd93 [btree] update the root_ after an insert
!!!
2013-06-19 17:19:24 +01:00
Joe Thornber a8585f1d68 Use full paths in some includes 2013-06-19 17:18:39 +01:00
Joe Thornber 76bbfcb891 [btree_t] add failing clone test 2013-06-19 17:17:45 +01:00
Joe Thornber 5f778db322 More work on the thin_check --quiet feature 2013-06-19 14:36:09 +01:00
Joe Thornber 9b4ec6cafc Add a cucumber test for thin_check --quiet 2013-06-19 14:13:29 +01:00
Joe Thornber 108b3ea1cd Merge branch 'Work_1' of https://github.com/lvmguy/thin-provisioning-tools 2013-06-19 13:53:23 +01:00
Joe Thornber 3bfae3461e make clean now uses find to locate all object files 2013-06-19 13:10:12 +01:00
Joe Thornber 21074456ca thin_repair 2013-06-19 12:39:28 +01:00
Joe Thornber 0938d24ea1 Take held root support out of thin_dump.
Temporary, just to get things building.
2013-06-19 12:11:34 +01:00
Joe Thornber 1a88404493 Knock thin_debug out of the build for now. 2013-06-19 12:10:21 +01:00
Joe Thornber 055b237126 tweaks to metadata constructor, and some updated features. 2013-06-19 11:34:01 +01:00
Joe Thornber 172353d1a5 thin_check had fallen out of the makefile 2013-06-19 11:32:16 +01:00
Joe Thornber 0b63393ddd Update gem requirements 2013-06-19 11:29:49 +01:00
Joe Thornber acd197ed6f [thin_restore] restore_emitter now checks the mappings against the data device length. 2013-06-18 14:18:39 +01:00
Joe Thornber df016f07a7 [space map disk] Add a bounds check when accessing block data.
This means we get a more helpful message in the exception.
2013-06-14 15:36:01 +01:00
Joe Thornber 8781685a10 whitespace 2013-06-14 14:32:50 +01:00
Joe Thornber 480e94d4eb Remove some more global using namespaces 2013-05-28 13:53:23 +01:00
Joe Thornber 6706493304 Remove some global 'using namespace's 2013-05-28 13:48:10 +01:00
Joe Thornber 3066487814 [btree_damage_visitor_t] pass a couple of params by const reference rather than value. 2013-05-28 13:04:00 +01:00
Joe Thornber ac73593c15 [btree_damage_visitor] tweak a typedef 2013-05-28 13:00:30 +01:00
Joe Thornber 8253930cdd [run] define some more constructors 2013-05-28 12:59:17 +01:00
Joe Thornber e64dda95f6 rename range<> -> run<> 2013-05-28 12:20:05 +01:00
Joe Thornber 83d6b609eb [range.h] rename to run.h 2013-05-28 11:51:44 +01:00
Joe Thornber bde2b2b40d [range.h] Make ctr explicit 2013-05-28 11:48:12 +01:00
Joe Thornber 82324d1d27 [thin_rmap] rmap_visitor now sorts the rmap into ascending data_block order. 2013-05-24 14:01:03 +01:00
Joe Thornber 8fab2e37af [thin_rmap] now produces ranged output. 2013-05-24 13:43:55 +01:00
Joe Thornber 41204dceaa [thin_rmap] rmap_visitor 2013-05-24 13:30:17 +01:00
Joe Thornber 54604161eb whitespace 2013-05-24 10:35:18 +01:00
Joe Thornber 4d17d3f7ec [thin_rmap] finish implementing 2013-05-23 15:06:57 +01:00
Joe Thornber dda85e9751 [unit-tests] remove thin_metadata_t (wasn't testing much, and is now broken) 2013-05-23 14:43:53 +01:00
Joe Thornber 12d6b8a2a7 [btree_damage_visitor] Make sure the path for a value includes it's key. 2013-05-23 14:37:24 +01:00
Joe Thornber 25a090279f [thin_rmap] region parsing 2013-05-23 13:57:57 +01:00