Project

General

Profile

Bug #3

leaked dentry ref on umount

Added by Sage Weil over 9 years ago. Updated almost 9 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
-
Target version:
Start date:
04/09/2010
Due date:
% Done:

0%

Source:
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:

Description

After running misc qa stuff (bonnie.sh?), and umount, we get a crashed due to a leaked dentry reference.

ceph2 login: [586316.671261] BUG: Dentry ffff8800dbb97070{i=1000032f38b,n=0100999Get7mcBZ} still in use (1) [unmount of ceph ceph]
[586316.681894] ------------[ cut here ]------------
[586316.685881] kernel BUG at fs/dcache.c:676!
[586316.685881] invalid opcode: 0000 [#1] PREEMPT SMP
[586316.685881] last sysfs file: /sys/kernel/uevent_seqnum
[586316.685881] CPU 0
[586316.685881] Modules linked in: aes_x86_64 aes_generic ceph fan ac battery container ehci_hcd uhci_hcd thermal button processor
[586316.685881]
[586316.685881] Pid: 4843, comm: umount Not tainted 2.6.34-rc3 #25 PDSMi+/PDSMi
[586316.685881] RIP: 0010:[<ffffffff810bfb64>] [<ffffffff810bfb64>] shrink_dcache_for_umount_subtree+0x191/0x270
[586316.685881] RSP: 0018:ffff88011dc19dd8 EFLAGS: 00010296
[586316.685881] RAX: 000000000000007c RBX: ffff8800dbb97070 RCX: 0000000000006901
[586316.685881] RDX: ffff880002600000 RSI: ffff88011dc19b18 RDI: 0000000000000001
[586316.685881] RBP: ffff88011dc19e08 R08: ffffff871dc19c88 R09: 0000000000000000
[586316.685881] R10: ffffffff8104ea18 R11: ffffffff8104e457 R12: ffff88011f4dbb70
[586316.685881] R13: ffff8800dbb97110 R14: 0000000000000000 R15: 0000000000000000
[586316.685881] FS: 00007f7d8b3fd730(0000) GS:ffff880002600000(0000) knlGS:0000000000000000
[586316.685881] CS: 0010 DS: 0000 ES: 0000 CR0: 000000008005003b
[586316.685881] CR2: 00007f7d8aad5ca6 CR3: 000000011bf80000 CR4: 00000000000006f0
[586316.685881] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[586316.685881] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
[586316.685881] Process umount (pid: 4843, threadinfo ffff88011dc18000, task ffff88011ca36b40)
[586316.685881] Stack:
[586316.685881] ffff88011e3f1c40 ffff88011bd4c510 ffff88011e3f1778 ffff88011e3f1778
[586316.685881] <0> ffffffffa007d160 ffff88011fa46078 ffff88011dc19e28 ffffffff810c0623
[586316.685881] <0> ffff88011bd4c510 ffff88011e3f1778 ffff88011dc19e58 ffffffff810b17f7
[586316.685881] Call Trace:
[586316.685881] [<ffffffff810c0623>] shrink_dcache_for_umount+0x37/0x47
[586316.685881] [<ffffffff810b17f7>] generic_shutdown_super+0x20/0xcd
[586316.685881] [<ffffffff810b18ef>] kill_anon_super+0x11/0x50
[586316.685881] [<ffffffffa00493fa>] ceph_kill_sb+0x4d/0xa3 [ceph]
[586316.685881] [<ffffffff810b200e>] ? deactivate_super+0x60/0x7d
[586316.685881] [<ffffffff810b2016>] deactivate_super+0x68/0x7d
[586316.685881] [<ffffffff810c5544>] mntput_no_expire+0x78/0xb3
[586316.685881] [<ffffffff810c5a94>] sys_umount+0x2c5/0x2f2
[586316.685881] [<ffffffff810029eb>] system_call_fastpath+0x16/0x1b
[586316.685881] Code: 04 00 00 48 8b 40 28 48 85 f6 48 8b 00 74 04 48 8b 56 40 48 89 3c 24 49 89 c1 48 89 de 48 c7 c7 c7 14 57 81 31 c0 e8 c2 6a f7 ff <0f> 0b eb fe 48 8b 43 68 45 31 e4 48 39 c3 74 06 49 89 c4 f0 ff
[586316.685881] RIP [<ffffffff810bfb64>] shrink_dcache_for_umount_subtree+0x191/0x270
[586316.685881] RSP <ffff88011dc19dd8>
[586316.938274] ---[ end trace 5a1eefc61694dc66 ]---

History

#1 Updated by Sage Weil over 9 years ago

  • Target version set to 4

#2 Updated by Sage Weil over 9 years ago

  • Assignee set to Sage Weil

#3 Updated by Sage Weil over 9 years ago

  • Target version changed from 4 to v2.6.34

#4 Updated by Sage Weil over 9 years ago

  • Status changed from New to Resolved

fixed ref leak in dcache readdir, commit:2844a76a25

#5 Updated by Sage Weil over 9 years ago

  • Status changed from Resolved to Closed

#6 Updated by Sage Weil over 9 years ago

  • Status changed from Closed to Resolved

#7 Updated by Sage Weil over 9 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF