cvs commit: src/sys/ufs/ffs ffs_extern.h ffs_softdep.c ffs_vfsops.c
Konstantin Belousov
kib at FreeBSD.org
Thu Aug 28 09:18:36 UTC 2008
kib 2008-08-28 09:18:20 UTC
FreeBSD src repository
Modified files:
sys/ufs/ffs ffs_extern.h ffs_softdep.c ffs_vfsops.c
Log:
SVN rev 182365 on 2008-08-28 09:18:20Z by kib
Softdep code may need to instantiate vnode when processing
dependencies. In particular, it may need this while syncing filesystem
being unmounted. Since during unmount MNTK_NOINSMNTQUE flag is set,
that could sometimes disallow insertion of the vnode into the vnode
mount list, softdep code needs to overwrite the MNTK_NOINSMNTQUE flag.
Create the ffs_vgetf() function that sets the VV_FORCEINSMQ flag for
new vnode and use it consistently from the softdep code instead of
ffs_vget().
Add the retry logic to the softdep_flushfiles() to flush the vnodes
that could be instantiated while flushing softdep dependencies.
Tested by: pho, kris
Reviewed by: tegge
MFC after: 1 month
Revision Changes Path
1.75 +3 -0 src/sys/ufs/ffs/ffs_extern.h
1.224 +42 -15 src/sys/ufs/ffs/ffs_softdep.c
1.346 +14 -0 src/sys/ufs/ffs/ffs_vfsops.c
More information about the cvs-src
mailing list