From owner-cvs-src-old@FreeBSD.ORG Sat Feb 14 20:59:59 2009 Return-Path: Delivered-To: cvs-src-old@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8039410657A1 for ; Sat, 14 Feb 2009 20:59:59 +0000 (UTC) (envelope-from kib@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 8F3328FC0A for ; Sat, 14 Feb 2009 20:59:57 +0000 (UTC) (envelope-from kib@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.3/8.14.3) with ESMTP id n1EKxvu9048986 for ; Sat, 14 Feb 2009 20:59:57 GMT (envelope-from kib@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id n1EKxvID048985 for cvs-src-old@freebsd.org; Sat, 14 Feb 2009 20:59:57 GMT (envelope-from kib@repoman.freebsd.org) Message-Id: <200902142059.n1EKxvID048985@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to kib@repoman.freebsd.org using -f From: Konstantin Belousov Date: Sat, 14 Feb 2009 20:59:50 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: RELENG_7 Subject: cvs commit: src/sys/ufs/ffs ffs_extern.h ffs_softdep.c ffs_vfsops.c X-BeenThere: cvs-src-old@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 14 Feb 2009 21:00:01 -0000 kib 2009-02-14 20:59:50 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/ufs/ffs ffs_extern.h ffs_softdep.c ffs_vfsops.c Log: SVN rev 188611 on 2009-02-14 20:59:50Z by kib MFC r182365: 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. Revision Changes Path 1.74.2.2 +3 -0 src/sys/ufs/ffs/ffs_extern.h 1.211.2.6 +42 -15 src/sys/ufs/ffs/ffs_softdep.c 1.329.2.7 +15 -1 src/sys/ufs/ffs/ffs_vfsops.c