search for: btrfs_alloc_free_block

Displaying 20 results from an estimated 22 matches for "btrfs_alloc_free_block".

2012 Dec 19
6
HIT WARN_ON WARNING: at fs/btrfs/extent-tree.c:6339 btrfs_alloc_free_block+0x126/0x330 [btrfs]()
...ixed 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] WARNING: at fs/btrfs/extent-tree.c:6339 btrfs_alloc_free_block+0x126/0x330 [btrfs]() [ 2140.981309] Hardware name: 2356BG6 ... [ 2140.981568] ------------[ cut here ]------------ [ 2140.981574] WARNING: at fs/btrfs/extent-tree.c:6339 btrfs_alloc_free_block+0x126/0x330 [btrfs]() [ 2140.981574] Hardware name: 2356BG6 [ 2140.981575] btrfs: block rsv returned -28...
2011 May 31
2
WARNING: at fs/btrfs/extent-tree.c:5695 btrfs_alloc_free_block+0x22c/0x370 [btrfs]()
...ht be why the computer has so much trouble: May 30 23:25:17 localhost kernel: [17117.213589] Call Trace: May 30 23:25:17 localhost kernel: [17117.213598] [<ffffffff8104daeb>] ? warn_slowpath_common+0x7b/0xc0 May 30 23:25:17 localhost kernel: [17117.213625] [<ffffffffa01b650c>] ? btrfs_alloc_free_block+0x22c/0x370 [btrfs] May 30 23:25:17 localhost kernel: [17117.213636] [<ffffffff8139cc4c>] ? schedule+0x53c/0xd70 May 30 23:25:17 localhost kernel: [17117.213643] [<ffffffff8139ccbc>] ? schedule+0x5ac/0xd70 May 30 23:25:17 localhost kernel: [17117.213672] [<ffffffffa01e8a1f&g...
2011 Sep 27
2
high CPU usage and low perf
...fffffffffffffff 00000000e86aa840 0000000000001000 00000000ffffffe4 ffff8801462ba800 ffff880109f9b540 000088002a95eba8 Call Trace: [<ffffffffa032765e>] ? tree_search_offset+0x18f/0x1b8 [btrfs] [<ffffffffa02eb745>] ? btrfs_reserve_extent+0xb0/0x190 [btrfs] [<ffffffffa02ebdfc>] ? btrfs_alloc_free_block+0x22e/0x349 [btrfs] [<ffffffffa02dea3d>] ? __btrfs_cow_block+0x102/0x31e [btrfs] [<ffffffffa02ebdfc>] ? btrfs_alloc_free_block+0x22e/0x349 [btrfs] [<ffffffffa02dea3d>] ? __btrfs_cow_block+0x102/0x31e [btrfs] [<ffffffffa02dd400>] ? btrfs_set_node_key+0x1a/0x20 [btrfs] [&...
2013 Feb 06
3
btrfs balance -> hang/crash
...then ist stopped processing further chunks, but contiued to consume large amounts of the CPU. The system logged filled quickly with messages like: [ 347.237658] btrfs: block rsv returned -28 [ 347.237661] ------------[ cut here ]------------ [ 347.237667] WARNING: at fs/btrfs/extent-tree.c:6297 btrfs_alloc_free_block+0x399/0x3a0() [ 347.237668] Hardware name: GA-MA74GM-S2H [ 347.237669] Modules linked in: fuse xt_pkttype af_packet ipt_REJECT xt_conntrack iptable_raw xt_CT iptable_filter nf _conntrack_netbios_ns nf_conntrack_broadcast nf_conntrack_ipv4 nf_conntrack nf_defrag_ipv4 ip_tables x_tables cpufreq_c o...
2011 Sep 10
12
WARNING: at fs/btrfs/inode.c:2193 btrfs_orphan_commit_root+0xb0/0xc0 [btrfs]()
Hi I am hitting this Warning reproducible, the workload is a ceph osd, kernel ist 3.1.0-rc5. Best Regards, martin [ 5472.099766] ------------[ cut here ]------------ [ 5472.099833] WARNING: at fs/btrfs/inode.c:2193 btrfs_orphan_commit_root+0xb0/0xc0 [btrfs]() [ 5472.099838] Hardware name: MS-96B3 [ 5472.099842] Modules linked in: radeon ttm drm_kms_helper drm i2c_algo_bit psmouse sp5100_tco
2012 Nov 22
0
raid10 data fs full after degraded mount
...ounts [ 2756.911342] btrfs: disk space caching is enabled [ 2756.953571] btrfs: bdev (null) errs: wr 53951563, rd 602, flush 2694, corrupt 0, gen 0 [ 2898.699564] btrfs: block rsv returned -28 [ 2898.699568] ------------[ cut here ]------------ [ 2898.699594] WARNING: at fs/btrfs/extent-tree.c:6297 btrfs_alloc_free_block+0xeb/0x2a0 [btrfs]() [ 2898.699596] Hardware name: X9SCL/X9SCM [ 2898.699597] Modules linked in: nfsd auth_rpcgss nfs_acl nfs lockd fscache sunrpc xfs loop raid10 md_mod coretemp kvm_intel kvm crc32c_intel ghash_clmulni_intel aesni_intel aes_x86_64 xts snd_pcm snd_page_alloc lrw i2c_i801 psmouse se...
2013 Jun 05
8
btrfs raid1 on 16TB goes read-only after "btrfs: block rsv returned -28"
...ted 7 times until there is a call trace for: "WARNING: at fs/btrfs/super.c:256 __btrfs_abort_transaction+0x3d/0xad()". Then, the mount is set read-only. How to fix or debug? Thanks, Martin kernel: ------------[ cut here ]------------ kernel: WARNING: at fs/btrfs/extent-tree.c:6372 btrfs_alloc_free_block+0xd3/0x29c() kernel: Hardware name: GA-MA790FX-DS5 kernel: btrfs: block rsv returned -28 kernel: Modules linked in: raid456 async_raid6_recov async_memcpy async_pq async_xor xor async_tx raid6_pq act_police cls_basic cls_flow cls_fw cls_u32 sch_tbf sch_prio sch_htb sch_hfsc sch_ingress sch_sfq xt_C...
2012 Mar 08
17
kernel BUG at fs/btrfs/delayed-inode.c:1466!
Hi, this shown up today. I had to do a hard reboot as graceful hanged on sync(). ------------[ cut here ]------------ kernel BUG at fs/btrfs/delayed-inode.c:1466! invalid opcode: 0000 [#1] SMP CPU 10 Modules linked in: btrfs zlib_deflate lzo_compress ipmi_devintf autofs4 be2iscsi iscsi_boot_sysfs ib_iser rdma_cm ib_cm iw_cm ib_sa ib_mad ib_addr iscsi_tcp bnx2i cnic uio ipv6 cxgb3i libcxgbi
2009 May 12
0
[PATCH 1/2] btrfs-progs: mixed back ref support
...ew_root; + struct btrfs_disk_key disk_key; new_root = kmalloc(sizeof(*new_root), GFP_NOFS); if (!new_root) @@ -98,8 +99,12 @@ int btrfs_copy_root(struct btrfs_trans_h WARN_ON(root->ref_cows && trans->transid != root->last_trans); level = btrfs_header_level(buf); - cow = btrfs_alloc_free_block(trans, new_root, buf->len, 0, - new_root_objectid, trans->transid, + if (level == 0) + btrfs_item_key(buf, &disk_key, 0); + else + btrfs_node_key(buf, &disk_key, 0); + cow = btrfs_alloc_free_block(trans, new_root, buf->len, + new_root_objectid, &disk_key,...
2014 Aug 05
0
Stack dumps in use_block_rsv while rebalancing ("block rsv returned -28")
...6f115>] dump_stack+0x46/0x58 [376007.682005] [<ffffffff8106ceac>] warn_slowpath_common+0x8c/0xc0 [376007.682008] [<ffffffff8106cf96>] warn_slowpath_fmt+0x46/0x50 [376007.682016] [<ffffffffa00d9d1d>] use_block_rsv+0xfd/0x1a0 [btrfs] [376007.682024] [<ffffffffa00de687>] btrfs_alloc_free_block+0x57/0x220 [btrfs] [376007.682027] [<ffffffff8178033c>] ? __do_page_fault+0x28c/0x550 [376007.682031] [<ffffffff8119749f>] ? page_add_file_rmap+0x6f/0xb0 [376007.682037] [<ffffffffa00c8a3c>] btrfs_copy_root+0xfc/0x2b0 [btrfs] [376007.682041] [<ffffffff811c60b9>] ? memcg_...
2012 Jul 07
0
block rsv returned -28
...fffffff81003b0e>] dump_trace+0x89/0x1e9 [ 1105.177858] [<ffffffff813bdd45>] dump_stack+0x69/0x6f [ 1105.177871] [<ffffffff8102d9d4>] warn_slowpath_common+0x78/0x8c [ 1105.177937] [<ffffffffa02fcaf6>] use_block_rsv+0xb8/0x104 [btrfs] [ 1105.178092] [<ffffffffa02fef88>] btrfs_alloc_free_block+0x29/0x1bd [btrfs] [ 1105.178236] [<ffffffffa02f17fe>] __btrfs_cow_block+0x10e/0x350 [btrfs] [ 1105.178338] [<ffffffffa02f1b34>] btrfs_cow_block+0xf4/0x13f [btrfs] [ 1105.178441] [<ffffffffa02f4753>] btrfs_search_slot+0x230/0x531 [btrfs] [ 1105.178581] [<ffffffffa0342990&gt...
2009 Feb 16
0
warn_slowpath in clean_tree_block
...fffa03f992a>] alloc_extent_buffer+0x268/0x2ec [btrfs] Feb 16 09:02:17 vlad kernel: [<ffffffffa03e1b18>] clean_tree_block+0x9d/0xbb [btrfs] Feb 16 09:02:17 vlad kernel: [<ffffffffa03d5eaf>] btrfs_init_new_buffer+0x99/0xf3 [btrfs] Feb 16 09:02:17 vlad kernel: [<ffffffffa03d849e>] btrfs_alloc_free_block+0x83/0x8c [btrfs] Feb 16 09:02:17 vlad kernel: [<ffffffffa03cda8b>] split_leaf+0x159/0xa0a [btrfs] Feb 16 09:02:17 vlad kernel: [<ffffffffa03f0de5>] btrfs_item_offset+0xb3/0xbe [btrfs] Feb 16 09:02:17 vlad kernel: [<ffffffffa03c96bc>] leaf_space_used+0xb5/0xe8 [btrfs] Feb 16 09:02...
2012 Sep 12
2
Deadlock in btrfs-cleaner, related to snapshot deletion
...>] schedule+0x29/0x70 [ 386.318305] [<ffffffffa011b29d>] btrfs_tree_lock+0xcd/0x250 [btrfs] [ 386.318314] [<ffffffff8107ccd0>] ? add_wait_queue+0x60/0x60 [ 386.318348] [<ffffffffa00dc4f8>] btrfs_init_new_buffer+0x68/0x140 [btrfs] [ 386.318379] [<ffffffffa00dc66f>] btrfs_alloc_free_block+0x9f/0x220 [btrfs] [ 386.318408] [<ffffffffa00c83b2>] __btrfs_cow_block+0x122/0x4f0 [btrfs] [ 386.318415] [<ffffffff8169e00e>] ? _raw_spin_lock+0xe/0x20 [ 386.318443] [<ffffffffa00c887c>] btrfs_cow_block+0xfc/0x220 [btrfs] [ 386.318472] [<ffffffffa00cc9f8>] btrfs_sea...
2012 May 27
0
[RFC PATCH] Decrease Metadata Fragment Using A Caterpillar Band Method
...ng Liu 523f28f9b3d9c710cacc31dbba644efb1678cf62 (weifeng.liu@hushmail.com) --- --- a/fs/btrfs/ctree.c 2012-05-21 18:42:51.000000000 +0000 +++ b/fs/btrfs/ctree.c 2012-05-27 19:12:16.865575580 +0000 @@ -444,9 +444,21 @@ static noinline int __btrfs_cow_block(st } else parent_start = 0; - cow = btrfs_alloc_free_block(trans, root, buf->len, parent_start, + if (root->fs_info->cater_factor > 1) { + if (btrfs_cater_factor(btrfs_header_cater(buf)) > 1) + cow = btrfs_grab_cater_block(trans, root, buf, parent_start, + root->root_key.objectid, &disk_key, + level, search_start,...
2009 Feb 26
2
BUG: Mount/Unmount Loop
...ll Trace: [ 121.451255] ([<000003e000715e3e>] find_free_extent+0x236/0x784 [btrfs]) [ 121.451396] [<000003e0007164f0>] __btrfs_reserve_extent+0x164/0x314 [btrfs] [ 121.451489] [<000003e0007184e2>] btrfs_alloc_extent+0x4e/0xc8 [btrfs] [ 121.451583] [<000003e0007185c8>] btrfs_alloc_free_block+0x6c/0xb0 [btrfs] [ 121.451676] [<000003e00070841a>] __btrfs_cow_block+0x242/0xa08 [btrfs] [ 121.451766] [<000003e0007093e4>] btrfs_cow_block+0x220/0x234 [btrfs] [ 121.451857] [<000003e00072761a>] btrfs_commit_tree_roots+0x6e/0x21c [btrfs] [ 121.452077] [<000003e000728c...
2010 Mar 02
3
2.6.33 high cpu usage
With the ATI bug I was hitting earlier fixed, only my btrfs partition continues to show high cpu usage for some operations. Rsync, git pull, git checkout and svn up are typicall operations which trigger the high cpu usage. As an example, this perf report is from using git checkout to change to a new branch; the change needed to checkout 208 files out of about 1600 total files. du(1) reports
2012 Jan 11
12
[PATCH 00/11] Btrfs: some patches for 3.3
The biggest one is a fix for fstrim, and there''s a fix for on-disk free space cache. Others are small fixes and cleanups. The last three have been sent weeks ago. The patchset is also available in this repo: git://repo.or.cz/linux-btrfs-devel.git for-chris Note there''s a small confict with Al Viro''s vfs changes. Li Zefan (11): Btrfs: add pinned extents to
2011 Oct 06
26
[PATCH v0 00/18] btfs: Subvolume Quota Groups
This is a first draft of a subvolume quota implementation. It is possible to limit subvolumes and any group of subvolumes and also to track the amount of space that will get freed when deleting snapshots. The current version is functionally incomplete, with the main missing feature being the initial scan and rescan of an existing filesystem. I put some effort into writing an introduction into
2013 Aug 14
23
[RFC] btrfs-progs: fix sparse checking and warnings
Hi gang, I was a little surprised to see that patch go by recently which fixed an endian bug. I went to see how sparse checking looked and it was.. broken. I got it going again in my Fedora environment. Most of the patches are just cleanups, but there *were* three real bugs lurking in all that sparse warning spam. So I maintain that it''s worth our time to keep it going and fix
2010 Sep 03
0
[PATCH 1/2] btrfs: document where we use BUG_ON instead of error handling
..., } ret = update_reserved_bytes(block_group, ins->offset, 1, 1); - BUG_ON(ret); + btrfs_fixable_bug_on(ret); btrfs_put_block_group(block_group); ret = alloc_reserved_file_extent(trans, root, 0, root_objectid, 0, owner, offset, ins, 1); @@ -5392,7 +5392,7 @@ struct extent_buffer *btrfs_alloc_free_block(struct btrfs_trans_handle *trans, ins.offset, parent, root_objectid, level, BTRFS_ADD_DELAYED_EXTENT, extent_op); - BUG_ON(ret); + btrfs_fixable_bug_on(ret); } return buf; } @@ -5530,7 +5530,7 @@ static noinline int walk_down_proc(struct btrfs_trans_handle *trans,...