search for: merge_reloc_root

Displaying 6 results from an estimated 6 matches for "merge_reloc_root".

Did you mean: merge_reloc_roots
2013 Mar 31
9
BTRFS error in __btrfs_inc_extent_ref:1935: Object already exists
....490470] [<ffffffffa01f32c0>] btrfs_run_delayed_refs+0xd0/0x2f0 [btrfs] [12451.490504] [<ffffffffa0203987>] __btrfs_end_transaction+0xf7/0x410 [btrfs] [12451.490538] [<ffffffffa0203cd3>] btrfs_end_transaction_throttle+0x13/0x20 [btrfs] [12451.490576] [<ffffffffa024bf34>] merge_reloc_root+0x274/0x500 [btrfs] [12451.490606] [<ffffffffa01dd32a>] ? btrfs_free_path+0x2a/0x40 [btrfs] [12451.490698] [<ffffffffa024c2d8>] merge_reloc_roots+0x118/0x150 [btrfs] [12451.490741] [<ffffffffa024c91b>] relocate_block_group+0x3db/0x640 [btrfs] [12451.490784] [<ffffffffa024cd...
2013 Jun 04
3
[PATCH] Btrfs: fix broken nocow after balance
Balance will create reloc_root for each fs root, and it''s going to record last_snapshot to filter shared blocks. The side effect of setting last_snapshot is to break nocow attributes of files. So it turns out that checking last_snapshot does not always ensure that a node/leaf/file_extent is shared. That''s why shared node/leaf needs to search extent tree for number of
2013 Nov 18
0
btrfs goes read only after balance
...rer System Product Name/SABERTOOTH X58, BIOS 1304 08/02/2011 Nov 18 06:59:46 hsad-srv-03 kernel: [158311.403397] task: ffff8806121b8770 ti: ffff880161116000 task.ti: ffff880161116000 Nov 18 06:59:46 hsad-srv-03 kernel: [158311.403428] RIP: 0010:[<ffffffffa020cc52>] [<ffffffffa020cc52>] merge_reloc_root +0x17b/0x406 [btrfs] Nov 18 06:59:46 hsad-srv-03 kernel: [158311.403476] RSP: 0018:ffff880161117968 EFLAGS: 00010206 Nov 18 06:59:46 hsad-srv-03 kernel: [158311.403498] RAX: ffffffffffffffe2 RBX: ffff8802ba89dc70 RCX: 0000000000000002 Nov 18 06:59:46 hsad-srv-03 kernel: [158311.403527] RDX: 000000...
2009 Aug 24
0
[PATCH] Btrfs: proper metadata -ENOSPC handling
...rc->create_reloc_root = 0; smp_mb(); - if (rc->extents_found > 0) { - trans = btrfs_start_transaction(rc->extent_root, 1); - btrfs_commit_transaction(trans, rc->extent_root); - } + if (rc->extents_found > 0) + btrfs_force_transaction_commit(rc->extent_root, 0); merge_reloc_roots(rc); unset_reloc_control(rc); /* get rid of pinned extents */ - trans = btrfs_start_transaction(rc->extent_root, 1); - btrfs_commit_transaction(trans, rc->extent_root); + btrfs_force_transaction_commit(rc->extent_root, 0); return err; } @@ -3540,7 +3574,6 @@ int btrfs_recover...
2010 Sep 03
0
[PATCH 1/2] btrfs: document where we use BUG_ON instead of error handling
...G_ON(ret); + btrfs_fixable_bug_on(ret); ret = btrfs_free_extent(trans, dest, old_bytenr, blocksize, 0, dest->root_key.objectid, level - 1, 0); - BUG_ON(ret); + btrfs_fixable_bug_on(ret); btrfs_unlock_up_safe(path, 0); @@ -2036,7 +2036,7 @@ static noinline_for_stack int merge_reloc_root(struct reloc_control *rc, if (ret) { BUG_ON(ret != -EAGAIN); ret = btrfs_commit_transaction(trans, root); - BUG_ON(ret); + btrfs_fixable_bug_on(ret); continue; } @@ -2218,7 +2218,7 @@ again: BUG_ON(root->reloc_root != reloc_root); ret = merge_reloc_root(rc, root...
2011 Aug 23
40
[PATCH 00/21] [RFC] Btrfs: restriper
Hello, This patch series adds an initial implementation of restriper (it''s a clever name for relocation framework that allows to do selective profile changing and selective balancing with some goodies like pausing/resuming and reporting progress to the user. Profile changing is global (per-FS) so far, per-subvolume profiles require some discussion and can be implemented in future.