From owner-freebsd-current Mon May 11 16:40:40 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id QAA18112 for freebsd-current-outgoing; Mon, 11 May 1998 16:40:40 -0700 (PDT) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from flamingo.McKusick.COM (root@flamingo.mckusick.com [205.217.47.105]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id QAA18070 for ; Mon, 11 May 1998 16:40:07 -0700 (PDT) (envelope-from mckusick@flamingo.McKusick.COM) Received: from flamingo.McKusick.COM (mckusick@[127.0.0.1]) by flamingo.McKusick.COM (8.8.5/8.8.5) with ESMTP id PAA28767; Mon, 11 May 1998 15:06:44 -0700 (PDT) Message-Id: <199805112206.PAA28767@flamingo.McKusick.COM> To: Ollivier Robert Subject: Why Soft Updates are not a mount option cc: julian@whistle.com, luoqi@watermarkgroup.com (Luoqi Chen), current@FreeBSD.ORG In-reply-to: Your message of "Sat, 09 May 1998 23:36:02 EDT." <9805100336.AA06453@watermarkgroup.com> Date: Mon, 11 May 1998 15:06:41 -0700 From: Kirk McKusick Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Soft Updates are set in the superblock with tunefs for several reasons: 1) This is an interim measure during the testing phase of soft updates. In the long run, they will always be used as the normal course of events. I do not want legacy mount options lying around. 2) The soft update code is not prepared to be turned on when the filesystem is active. It currently has no code to find all files actively being written and building up the necessary dependency information for them. Writing such code is non-trivial and not a worthwhile exercise in my opinion, especially given goal #1. 3) Fsck uses different algorithms for cleaning up on filesystems run with soft updates. It is much more reliable to have it check for the bit in the superblock than it is to try and figure out whether the flag was set when it was mounted. Also, the algorithms can only be used if the filesystem was continuously run with soft updates throughout the time that it was mounted. If it could be updated, that would somehow have to be recorded. Kirk McKusick To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message