Date: Thu, 28 Aug 2008 09:18:20 +0000 (UTC) From: Konstantin Belousov <kib@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/ufs/ffs ffs_extern.h ffs_softdep.c ffs_vfsops.c Message-ID: <200808280918.m7S9IZhl063767@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200808280918.m7S9IZhl063767>