* WARNING: at fs/btrfs/inode.c:2143 btrfs_orphan_commit_root+0x7f/0x9b
[not found] ` <20110207062306.GB25062@onthe.net.au>
@ 2011-02-07 6:31 ` Chris Dunlop
2011-02-07 7:39 ` Chris Dunlop
0 siblings, 1 reply; 5+ messages in thread
From: Chris Dunlop @ 2011-02-07 6:31 UTC (permalink / raw)
To: linux-btrfs; +Cc: ceph-devel
G'day,
Using Josef's btrfs-work bacae123 (+ ceph-client 9aae8faf), I
can consistently reproduce the following btrfs warning by simply
creating and starting a new btrfs-based ceph file system:
[ 549.767234] ------------[ cut here ]------------
[ 549.767276] WARNING: at fs/btrfs/inode.c:2143 btrfs_orphan_commit_root+0x7f/0x9b [btrfs]()
[ 549.767305] Hardware name: System Product Name
[ 549.767331] Modules linked in: loop btrfs zlib_deflate crc32c libcrc32c dm_mod tpm_tis psmouse tpm tpm_bios i2c_piix4 i2c_core shpchp pci_hotplug button processor nfs lockd nfs_acl auth_rpcgss sunrpc sd_mod ata_generic ahci libahci libata r8169 mii ohci_hcd ehci_hcd scsi_mod thermal fan thermal_sys [last unloaded: scsi_wait_scan]
[ 549.768192] Pid: 10, comm: kworker/0:1 Tainted: G W 2.6.37-otn1-33361-ga3f5274 #3
[ 549.768221] Call Trace:
[ 549.768255] [<ffffffffa0217444>] ? btrfs_orphan_commit_root+0x7f/0x9b [btrfs]
[ 549.768286] [<ffffffff81044644>] ? warn_slowpath_common+0x78/0x8d
[ 549.768319] [<ffffffffa0217444>] ? btrfs_orphan_commit_root+0x7f/0x9b [btrfs]
[ 549.768354] [<ffffffffa020cdfe>] ? commit_fs_roots+0x87/0xef [btrfs]
[ 549.768388] [<ffffffffa020da71>] ? btrfs_commit_transaction+0x342/0x60f [btrfs]
[ 549.768422] [<ffffffffa00aef5d>] ? xprt_release_xprt+0x41/0x73 [sunrpc]
[ 549.768450] [<ffffffff8105df3a>] ? autoremove_wake_function+0x0/0x2e
[ 549.768480] [<ffffffffa00ace70>] ? call_transmit+0x214/0x24f [sunrpc]
[ 549.768513] [<ffffffffa020dd50>] ? do_async_commit+0x12/0x1b [btrfs]
[ 549.768541] [<ffffffff8105903b>] ? process_one_work+0x22c/0x3a5
[ 549.768574] [<ffffffffa020dd3e>] ? do_async_commit+0x0/0x1b [btrfs]
[ 549.768601] [<ffffffff81059507>] ? worker_thread+0x1d5/0x353
[ 549.768628] [<ffffffff81059332>] ? worker_thread+0x0/0x353
[ 549.768656] [<ffffffff8105daf0>] ? kthread+0x7e/0x86
[ 549.768683] [<ffffffff8100a7e4>] ? kernel_thread_helper+0x4/0x10
[ 549.768710] [<ffffffff8105da72>] ? kthread+0x0/0x86
[ 549.768737] [<ffffffff8100a7e0>] ? kernel_thread_helper+0x0/0x10
[ 549.768765] ---[ end trace 38bb7d3c072c3ca5 ]---
This or similar warnings look to have previously been reported
by others, e.g.:
2010-11-19 http://article.gmane.org/gmane.comp.file-systems.btrfs/7707/match=btrfs_orphan_commit_root
2011-01-06 http://article.gmane.org/gmane.comp.file-systems.btrfs/8512/match=btrfs_orphan_commit_root
2011-01-26 http://article.gmane.org/gmane.comp.file-systems.ceph.devel/1726/match=btrfs_orphan_commit_root
The process I use to reproduce is:
mkcephfs -v -c /etc/ceph/ceph.conf --allhosts --mkbtrfs -k /etc/ceph/keyring.bin
umount /data/osd0
/etc/init.d/ceph start
This is using a minimal ceph.conf file:
------------------------------------------------------------
[global]
[mon]
mon data = /data/mon$id
[mon0]
host = b3
mon addr = ip.ip.ip.ip:6789
[mds]
keyring = /data/keyring.$name
[mds.b3]
host = b3
[osd]
osd data = /data/osd$id
[osd0]
host = b3
btrfs devs = /dev/sda
------------------------------------------------------------
Cheers,
Chris.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: WARNING: at fs/btrfs/inode.c:2143 btrfs_orphan_commit_root+0x7f/0x9b
2011-02-07 6:31 ` WARNING: at fs/btrfs/inode.c:2143 btrfs_orphan_commit_root+0x7f/0x9b Chris Dunlop
@ 2011-02-07 7:39 ` Chris Dunlop
2011-02-08 7:37 ` Chris Dunlop
0 siblings, 1 reply; 5+ messages in thread
From: Chris Dunlop @ 2011-02-07 7:39 UTC (permalink / raw)
To: linux-btrfs; +Cc: ceph-devel
On Mon, Feb 07, 2011 at 05:31:02PM +1100, Chris Dunlop wrote:
> G'day,
>
> Using Josef's btrfs-work bacae123 (+ ceph-client 9aae8faf), I
> can consistently reproduce the following btrfs warning by simply
> creating and starting a new btrfs-based ceph file system:
>
> [ 549.767234] ------------[ cut here ]------------
> [ 549.767276] WARNING: at fs/btrfs/inode.c:2143 btrfs_orphan_commit_root+0x7f/0x9b [btrfs]()
Sorry, just found I've been booting wrong kernel. I've been
seeing the warning *without* Josef's btrfs-work. Will re-test
tomorrow.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: WARNING: at fs/btrfs/inode.c:2143 btrfs_orphan_commit_root+0x7f/0x9b
2011-02-07 7:39 ` Chris Dunlop
@ 2011-02-08 7:37 ` Chris Dunlop
2011-02-08 15:19 ` Sage Weil
0 siblings, 1 reply; 5+ messages in thread
From: Chris Dunlop @ 2011-02-08 7:37 UTC (permalink / raw)
To: linux-btrfs; +Cc: ceph-devel
On Mon, Feb 07, 2011 at 06:39:11PM +1100, Chris Dunlop wrote:
> On Mon, Feb 07, 2011 at 05:31:02PM +1100, Chris Dunlop wrote:
>> G'day,
>>
>> Using Josef's btrfs-work bacae123 (+ ceph-client 9aae8faf), I
>> can consistently reproduce the following btrfs warning by simply
>> creating and starting a new btrfs-based ceph file system:
>>
>> [ 549.767234] ------------[ cut here ]------------
>> [ 549.767276] WARNING: at fs/btrfs/inode.c:2143 btrfs_orphan_commit_root+0x7f/0x9b [btrfs]()
>
> Sorry, just found I've been booting wrong kernel. I've been
> seeing the warning *without* Josef's btrfs-work. Will re-test
> tomorrow.
OK, the line number has changed slightly, but still getting the
same thing with:
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git
commit cb5520f02c010e3cb974b9ac06f30aafa2eebc38
Merge: eee4da2... 3a90983...
Author: Linus Torvalds <torvalds@linux-foundation.org>
Date: Mon Feb 7 14:06:18 2011 -0800
Merge git://git.kernel.org/pub/scm/linux/kernel/git/mason/btrfs-unstable
[ 129.524029] ------------[ cut here ]------------
[ 129.524080] WARNING: at fs/btrfs/inode.c:2161 btrfs_orphan_commit_root+0x7f/0x9b [btrfs]()
[ 129.524111] Hardware name: System Product Name
[ 129.524140] Modules linked in: loop netconsole configfs dm_mod sd_mod i2c_piix4 k10temp i2c_core asus_atk0110 ata_generic ahci libahci libata scsi_mod shpchp button pci_hotplug processor nfs lockd nfs_acl auth_rpcgss sunrpc r8169 mii ohci_hcd ehci_hcd thermal fan thermal_sys btrfs zlib_deflate crc32c libcrc32c
[ 129.525057] Pid: 10, comm: kworker/0:1 Tainted: G W 2.6.38-rc3-otn1-00323-gc88f808 #5
[ 129.525088] Call Trace:
[ 129.525125] [<ffffffffa003db51>] ? btrfs_orphan_commit_root+0x7f/0x9b [btrfs]
[ 129.525158] [<ffffffff81043a20>] ? warn_slowpath_common+0x78/0x8d
[ 129.525195] [<ffffffffa003db51>] ? btrfs_orphan_commit_root+0x7f/0x9b [btrfs]
[ 129.525232] [<ffffffffa0033729>] ? commit_fs_roots+0x87/0xef [btrfs]
[ 129.525268] [<ffffffffa00343a2>] ? btrfs_commit_transaction+0x348/0x615 [btrfs]
[ 129.525300] [<ffffffff8105d14a>] ? autoremove_wake_function+0x0/0x2e
[ 129.525336] [<ffffffffa00c8e49>] ? call_transmit+0x214/0x24f [sunrpc]
[ 129.525372] [<ffffffffa0034681>] ? do_async_commit+0x12/0x1b [btrfs]
[ 129.525400] [<ffffffff81057df4>] ? process_one_work+0x22c/0x3a5
[ 129.525437] [<ffffffffa003466f>] ? do_async_commit+0x0/0x1b [btrfs]
[ 129.525465] [<ffffffff810582c0>] ? worker_thread+0x1d5/0x353
[ 129.525495] [<ffffffff810580eb>] ? worker_thread+0x0/0x353
[ 129.525526] [<ffffffff8105cd08>] ? kthread+0x7e/0x86
[ 129.525557] [<ffffffff8100a764>] ? kernel_thread_helper+0x4/0x10
[ 129.525588] [<ffffffff8105cc8a>] ? kthread+0x0/0x86
[ 129.525617] [<ffffffff8100a760>] ? kernel_thread_helper+0x0/0x10
[ 129.525649] ---[ end trace deccd3c0dec6c2ba ]---
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: WARNING: at fs/btrfs/inode.c:2143 btrfs_orphan_commit_root+0x7f/0x9b
2011-02-08 7:37 ` Chris Dunlop
@ 2011-02-08 15:19 ` Sage Weil
2011-02-09 3:58 ` Chris Dunlop
0 siblings, 1 reply; 5+ messages in thread
From: Sage Weil @ 2011-02-08 15:19 UTC (permalink / raw)
To: Chris Dunlop; +Cc: linux-btrfs, ceph-devel
Hi Chris,
On Tue, 8 Feb 2011, Chris Dunlop wrote:
> On Mon, Feb 07, 2011 at 06:39:11PM +1100, Chris Dunlop wrote:
> > On Mon, Feb 07, 2011 at 05:31:02PM +1100, Chris Dunlop wrote:
> >> G'day,
> >>
> >> Using Josef's btrfs-work bacae123 (+ ceph-client 9aae8faf), I
> >> can consistently reproduce the following btrfs warning by simply
> >> creating and starting a new btrfs-based ceph file system:
> >>
> >> [ 549.767234] ------------[ cut here ]------------
> >> [ 549.767276] WARNING: at fs/btrfs/inode.c:2143 btrfs_orphan_commit_root+0x7f/0x9b [btrfs]()
> >
> > Sorry, just found I've been booting wrong kernel. I've been
> > seeing the warning *without* Josef's btrfs-work. Will re-test
> > tomorrow.
>
> OK, the line number has changed slightly, but still getting the
> same thing with:
>
> git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git
Can you try to reproduce this with the following patch applied to the
server side? This will disable the async snapshot ioctl. It doesn't look
like it's related to me, but let's be sure.
Thanks!
sage
diff --git a/src/os/FileStore.cc b/src/os/FileStore.cc
index dc78451..d5530c5 100644
--- a/src/os/FileStore.cc
+++ b/src/os/FileStore.cc
@@ -865,7 +865,7 @@ int FileStore::_detect_fs()
dout(0) << "mount btrfs SNAP_CREATE_V2 got " << r << " " << strerror_r(-r, buf, sizeof(buf)) << dendl;
if (r == 0 || errno == EEXIST) {
dout(0) << "mount btrfs SNAP_CREATE_V2 is supported" << dendl;
- btrfs_snap_create_v2 = true;
+ //btrfs_snap_create_v2 = true;
// clean up
r = ::ioctl(fd, BTRFS_IOC_SNAP_DESTROY, &vol_args);
>
> commit cb5520f02c010e3cb974b9ac06f30aafa2eebc38
> Merge: eee4da2... 3a90983...
> Author: Linus Torvalds <torvalds@linux-foundation.org>
> Date: Mon Feb 7 14:06:18 2011 -0800
>
> Merge git://git.kernel.org/pub/scm/linux/kernel/git/mason/btrfs-unstable
>
>
> [ 129.524029] ------------[ cut here ]------------
> [ 129.524080] WARNING: at fs/btrfs/inode.c:2161 btrfs_orphan_commit_root+0x7f/0x9b [btrfs]()
> [ 129.524111] Hardware name: System Product Name
> [ 129.524140] Modules linked in: loop netconsole configfs dm_mod sd_mod i2c_piix4 k10temp i2c_core asus_atk0110 ata_generic ahci libahci libata scsi_mod shpchp button pci_hotplug processor nfs lockd nfs_acl auth_rpcgss sunrpc r8169 mii ohci_hcd ehci_hcd thermal fan thermal_sys btrfs zlib_deflate crc32c libcrc32c
> [ 129.525057] Pid: 10, comm: kworker/0:1 Tainted: G W 2.6.38-rc3-otn1-00323-gc88f808 #5
> [ 129.525088] Call Trace:
> [ 129.525125] [<ffffffffa003db51>] ? btrfs_orphan_commit_root+0x7f/0x9b [btrfs]
> [ 129.525158] [<ffffffff81043a20>] ? warn_slowpath_common+0x78/0x8d
> [ 129.525195] [<ffffffffa003db51>] ? btrfs_orphan_commit_root+0x7f/0x9b [btrfs]
> [ 129.525232] [<ffffffffa0033729>] ? commit_fs_roots+0x87/0xef [btrfs]
> [ 129.525268] [<ffffffffa00343a2>] ? btrfs_commit_transaction+0x348/0x615 [btrfs]
> [ 129.525300] [<ffffffff8105d14a>] ? autoremove_wake_function+0x0/0x2e
> [ 129.525336] [<ffffffffa00c8e49>] ? call_transmit+0x214/0x24f [sunrpc]
> [ 129.525372] [<ffffffffa0034681>] ? do_async_commit+0x12/0x1b [btrfs]
> [ 129.525400] [<ffffffff81057df4>] ? process_one_work+0x22c/0x3a5
> [ 129.525437] [<ffffffffa003466f>] ? do_async_commit+0x0/0x1b [btrfs]
> [ 129.525465] [<ffffffff810582c0>] ? worker_thread+0x1d5/0x353
> [ 129.525495] [<ffffffff810580eb>] ? worker_thread+0x0/0x353
> [ 129.525526] [<ffffffff8105cd08>] ? kthread+0x7e/0x86
> [ 129.525557] [<ffffffff8100a764>] ? kernel_thread_helper+0x4/0x10
> [ 129.525588] [<ffffffff8105cc8a>] ? kthread+0x0/0x86
> [ 129.525617] [<ffffffff8100a760>] ? kernel_thread_helper+0x0/0x10
> [ 129.525649] ---[ end trace deccd3c0dec6c2ba ]---
> --
> To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
>
>
^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: WARNING: at fs/btrfs/inode.c:2143 btrfs_orphan_commit_root+0x7f/0x9b
2011-02-08 15:19 ` Sage Weil
@ 2011-02-09 3:58 ` Chris Dunlop
0 siblings, 0 replies; 5+ messages in thread
From: Chris Dunlop @ 2011-02-09 3:58 UTC (permalink / raw)
To: Sage Weil; +Cc: linux-btrfs, ceph-devel
On Tue, Feb 08, 2011 at 07:19:36AM -0800, Sage Weil wrote:
> On Tue, 8 Feb 2011, Chris Dunlop wrote:
>> On Mon, Feb 07, 2011 at 06:39:11PM +1100, Chris Dunlop wrote:
>>> On Mon, Feb 07, 2011 at 05:31:02PM +1100, Chris Dunlop wrote:
>>>>
>>>> [ 549.767234] ------------[ cut here ]------------
>>>> [ 549.767276] WARNING: at fs/btrfs/inode.c:2143 btrfs_orphan_commit_root+0x7f/0x9b [btrfs]()
>>
>> OK, the line number has changed slightly, but still getting the
>> same thing with:
>>
>> git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git
>
> Can you try to reproduce this with the following patch applied to the
> server side? This will disable the async snapshot ioctl. It doesn't look
> like it's related to me, but let's be sure.
>
> diff --git a/src/os/FileStore.cc b/src/os/FileStore.cc
> index dc78451..d5530c5 100644
> --- a/src/os/FileStore.cc
> +++ b/src/os/FileStore.cc
> @@ -865,7 +865,7 @@ int FileStore::_detect_fs()
> dout(0) << "mount btrfs SNAP_CREATE_V2 got " << r << " " << strerror_r(-r, buf, sizeof(buf)) << dendl;
> if (r == 0 || errno == EEXIST) {
> dout(0) << "mount btrfs SNAP_CREATE_V2 is supported" << dendl;
> - btrfs_snap_create_v2 = true;
> + //btrfs_snap_create_v2 = true;
>
> // clean up
> r = ::ioctl(fd, BTRFS_IOC_SNAP_DESTROY, &vol_args);
The patch (applied to ceph.git 778902b, with changed line
numbers) didn't help, same warning message:
[73382.202774] ------------[ cut here ]------------
[73382.202811] WARNING: at fs/btrfs/inode.c:2161 btrfs_orphan_commit_root+0x7f/0x9b [btrfs]()
[73382.202820] Hardware name: System Product Name
[73382.202827] Modules linked in: loop netconsole configfs dm_mod sd_mod i2c_piix4 k10temp i2c_core asus_atk0110 ata_generic ahci libahci libata scsi_mod shpchp button pci_hotplug processor nfs lockd nfs_acl auth_rpcgss sunrpc r8169 mii ohci_hcd ehci_hcd thermal fan thermal_sys btrfs zlib_deflate crc32c libcrc32c
[73382.202936] Pid: 7092, comm: cosd Tainted: G W 2.6.38-rc3-otn1-00323-gc88f808 #5
[73382.202945] Call Trace:
[73382.202960] [<ffffffffa003db51>] ? btrfs_orphan_commit_root+0x7f/0x9b [btrfs]
[73382.202971] [<ffffffff81043a20>] ? warn_slowpath_common+0x78/0x8d
[73382.202985] [<ffffffffa003db51>] ? btrfs_orphan_commit_root+0x7f/0x9b [btrfs]
[73382.203001] [<ffffffffa0033729>] ? commit_fs_roots+0x87/0xef [btrfs]
[73382.203015] [<ffffffffa00343a2>] ? btrfs_commit_transaction+0x348/0x615 [btrfs]
[73382.203026] [<ffffffff8105d14a>] ? autoremove_wake_function+0x0/0x2e
[73382.203038] [<ffffffffa002073d>] ? block_rsv_add_bytes+0x15/0x3c [btrfs]
[73382.203052] [<ffffffffa0059520>] ? btrfs_mksubvol+0x1f4/0x308 [btrfs]
[73382.203065] [<ffffffffa0059732>] ? btrfs_ioctl_snap_create_transid+0xfe/0x11d [btrfs]
[73382.203080] [<ffffffffa0059856>] ? btrfs_ioctl_snap_create+0x49/0x5e [btrfs]
[73382.203094] [<ffffffffa005c36f>] ? btrfs_ioctl+0x471/0x90a [btrfs]
[73382.203102] [<ffffffff81114e79>] ? fsnotify+0x255/0x279
[73382.203110] [<ffffffff8100a36e>] ? invalidate_interrupt1+0xe/0x20
[73382.203119] [<ffffffff810f7e2a>] ? do_vfs_ioctl+0x40c/0x453
[73382.203126] [<ffffffff810f7eae>] ? sys_ioctl+0x3d/0x5c
[73382.203134] [<ffffffff81009952>] ? system_call_fastpath+0x16/0x1b
[73382.203142] ---[ end trace deccd3c0dec6c2bd ]---
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2011-02-09 3:58 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <20110204084808.GA3814@onthe.net.au>
[not found] ` <1296830292.2408.0.camel@wido-desktop>
[not found] ` <20110207062306.GB25062@onthe.net.au>
2011-02-07 6:31 ` WARNING: at fs/btrfs/inode.c:2143 btrfs_orphan_commit_root+0x7f/0x9b Chris Dunlop
2011-02-07 7:39 ` Chris Dunlop
2011-02-08 7:37 ` Chris Dunlop
2011-02-08 15:19 ` Sage Weil
2011-02-09 3:58 ` Chris Dunlop
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).