Dead/Live lock near VOP_LOCK1_APV?

Andriy Gapon avg at icyb.net.ua
Sat Nov 13 10:05:27 UTC 2010


on 13/11/2010 11:14 Xin LI said the following:
> Hi,
> 
> I have observed a live/dead lock on a system serving both NFS and Samba
> CIFS, running 8.1-STABLE.  Is this a known issue or should I investigate
> further?

Yes, it looks like a known issue.
A fix has been recently committed and MFC-ed.
It was a lock leak in NFS.

> The system is not running with WITNESS but if further debugging is
> needed I can add it.
> 
> procstat -kk shows something like:
> 
>     7 100068 zfskern          l2arc_feed_threa mi_switch
> sleepq_timedwait _cv_timedwait l2arc_feed_thread fork_exit fork_trampoline
>    *7 100122 zfskern          txg_thread_enter mi_switch sleepq_wait
> _cv_wait txg_thread_wait txg_quiesce_thread fork_exit fork_trampoline
>     7 100123 zfskern          txg_thread_enter mi_switch
> sleepq_timedwait _cv_timedwait txg_thread_wait txg_sync_thread fork_exit
> fork_trampoline
>    *7 100184 zfskern          txg_thread_enter mi_switch sleepq_wait
> _cv_wait txg_thread_wait txg_quiesce_thread fork_exit fork_trampoline
>     7 100185 zfskern          txg_thread_enter mi_switch
> sleepq_timedwait _cv_timedwait txg_thread_wait txg_sync_thread fork_exit
> fork_trampoline
> 
>  1502 100284 nfsd             nfsd: service    mi_switch sleepq_wait
> __lockmgr_args vop_stdlock VOP_LOCK1_APV _vn_lock zfs_fhtovp
> nfsrv_fhtovp nfsrv_statfs nfssvc_program svc_run_internal
> svc_thread_start fork_exit fork_trampoline
> 27663 100779 smbd             -                mi_switch sleepq_wait
> __lockmgr_args vop_stdlock VOP_LOCK1_APV _vn_lock cache_lookup
> vfs_cache_lookup VOP_LOOK
> UP_APV lookup namei vn_open_cred kern_openat syscallenter syscall
> Xfast_syscall
> 
> Full procstat -kk output can be found at:
> 
> 	http://neptune.delphij.net/procstat.txt
> 
> Cheers,
_______________________________________________
zfs-devel at freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/zfs-devel
To unsubscribe, send any mail to "zfs-devel-unsubscribe at freebsd.org"

-- 
Andriy Gapon


More information about the zfs-devel mailing list