search for: relocate_tree_blocks

Displaying 5 results from an estimated 5 matches for "relocate_tree_blocks".

2013 Feb 06
3
btrfs balance -> hang/crash
...f81218617>] __btrfs_cow_block+0x137/0x550 [ 347.237728] [<ffffffff81218baf>] btrfs_cow_block+0xff/0x250 [ 347.237731] [<ffffffff8121d2f1>] btrfs_search_slot+0x421/0x980 [ 347.237735] [<ffffffff8127fa0e>] do_relocation+0x3be/0x510 [ 347.237740] [<ffffffff812839f3>] relocate_tree_blocks+0x5e3/0x610 [ 347.237743] [<ffffffff812849a4>] relocate_block_group+0x444/0x6c0 [ 347.237747] [<ffffffff81284dc9>] btrfs_relocate_block_group+0x1a9/0x2d0 [ 347.237751] [<ffffffff8125de36>] btrfs_relocate_chunk.isra.53+0x56/0x730 [ 347.237754] [<ffffffff812621fe>] btr...
2012 Dec 19
6
HIT WARN_ON WARNING: at fs/btrfs/extent-tree.c:6339 btrfs_alloc_free_block+0x126/0x330 [btrfs]()
Hi all, Did someone have met this problem before. When doing the tests, I hit the WARN_ON. Is this log make sense or someone had fixed the problem. If needed, I can supply the detail log and the testcase source file. Version: the latest codes at linus git tree. [ 2140.981293] use_block_rsv: 336 callbacks suppressed [ 2140.981295] ------------[ cut here ]------------ [ 2140.981308]
2012 Jul 07
0
block rsv returned -28
...4/0x13f [btrfs] [ 1105.178441] [<ffffffffa02f4753>] btrfs_search_slot+0x230/0x531 [btrfs] [ 1105.178581] [<ffffffffa0342990>] do_relocation+0x104/0x3fe [btrfs] [ 1105.179050] [<ffffffffa0342d29>] finish_pending_nodes+0x9f/0x103 [btrfs] [ 1105.179518] [<ffffffffa03456b5>] relocate_tree_blocks+0x124/0x14a [btrfs] [ 1105.179994] [<ffffffffa034624e>] relocate_block_group+0x21a/0x439 [btrfs] [ 1105.180774] [<ffffffffa03465ac>] btrfs_relocate_block_group+0x13f/0x267 [btrfs] [ 1105.181471] [<ffffffffa032b849>] btrfs_relocate_chunk.isra.51+0x4b/0x2ce [btrfs] [ 1105.182037]...
2009 Aug 24
0
[PATCH] Btrfs: proper metadata -ENOSPC handling
...ing_snapshot->root = root; list_add(&pending_snapshot->list, &trans->transaction->pending_snapshots); diff --git a/fs/btrfs/relocation.c b/fs/btrfs/relocation.c index e71264d..74f40f1 100644 --- a/fs/btrfs/relocation.c +++ b/fs/btrfs/relocation.c @@ -2458,6 +2458,16 @@ int relocate_tree_blocks(struct btrfs_trans_handle *trans, } remove_backref_node(cache, node); rb_node = rb_next(rb_node); + + /* + * if we can''t extend the transaction, just exit so we can end + * this transaction and start again with clean backref cache + */ + ret = btrfs_try_extend_transaction(...
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