提交 f5947066 编写于 作者: C Chris Mason

Btrfs: Add debugging for block group update failure

Signed-off-by: NChris Mason <chris.mason@oracle.com>
上级 c2e639f0
......@@ -1751,7 +1751,11 @@ int btrfs_alloc_extent(struct btrfs_trans_handle *trans,
update_block:
ret = update_block_group(trans, root, ins->objectid, ins->offset, 1, 0,
data);
BUG_ON(ret);
if (ret) {
printk("update block group failed for %Lu %Lu\n",
ins->objectid, ins->offset);
BUG();
}
return 0;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册