12 #define DM_MSG_PREFIX "btree spine"
16 #define BTREE_CSUM_XOR 121107
31 block_size -
sizeof(
__le32),
34 BUG_ON(node_check(v, b, 4096));
48 DMERR(
"node_check failed blocknr %llu wanted %llu",
54 block_size -
sizeof(
__le32),
56 if (csum_disk != h->
csum) {
57 DMERR(
"node_check failed csum %u wanted %u",
66 DMERR(
"node_check failed: max_entries too large");
71 DMERR(
"node_check failed, too many entries");
80 DMERR(
"node_check failed, node is neither INTERNAL or LEAF");
89 .prepare_for_write = node_prepare_for_write,
169 struct dm_block *
block;
238 return s->
count >= 2;