Merge branch 'low_level_examine_metadata' into merge-show-blocks

Conflicts:
	.gitignore
	Makefile.in
	persistent-data/space-maps/disk.cc
This commit is contained in:
Joe Thornber
2016-02-24 15:24:43 +00:00
8 changed files with 185 additions and 5 deletions

View File

@@ -62,8 +62,6 @@ namespace {
//--------------------------------
uint64_t const INDEX_CSUM_XOR = 160478;
// FIXME: factor out the common code in these validators
struct index_block_validator : public bcache::validator {
virtual void check(void const *raw, block_address location) const {

View File

@@ -111,6 +111,9 @@ namespace persistent_data {
le32 not_used;
le64 blocknr;
} __attribute__ ((packed));
uint64_t const BITMAP_CSUM_XOR = 240779;
uint64_t const INDEX_CSUM_XOR = 160478;
}
}