RHEL6: Kernel panic when the native client unmounts a Red Hat Storage volume

Solution Verified - Updated -

Issue

While running the GlusterFS testsuite on RHEL-6.4 the kernel panics reliably:

BUG: Dentry ffff8801eb4e9800{i=0,n=files9995} still in use (1) [unmount of fuse fuse]
------------[ cut here ]------------
kernel BUG at fs/dcache.c:670!
invalid opcode: 0000 [#1] SMP 
last sysfs file: /sys/devices/pci0000:00/0000:00:01.0/0000:01:00.0/infiniband/mlx4_0/node_guid
CPU 3 
Modules linked in: xfs exportfs nfs lockd fscache auth_rpcgss nfs_acl sunrpc ib_ipoib rdma_ucm ib_ucm ib_uverbs ib_umad rdma_cm ib_cm iw_cm ib_addr ipv6 fuse r8169 mii sg serio_raw i2c_i801 iTCO_wdt iTCO_vendor_support shpchp snd_hda_codec_hdmi snd_hda_codec_realtek snd_hda_intel snd_hda_codec snd_hwdep snd_seq snd_seq_device snd_pcm snd_timer snd soundcore snd_page_alloc mlx4_ib ib_sa ib_mad ib_core mlx4_en mlx4_core xhci_hcd ext4 mbcache jbd2 sd_mod crc_t10dif ahci i915 drm_kms_helper drm i2c_algo_bit i2c_core video output dm_mirror dm_region_hash dm_log dm_mod [last unloaded: scsi_wait_scan]

Pid: 16277, comm: umount Not tainted 2.6.32-358.11.1.el6.x86_64 #1 System manufacturer System Product Name/P8Z77-V LX2
RIP: 0010:[<ffffffff8119a9d8>]  [<ffffffff8119a9d8>] shrink_dcache_for_umount_subtree+0x2a8/0x2b0
RSP: 0018:ffff8801f71dfdb8  EFLAGS: 00010292
RAX: 000000000000005c RBX: ffff8801eb4e9800 RCX: 000000000000f21b
RDX: 0000000000000000 RSI: 0000000000000046 RDI: 0000000000000246
RBP: ffff8801f71dfdf8 R08: 0000000000000000 R09: 0000000000000001
R10: ffffffff81641bc0 R11: ffff880217537b8b R12: 0000000000000d0b
R13: ffffffff81a83fc0 R14: ffff8801b3f58780 R15: ffff8801eb4e9860
FS:  00007f66d09e4740(0000) GS:ffff88002c380000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f66d004b360 CR3: 00000001af6e6000 CR4: 00000000000407e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
Process umount (pid: 16277, threadinfo ffff8801f71de000, task ffff8801f7364040)
Stack:
 ffff880204cf5e70 ffff8801f7364040 0000000000000015 ffff880204cf5c00
<d> ffffffffa034c200 ffff8801f7102b38 ffff880204cf5c00 ffff88021c1ee380
<d> ffff8801f71dfe18 ffffffff8119aa16 0000000000000000 ffff880204cf5c00
Call Trace:
 [<ffffffff8119aa16>] shrink_dcache_for_umount+0x36/0x60
 [<ffffffff8118336f>] generic_shutdown_super+0x1f/0xe0
 [<ffffffff81183496>] kill_anon_super+0x16/0x60
 [<ffffffffa03495d2>] fuse_kill_sb_anon+0x52/0x60 [fuse]
 [<ffffffff81183c37>] deactivate_super+0x57/0x80
 [<ffffffff811a1c2f>] mntput_no_expire+0xbf/0x110
 [<ffffffff811a269b>] sys_umount+0x7b/0x3a0
 [<ffffffff810dc847>] ? audit_syscall_entry+0x1d7/0x200
 [<ffffffff8100b072>] system_call_fastpath+0x16/0x1b
Code: 50 30 4c 8b 0a 31 d2 48 85 f6 74 04 48 8b 56 40 48 05 70 02 00 00 48 89 de 48 c7 c7 80 39 7b 81 48 89 04 24 31 c0 e8 e8 2b 37 00 <0f> 0b eb fe 0f 0b eb fe 55 48 89 e5 53 48 83 ec 08 0f 1f 44 00 
RIP  [<ffffffff8119a9d8>] shrink_dcache_for_umount_subtree+0x2a8/0x2b0
 RSP <ffff8801f71dfdb8>

Environment

  • Red Hat Storage 2.1 Beta
  • Red Hat Enterprise Linux 6.4
  • Red Hat Storage native client (fuse)

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content