Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/sys/ufs/lfs



Module Name:    src
Committed By:   perseant
Date:           Tue Jan 20 15:30:15 UTC 2026

Modified Files:
        src/sys/ufs/lfs: lfs_segment.c

Log Message:
Avoid a deadlock between vnode reclamation and lfs_writevnodes().  A vnode
being reclaimed will be in state VS_RECLAIMING, while it attemmpts to get the
segment lock.  lfs_writevnodes() holds the segment lock while traversing the
list of vnodes; so it must skip vnodes in the process of reclamation in order
to avoid a deadlock.


To generate a diff of this commit:
cvs rdiff -u -r1.306 -r1.307 src/sys/ufs/lfs/lfs_segment.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index