From owner-cvs-src-old@FreeBSD.ORG Sat Apr 2 21:53:18 2011 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 258A310656D1 for ; Sat, 2 Apr 2011 21:53:18 +0000 (UTC) (envelope-from jeff@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 11F048FC0A for ; Sat, 2 Apr 2011 21:53:18 +0000 (UTC) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.4/8.14.4) with ESMTP id p32LrHHw075634 for ; Sat, 2 Apr 2011 21:53:17 GMT (envelope-from jeff@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.4/8.14.4/Submit) id p32LrHDq075633 for cvs-src-old@freebsd.org; Sat, 2 Apr 2011 21:53:17 GMT (envelope-from jeff@repoman.freebsd.org) Message-Id: <201104022153.p32LrHDq075633@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to jeff@repoman.freebsd.org using -f From: Jeff Roberson Date: Sat, 2 Apr 2011 21:52:58 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/ufs/ffs ffs_softdep.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, 02 Apr 2011 21:53:18 -0000 jeff 2011-04-02 21:52:58 UTC FreeBSD src repository Modified files: sys/ufs/ffs ffs_softdep.c Log: SVN rev 220282 on 2011-04-02 21:52:58Z by jeff Fix problems that manifested from filesystem full conditions: - In softdep_revert_mkdir() find the dotaddref before we attempt to cancel the jaddref so we can make assumptions about where the dotaddref is on the list. cancel_jaddref() does not always remove items from the list anymore. - Always set GOINGAWAY on an inode in softdep_freefile() if DEPCOMPLETE was never set. This ensures that dependencies will continue to be processed on the inowait/bufwait list and is more an artifact of the structure of the code than a pure ordering problem. - Always set DEPCOMPLETE on canceled jaddrefs so that they can be freed appropriately. This normally occurs when the refs are added to the journal but if they are canceled before this point the state would never be set and the dependency could never be freed. Reported by: pho Tested by: pho Revision Changes Path 1.270 +14 -9 src/sys/ufs/ffs/ffs_softdep.c