Bug 894673 - [abrt]: WARNING: at fs/btrfs/inode.c:2165 btrfs_orphan_commit_root+0xf4/0x100 [btrfs]()
Summary: [abrt]: WARNING: at fs/btrfs/inode.c:2165 btrfs_orphan_commit_root+0xf4/0x100...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: kernel
Version: 18
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Zach Brown
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:6d53543c57a20dbc189b2efbc4d...
: 895471 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-01-13 03:17 UTC by Bill Campbell
Modified: 2015-05-18 01:40 UTC (History)
10 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-07-01 13:57:48 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Bill Campbell 2013-01-13 03:17:18 UTC
Additional info:
WARNING: at fs/btrfs/inode.c:2165 btrfs_orphan_commit_root+0xf4/0x100 [btrfs]()
Hardware name: 417032U
Modules linked in: ebtable_nat xt_CHECKSUM bridge stp llc fuse nf_conntrack_netbios_ns nf_conntrack_broadcast ipt_MASQUERADE ip6table_mangle ip6t_REJECT be2iscsi nf_conntrack_ipv6 nf_defrag_ipv6 iscsi_boot_sysfs bnx2i cnic uio cxgb4i cxgb4 cxgb3i cxgb3 mdio libcxgbi ib_iser rdma_cm ib_addr iw_cm ib_cm ib_sa ib_mad ib_core iscsi_tcp libiscsi_tcp libiscsi scsi_transport_iscsi iptable_nat nf_nat_ipv4 nf_nat iptable_mangle nf_conntrack_ipv4 nf_defrag_ipv4 xt_conntrack nf_conntrack ebtable_filter ebtables ip6table_filter ip6_tables binfmt_misc rfcomm bnep iTCO_wdt iTCO_vendor_support vhost_net tun macvtap macvlan coretemp kvm_intel kvm microcode i2c_i801 uvcvideo lpc_ich videobuf2_vmalloc mfd_core snd_hda_codec_hdmi videobuf2_memops videobuf2_core videodev arc4 snd_hda_codec_conexant media joydev rtl8192ce btusb rtlwifi snd_hda_intel bluetooth rtl8192c_common snd_hda_codec mac80211 snd_hwdep snd_seq snd_seq_device snd_pcm cfg80211 snd_page_alloc snd_timer tpm_tis mei thinkpad_acpi tpm snd uinput tpm_bios soundcore rfkill btrfs libcrc32c zlib_deflate crc32c_intel i915 ghash_clmulni_intel sdhci_pci i2c_algo_bit sdhci drm_kms_helper drm mmc_core e1000e i2c_core wmi video sunrpc
Pid: 294, comm: btrfs-transacti Not tainted 3.7.1-5.fc18.x86_64 #1
Call Trace:
 [<ffffffff8105e70f>] warn_slowpath_common+0x7f/0xc0
 [<ffffffff8105e76a>] warn_slowpath_null+0x1a/0x20
 [<ffffffffa0239074>] btrfs_orphan_commit_root+0xf4/0x100 [btrfs]
 [<ffffffffa0232388>] commit_fs_roots.isra.24+0xb8/0x190 [btrfs]
 [<ffffffffa0233238>] btrfs_commit_transaction+0x598/0xae0 [btrfs]
 [<ffffffff81082660>] ? wake_up_bit+0x40/0x40
 [<ffffffffa022bec5>] transaction_kthread+0x1a5/0x220 [btrfs]
 [<ffffffffa022bd20>] ? btree_readpage_end_io_hook+0x290/0x290 [btrfs]
 [<ffffffff81081d50>] kthread+0xc0/0xd0
 [<ffffffff81010000>] ? ftrace_raw_event_xen_mmu_flush_tlb_others+0x50/0xe0
 [<ffffffff81081c90>] ? kthread_create_on_node+0x120/0x120
 [<ffffffff8163d96c>] ret_from_fork+0x7c/0xb0
 [<ffffffff81081c90>] ? kthread_create_on_node+0x120/0x120

Comment 1 Dave Jones 2013-01-18 17:41:56 UTC
*** Bug 895471 has been marked as a duplicate of this bug. ***

Comment 2 Zach Brown 2013-01-21 23:16:44 UTC
> WARNING: at fs/btrfs/inode.c:2165 btrfs_orphan_commit_root+0xf4/0x100 [btrfs]()

2164         if (block_rsv) {
2165                 WARN_ON(block_rsv->size > 0);
2166                 btrfs_free_block_rsv(root, block_rsv);
2167         }

As far as I can tell, this is just an informational warning to the developers that the block reservation logic isn't bulletproof.  A block reservation for orphan inodes is sticking around until the root is committed. The reservation is still freed, though.  I imagine the only downside is a slightly higher risk of premature ENOSPC.

Does that sound right, Josef?  What was *supposed* to happen to stop the orphan_block_rsv from still being set?

Comment 3 Philipp Dreimann 2013-01-22 12:51:52 UTC
This warning happened on my system after an oops caused by btrfs, which did not show up in the logs after a reboot. (Some recent data was lost, if I remember it correctly.)

Comment 4 phaet0n 2013-02-18 16:14:23 UTC
According to my Fedora 18 install, I have experienced this bug.

Notes that may be of interest:
- /boot on separate partition as ext4, however /, and /home are subvolumes on a btrfs
- only had Google Chrome open, from the google linux repo, at the time logged in to Gmail
- had left the machine for about an hour to attend to another task, turned off the monitor, and walked away
- returned to find the kernel dump, and upon reboot and login the bug reporting process loaded

I hope this helps somewhat.

Comment 5 Josef Bacik 2013-02-20 19:52:49 UTC
Fixed this upstream, please try btrfs-next and verify it fixes the problem for you.

Comment 6 Usama 2013-03-12 13:45:26 UTC
Do not know how. Clean Netinstall, minimal X, followed by Gnome and KVM. System does not shutdown properly is the only symptom.

Package: kernel
OS Release: Fedora release 18 (Spherical Cow)

Comment 7 Josh Boyer 2013-07-01 13:57:48 UTC
Closing per comment #5.  This should have been fixed in a stable F18 update at this point.


Note You need to log in before you can comment on or make changes to this bug.