CVSROOT:        /cvs
Module name:    src
Changes by:     [email protected]    2020/01/04 09:22:36

Modified files:
        sys/ufs/ffs    : ffs_softdep.c 

Log message:
Call process_worklist_item with LK_NOWAIT to skip locked vnodes from
within softdep_process_worklist. When this is called from the syncer
a vnode may be legtitimately locked by someone waiting for buffers
so we need to skip anything locked.  FreeBSD appears to have a similar
change. This avoids a deadlock where the syncer ends up waiting for
the inode lock that his held by someone waiting for buffer space.

Found by bluhm@ and some genua folks
ok bluhm@

Reply via email to