search for: merge_reloc_roots

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

2013 Mar 31
9
BTRFS error in __btrfs_inc_extent_ref:1935: Object already exists
...trfs] [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] [<ffffffffa024cd45>] btrfs_relocate_block_group+0x1c5/0x300 [btrfs] [12451.490825] [<ffffffffa02250b5>] btrfs_relocate_chunk.isra.54+0x75/0x730 [btrfs] [12451.490864]...
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
...0000e000c7d7fef0 ffff8804316560fc Nov 18 06:59:46 hsad-srv-03 kernel: [158311.403810] ffff880285a3cea8 00000003a01d1c8a 0000000000049c03 ffff8801611179c0 Nov 18 06:59:46 hsad-srv-03 kernel: [158311.403847] Call Trace: Nov 18 06:59:46 hsad-srv-03 kernel: [158311.403869] [<ffffffffa020cfbc>] ? merge_reloc_roots+0xdf/0x246 [btrfs] Nov 18 06:59:46 hsad-srv-03 kernel: [158311.403905] [<ffffffffa020d596>] ? relocate_block_group+0x473/0x4eb [btrfs] Nov 18 06:59:46 hsad-srv-03 kernel: [158311.403943] [<ffffffffa020d751>] ? btrfs_relocate_block_group+0x143/0x26a [btrfs] Nov 18 06:59:46 hsad-srv-03 ke...
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
Document those places in the btrfs code which are BUGing on non-fatal error conditions that should be handled by proper error paths. This makes it easier to distinguish between what needs fixing versus which BUG_ON''s we might want to keep (to trap code bugs, unexpected inconsistencies, etc). Do this with a trivial macro, ''btrfs_fixable_bug_on'' which just defines to
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.