[Bug 209158] node / npm triggering zfs rename deadlock

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue May 24 00:17:49 UTC 2016


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=209158

Rick Macklem <rmacklem at FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |rmacklem at FreeBSD.org

--- Comment #2 from Rick Macklem <rmacklem at FreeBSD.org> ---
If it was possible, it might be useful to test with
sysctl debug.vfscache=0

Why? Well there was a similar recent occurrence on Freefall,
but where the vnode lock was on NFS. The similarity is that
several of the threads that were waiting for the vnode lock
were: cache_lookup()->vget()->_vn_lock()->
and r285632 changed cache_lookup() from using VI_LOCK() to
vhold() before the vget() call. I am wondering if this change
somehow broke the code.

Anyhow, disabling name caching would avoid doing the code in
cache_lookup().

Disabling name caching will have a performance hit, but it
would be nice to see if this avoids the deadlock?

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-fs mailing list