Bug #3271
closedkernel BUG() on unmount after export/unexport of ceph using kclient
0%
Description
plana78:
$ sudo exportfs '*:/tmp/cephtest/mnt.1' -o fsid=1234,rw,no_root_squash
NFS client
$ sudo mount plana78:/mnt/cephtest/mnt.1 /mnt/nfs
$ sudo touch /mnt/nfs/nfs.file
$ sudo umount /mnt/nfs
Plana78 running ceph kclient
$ sudo exportfs -u /mnt/cephtest/mnt.1
Teuthology
Ceph test interactive mode, use ctx to interact with the cluster, press control-D to exit...
^D
INFO:teuthology.task.kclient:Unmounting kernel clients...
( ssh ubuntu@plana78... sudo umount /mnt/cephtest/mnt.1 )
<3>[13121.315683] BUG: Dentry ffff8802212c1740{i=10000000001,n=nfs.file} still in use (1) [unmount of ceph ceph]
[5]kdb> bt
Stack traceback for pid 5102
0xffff88020cf1de20 5102 5101 1 5 R 0xffff88020cf1e280 *umount
ffff880223ba9dc8 0000000000000018 ffffffff81192869 ffff8802231d1e70
000000007f319460 ffff8802231d1800 ffffffffa055fd80 ffff880223ba9e08
ffffffff81194a63 ffff8802231d1000 ffff8802231d1800 ffff880223ba9e38
Call Trace:
[<ffffffff81192869>] ? shrink_dcache_for_umount_subtree+0x1e9/0x1f0
[<ffffffff81194a63>] ? shrink_dcache_for_umount+0x33/0x60
[<ffffffff8117e06c>] ? generic_shutdown_super+0x2c/0xf0
[<ffffffff8117e1c6>] ? kill_anon_super+0x16/0x30
[<ffffffffa053e189>] ? ceph_kill_sb+0x39/0x70 [ceph]
[<ffffffff8117e435>] ? deactivate_locked_super+0x45/0x70
[<ffffffff8117f0de>] ? deactivate_super+0x4e/0x70
[<ffffffff8119b4b6>] ? mntput_no_expire+0x106/0x160
[<ffffffff8119c4ee>] ? sys_umount+0x6e/0x3b0
[<ffffffff8163e1e9>] ? system_call_fastpath+0x16/0x1b