__dentry_open warning
Subsystems (2)
We ran into this backtrace on v3.1 rc6 + the patch below. Sage says that this might be related to the dentry caching that Josef recently worked on. Processes accessing btrfs volumes became unresponsive at the same time. Any hints or patches?
[ 192.134317] WARNING: at kernel/printk.c:322 do_syslog+0x82/0x409() [ 192.140548] Hardware name: PowerEdge R510 [ 192.144626] Attempt to access syslog with CAP_SYS_ADMIN but no CAP_SYSLOG (deprecated). [ 192.152698] Modules linked in: [ 192.155087] igb: eth2 NIC Link is Up 1000 Mbps Full Duplex, Flow Control: RX [ 192.162963] [ 192.164514] Pid: 10414, comm: syslog-ng Not tainted 3.0.0-dho-00059-geb29251-dirty #1 [ 192.172416] Call Trace: [ 192.174923] [<ffffffff8103c495>] ? warn_slowpath_common+0x78/0x8c [ 192.181165] [<ffffffff8103c548>] ? warn_slowpath_fmt+0x45/0x4a [ 192.187148] [<ffffffff81055943>] ? bit_waitqueue+0x14/0xa1 [ 192.192780] [<ffffffff8103d560>] ? do_syslog+0x82/0x409 [ 192.198150] [<ffffffff810e1fb1>] ? d_instantiate+0x39/0x46 [ 192.203783] [<ffffffff810e239f>] ? d_rehash+0x15/0x1a [ 192.208986] [<ffffffff8111f2c8>] ? kclist_add_private+0x100/0x100 [ 192.215220] [<ffffffff811167a7>] ? proc_reg_open+0x88/0x11b [ 192.218483] bonding: bond0: link status definitely up for interface eth5, 1000 Mbps full duplex. [ 192.229810] [<ffffffff8111671f>] ? proc_fill_super+0xa1/0xa1 [ 192.235623] [<ffffffff810d1260>] ? __dentry_open+0x167/0x265 [ 192.238914] igb: eth3 NIC Link is Up 1000 Mbps Full Duplex, Flow Control: RX [ 192.248533] [<ffffffff810da298>] ? path_get+0x1e/0x26 [ 192.253735] [<ffffffff810dcd83>] ? do_last+0x5b1/0x6ed [ 192.254493] bonding: bond1: link status up for interface eth2, enabling it in 0 ms. [ 192.254498] bonding: bond1: link status up for interface eth3, enabling it in 200 ms. [ 192.254504] bonding: bond1: link status definitely up for interface eth2, 1000 Mbps full duplex. [ 192.256764] ADDRCONF(NETDEV_CHANGE): bond1: link becomes ready [ 192.294707] [<ffffffff810dd941>] ? path_openat+0xc6/0x350 [ 192.300253] [<ffffffff81055943>] ? bit_waitqueue+0x14/0xa1 [ 192.305886] [<ffffffff810ddc98>] ? do_filp_open+0x2c/0x72 [ 192.311435] [<ffffffff810e6ec0>] ? alloc_fd+0x69/0x10a [ 192.316724] [<ffffffff810d0f20>] ? do_sys_open+0x103/0x18a [ 192.322362] [<ffffffff8160bb3b>] ? system_call_fastpath+0x16/0x1b [ 192.328600] ---[ end trace 3b357ca377e9af55 ]---
commit 5a88f351544cfd0039ac05140bc8ebd84813e346
Author: Sage Weil <[email protected]> Date: Tue Aug 9 12:52:18 2011 -0700
btrfs fix clone ioctl res
fs/btrfs/ioctl.c +1 -1
@@ -2323,7 +2323,7 @@ static noinline long btrfs_ioctl_clone(struct file *file, unsigned long srcfd,else new_key.offset = destoff; - trans =btrfs_start_transaction (root,1 ); + trans =btrfs_start_transaction (root,3 );if (IS_ERR (trans)) { ret =PTR_ERR (trans); goto out;
Actually, the kernel in question was 3.0 + some btrfs fixes. The error did not appear once we actually booted the v3.1 rc6 kernel. Sorry for any confusion. -Sam
Quoted 58 lines · Samuel Just
We ran into this backtrace on v3.1 rc6 + the patch below. Sage says that this might be related to the dentry caching that Josef recently worked on. Processes accessing btrfs volumes became unresponsive at the same time. Any hints or patches?
[ 192.134317] WARNING: at kernel/printk.c:322 do_syslog+0x82/0x409() [ 192.140548] Hardware name: PowerEdge R510 [ 192.144626] Attempt to access syslog with CAP_SYS_ADMIN but no CAP_SYSLOG (deprecated). [ 192.152698] Modules linked in: [ 192.155087] igb: eth2 NIC Link is Up 1000 Mbps Full Duplex, Flow Control: RX [ 192.162963] [ 192.164514] Pid: 10414, comm: syslog-ng Not tainted 3.0.0-dho-00059-geb29251-dirty #1 [ 192.172416] Call Trace: [ 192.174923] [<ffffffff8103c495>] ? warn_slowpath_common+0x78/0x8c [ 192.181165] [<ffffffff8103c548>] ? warn_slowpath_fmt+0x45/0x4a [ 192.187148] [<ffffffff81055943>] ? bit_waitqueue+0x14/0xa1 [ 192.192780] [<ffffffff8103d560>] ? do_syslog+0x82/0x409 [ 192.198150] [<ffffffff810e1fb1>] ? d_instantiate+0x39/0x46 [ 192.203783] [<ffffffff810e239f>] ? d_rehash+0x15/0x1a [ 192.208986] [<ffffffff8111f2c8>] ? kclist_add_private+0x100/0x100 [ 192.215220] [<ffffffff811167a7>] ? proc_reg_open+0x88/0x11b [ 192.218483] bonding: bond0: link status definitely up for interface eth5, 1000 Mbps full duplex. [ 192.229810] [<ffffffff8111671f>] ? proc_fill_super+0xa1/0xa1 [ 192.235623] [<ffffffff810d1260>] ? __dentry_open+0x167/0x265 [ 192.238914] igb: eth3 NIC Link is Up 1000 Mbps Full Duplex, Flow Control: RX [ 192.248533] [<ffffffff810da298>] ? path_get+0x1e/0x26 [ 192.253735] [<ffffffff810dcd83>] ? do_last+0x5b1/0x6ed [ 192.254493] bonding: bond1: link status up for interface eth2, enabling it in 0 ms. [ 192.254498] bonding: bond1: link status up for interface eth3, enabling it in 200 ms. [ 192.254504] bonding: bond1: link status definitely up for interface eth2, 1000 Mbps full duplex. [ 192.256764] ADDRCONF(NETDEV_CHANGE): bond1: link becomes ready [ 192.294707] [<ffffffff810dd941>] ? path_openat+0xc6/0x350 [ 192.300253] [<ffffffff81055943>] ? bit_waitqueue+0x14/0xa1 [ 192.305886] [<ffffffff810ddc98>] ? do_filp_open+0x2c/0x72 [ 192.311435] [<ffffffff810e6ec0>] ? alloc_fd+0x69/0x10a [ 192.316724] [<ffffffff810d0f20>] ? do_sys_open+0x103/0x18a [ 192.322362] [<ffffffff8160bb3b>] ? system_call_fastpath+0x16/0x1b [ 192.328600] ---[ end trace 3b357ca377e9af55 ]---commit
5a88f351544cfd0039ac05140bc8ebd84813e346Author: Sage Weil <[email protected]> Date: Tue Aug 9 12:52:18 2011 -0700btrfs fix clone ioctl res
fs/btrfs/ioctl.c +1
-1@@ -2323,7 +2323,7 @@ static noinline long btrfs_ioctl_clone(struct file *file, unsigned long srcfd, else new_key.offset = destoff; - trans =btrfs_start_transaction (root,1 ); + trans =btrfs_start_transaction (root,3 );if (IS_ERR (trans)) { ret =PTR_ERR (trans);goto out;