From owner-freebsd-current Tue Sep 22 14:52:20 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id OAA09915 for freebsd-current-outgoing; Tue, 22 Sep 1998 14:52:20 -0700 (PDT) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from flamingo.McKusick.COM (flamingo.mckusick.com [209.31.233.178]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id OAA09845 for ; Tue, 22 Sep 1998 14:51:46 -0700 (PDT) (envelope-from mckusick@flamingo.McKusick.COM) Received: from flamingo.McKusick.COM (mckusick@localhost [127.0.0.1]) by flamingo.McKusick.COM (8.8.5/8.8.5) with ESMTP id NAA14526; Tue, 22 Sep 1998 13:11:40 -0700 (PDT) Message-Id: <199809222011.NAA14526@flamingo.McKusick.COM> To: Luoqi Chen Subject: Re: Yet another patch to try for softupdates panic cc: Don.Lewis@tsc.tdk.com, current@FreeBSD.ORG In-reply-to: Your message of "Tue, 22 Sep 1998 17:39:26 EDT." <199809222139.RAA04421@lor.watermarkgroup.com> Date: Tue, 22 Sep 1998 13:11:35 -0700 From: Kirk McKusick Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In case (2), the fsync() syscall does call VOP_FSYNC with MNT_WAIT and you most definitely *must* write out the parent directory entries! When the fsync system call returns, it ensures that the entire file, including its name, is on stable storage. Kirk McKusick To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message