From owner-freebsd-current Fri Dec 6 13:12:38 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B910137B401 for ; Fri, 6 Dec 2002 13:12:37 -0800 (PST) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by mx1.FreeBSD.org (Postfix) with ESMTP id 369EE43EA9 for ; Fri, 6 Dec 2002 13:12:37 -0800 (PST) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.12.6/8.12.6) id gB6LCSel046806; Fri, 6 Dec 2002 15:12:28 -0600 (CST) (envelope-from dan) Date: Fri, 6 Dec 2002 15:12:27 -0600 From: Dan Nelson To: Kirk McKusick Cc: Archie Cobbs , freebsd-current@FreeBSD.ORG Subject: Re: backgroud fsck is still locking up system (fwd) Message-ID: <20021206211225.GA29693@dan.emsphone.com> References: <200212061928.gB6JSqn0065389@arch20m.dellroad.org> <200212062000.gB6K0659093727@beastie.mckusick.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200212062000.gB6K0659093727@beastie.mckusick.com> X-OS: FreeBSD 5.0-RC X-message-flag: Outlook Error User-Agent: Mutt/1.5.1i Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG In the last episode (Dec 06), Kirk McKusick said: > The main reason for not using soft updates on the root filesystem was > because of the delay between removing files and having the space show > up. The result was that world installs on the root filesystem often > failed if the root was nearly full (as is so often the case). That > problem has now been fixed in 5.0 with a callback to soft updates if > a filesystem full error is about to be generated. When called back, > soft updates expedites the freeing of space so that the new > allocation can succeed. So, the primary reason for not using soft > updates on the root is now fixed. If however, mainline editors are > not doing fsync's, then there is still a good reason not to use soft > updates on the root filesystem. /usr/bin/install does not fsync. One of my three foot-shootings involved installing a new /sbin/init and hitting the power switch. -- Dan Nelson dnelson@allantgroup.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message