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 |
|
Joe Thornber
|
e9e46e871f
|
[caching/xml_format] '/' was ommitted from hint tags
|
2013-10-10 11:38:28 +01:00 |
|
Joe Thornber
|
b443000a29
|
[caching/metadata_dump] valid_blocks should have been passed by reference
|
2013-10-10 11:27:34 +01:00 |
|
Joe Thornber
|
8af2f0cb1f
|
[caching/metadata] setup the hint array when reopening metadata
|
2013-10-10 11:26:55 +01:00 |
|
Joe Thornber
|
8cfffe309c
|
[caching/hint_array] resize the destination before unpacking a hint
|
2013-10-10 11:26:13 +01:00 |
|
Joe Thornber
|
3d8eab2974
|
[caching/xml_format] hints weren't being indented
|
2013-10-10 11:25:29 +01:00 |
|
Joe Thornber
|
d5a93691e1
|
[cache_dump/restore] Use base64 encoding for the hints
|
2013-10-10 10:34:37 +01:00 |
|
Joe Thornber
|
a29b5c8d07
|
[base] bse64 encoder
Really slow implementation. Speed up on a rainy day.
|
2013-10-10 10:18:46 +01:00 |
|
Joe Thornber
|
83f1e4bdd9
|
[caching/metadata_dump] only dump valid hints
|
2013-10-09 10:49:53 +01:00 |
|
Joe Thornber
|
c6487fd283
|
[cache_repair] written
|
2013-10-09 10:42:14 +01:00 |
|
Joe Thornber
|
9b9b7771e9
|
[caching] factor metadata_dump out of cache_dump
|
2013-10-09 10:22:06 +01:00 |
|
Joe Thornber
|
97f4f0b0bb
|
[cache_dump] hints are dumped, and respect --repair
|
2013-10-09 09:48:20 +01:00 |
|
Joe Thornber
|
19a1596591
|
[caching/hint_array] add walk method
|
2013-10-09 09:45:17 +01:00 |
|
Joe Thornber
|
d02b3b6399
|
[cache_dump] dumping mappings respects --repair
|
2013-10-08 12:41:40 +01:00 |
|
Joe Thornber
|
024216a5ff
|
[caching] a couple of methods didn't need to be virtual
|
2013-10-08 12:39:34 +01:00 |
|
Joe Thornber
|
08142c0c66
|
[caching] introduce walk_mapping_array()
|
2013-10-08 12:12:01 +01:00 |
|
Joe Thornber
|
2ecf051336
|
[cache_dump] add --repair flag (not functional yet)
|
2013-10-08 11:54:22 +01:00 |
|
Joe Thornber
|
505cf95109
|
[cache_check] --super-block-only, --skip-mappings, --skip-hints
|
2013-10-08 11:34:10 +01:00 |
|
Joe Thornber
|
bd06f58f6f
|
[cache_check] feature to test --quiet
|
2013-10-08 11:21:31 +01:00 |
|
Joe Thornber
|
a20b50815e
|
[cache_check] remove some dead code
|
2013-10-08 11:17:20 +01:00 |
|
Joe Thornber
|
be22981a7d
|
[ache_check] hint array damage reporting
|
2013-10-08 11:00:05 +01:00 |
|
Joe Thornber
|
ddf5765f9c
|
[caching] damage visitor and checker for hint array
|
2013-10-08 10:43:20 +01:00 |
|
Joe Thornber
|
7da033d5c1
|
[hint_array] move hint_traits to .cc file
|
2013-10-08 10:02:25 +01:00 |
|
Joe Thornber
|
19b5c6193f
|
[cache_check] detect duplicate mappings or unknown mapping flags
|
2013-10-08 09:59:16 +01:00 |
|
Joe Thornber
|
81a72c8a35
|
[cache_check] mapping damage reporter
|
2013-10-08 09:36:20 +01:00 |
|
Joe Thornber
|
96143f0bed
|
[caching/mapping_array] namespace tweaking
|
2013-10-08 09:11:04 +01:00 |
|
Joe Thornber
|
42fd6b928b
|
[cache_check] A whole bunch of superblock checks
|
2013-10-07 15:21:45 +01:00 |
|
Joe Thornber
|
7cd4728fbf
|
[build] add LDFLAGS to thin_metadata_size
|
2013-10-07 14:27:08 +01:00 |
|
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 |
|