Displaying 2 results from an estimated 2 matches for "csum_tree_block_size".
2013 Feb 23
4
Changing node & leaf size on live partition.
Hi,
Question is pretty simple:
"How to change node size and leaf size on previously created partition?"
Now, I know what most people will say: "you should''ve be smarter while
typing mkfs.btrfs". Well, I''m intending to convert in place ext4
partition but there seems to be no option for leaf and node size in this
tool. If it''s not possible I guess
2011 Aug 06
0
help recover from unmountable btrfs
...dre Oliva <oliva@lsd.ic.unicamp.br>
---
disk-io.c | 41 +++++++++++++++++++++++++++++++++++++++++
volumes.c | 3 +++
2 files changed, 44 insertions(+), 0 deletions(-)
diff --git a/disk-io.c b/disk-io.c
index a6e1000..6860c26 100644
--- a/disk-io.c
+++ b/disk-io.c
@@ -87,6 +87,22 @@ int csum_tree_block_size(struct extent_buffer *buf, u16 csum_size,
printk("checksum verify failed on %llu wanted %X "
"found %X\n", (unsigned long long)buf->start,
*((int *)result), *((char *)buf->data));
+ if (csum_size == 4) {
+ fprintf(stderr, "dd if=(fd %i)...