Commit Graph

631 Commits

Author SHA1 Message Date
Joe Thornber
e7816d2f43 [block] Open block files with O_DIRECT | O_SYNC.
Putting this back in.  Dumping metadata snapshots fails without.  So
there's more caching in the kernel than I expected.
2013-10-07 09:58:17 +01:00
Joe Thornber
fd7c539a58 [cache_check] Errors weren't being propagated up to the exit code 2013-10-04 16:08:31 +01:00
Joe Thornber
ce8e19fa75 remove old fixme 2013-10-02 11:08:09 +01:00
Joe Thornber
3bc798c1f8 [array] wire up the correct validator 2013-10-02 11:07:33 +01:00
Joe Thornber
e7223037d4 [cache_check] wip 2013-10-02 10:50:42 +01:00
Joe Thornber
b1f5807513 [caching/mapping_array] add damage visitor 2013-10-02 10:50:13 +01:00
Joe Thornber
326134a7aa [array] add visit method for values and damage 2013-10-02 10:44:57 +01:00
Joe Thornber
9c65f2f30b [cache_dump.feature] correct -h expectations 2013-09-26 12:05:53 +01:00
Joe Thornber
bb898eeaad [cache_restore/dump] hint_width work.
dump/restore cycle works again.
2013-09-26 11:36:01 +01:00
Joe Thornber
bd1a189298 [caching] change the emitter->hint value type 2013-09-24 12:37:27 +01:00
Joe Thornber
8408ab12f8 [caching] add grow method to the hint_array wrapper 2013-09-24 12:12:57 +01:00
Joe Thornber
17f7c982f2 [caching] hint support 2013-09-24 12:00:09 +01:00
Joe Thornber
2e58332e49 [cache_restore/dump] mappings dump restore ok now 2013-09-23 11:15:41 +01:00
Joe Thornber
dc97e0ea4e Update ignore file 2013-09-19 13:52:29 +01:00
Joe Thornber
61e90998c0 [cache_dump, cache_restore] restore/dump cycle works 2013-09-19 13:45:56 +01:00
Joe Thornber
c476de1756 [cache_restore] more wip 2013-09-18 13:00:26 +01:00
Joe Thornber
cce3b5980f bump version to 0.2.7 2013-09-16 13:46:53 +01:00
Joe Thornber
7ce306cb6d [thin_restore] check the input file exists.
Previously we were hanging if it didn't
2013-09-16 13:43:06 +01:00
Joe Thornber
14122d6875 Move check_file_exists() to file_utils.{h,cc} 2013-09-16 13:42:39 +01:00
Joe Thornber
ea424c4134 Fixup some feature tests that need metadata.bin present
They were failing for the wrong reason.
2013-09-16 13:41:55 +01:00
Joe Thornber
6638f7054f Test for missing input file 2013-09-16 13:06:23 +01:00
Joe Thornber
93b1077017 Fix bad thinp_xml command line 2013-09-16 13:05:58 +01:00
Joe Thornber
4124460c84 Update Gemfile.lock 2013-09-16 13:04:31 +01:00
Joe Thornber
41864f041f hint_array pack/unpack 2013-09-12 14:42:59 +01:00
Joe Thornber
a05d75611e mapping_array.cc 2013-09-12 14:21:25 +01:00
Joe Thornber
dadb32d15f some work on cache_restore 2013-09-12 12:33:32 +01:00
Joe Thornber
6615b25e4b WIP on cache tools 2013-09-11 11:40:46 +01:00
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
Heinz Mauelshagen
13293d0640 Fix missing quote in xml output with metadata_snap= 2013-07-31 12:07:16 +02:00
Heinz Mauelshagen
4e1e7200a9 manual page fixes in header 2013-07-30 19:55:52 +02:00
Joe Thornber
c61f5307ac bump version 2013-07-30 17:38:19 +01:00
Heinz Mauelshagen
bdb8d6e5cc thin_dump: cleanup metadata snapshot support 2013-07-30 17:10:41 +02:00