search for: update_cowonly_root

Displaying 3 results from an estimated 3 matches for "update_cowonly_root".

2009 Jun 03
0
[PATCH] Make sure all dirty blocks are written at commit time
...return 0; } int btrfs_extent_readonly(struct btrfs_root *root, u64 bytenr) diff -urp 1/fs/btrfs/transaction.c 2/fs/btrfs/transaction.c --- 1/fs/btrfs/transaction.c 2009-06-02 10:53:14.628551493 +0800 +++ 2/fs/btrfs/transaction.c 2009-06-03 09:56:34.000000000 +0800 @@ -444,9 +444,6 @@ static int update_cowonly_root(struct bt btrfs_write_dirty_block_groups(trans, root); - ret = btrfs_run_delayed_refs(trans, root, (unsigned long)-1); - BUG_ON(ret); - while (1) { old_root_bytenr = btrfs_root_bytenr(&root->root_item); if (old_root_bytenr == root->node->start) @@ -457,9 +454,8 @@ static...
2013 Aug 04
2
Unable to unmount filesystem (bug in kernel reported in kern.log)
...26:06 rohan kernel: [ 3878.951105] [<ffffffffa053b069>] btrfs_write_out_cache+0xb9/0xf0 [btrfs] Aug 4 02:26:06 rohan kernel: [ 3878.951105] [<ffffffffa04f4424>] btrfs_write_dirty_block_groups+0x224/0x280 [btrfs] Aug 4 02:26:06 rohan kernel: [ 3878.951105] [<ffffffffa0502b62>] update_cowonly_root+0x42/0xd0 [btrfs] Aug 4 02:26:06 rohan kernel: [ 3878.951105] [<ffffffffa0502cac>] commit_cowonly_roots+0xbc/0x100 [btrfs] Aug 4 02:26:06 rohan kernel: [ 3878.951105] [<ffffffffa050448f>] btrfs_commit_transaction+0x3bf/0x840 [btrfs] Aug 4 02:26:06 rohan kernel: [ 3878.951105] [&lt...
2010 Sep 03
0
[PATCH 1/2] btrfs: document where we use BUG_ON instead of error handling
...fs/transaction.c +++ b/fs/btrfs/transaction.c @@ -191,7 +191,7 @@ again: wait_current_trans(root); ret = join_transaction(root); - BUG_ON(ret); + btrfs_fixable_bug_on(ret); cur_trans = root->fs_info->running_transaction; cur_trans->use_count++; @@ -586,11 +586,11 @@ static int update_cowonly_root(struct btrfs_trans_handle *trans, ret = btrfs_update_root(trans, tree_root, &root->root_key, &root->root_item); - BUG_ON(ret); + btrfs_fixable_bug_on(ret); old_root_used = btrfs_root_used(&root->root_item); ret = btrfs_write_dirty_block_groups(trans, ro...