From owner-freebsd-hackers Tue Feb 6 11:10:22 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from silby.com (cb34181-c.mdsn1.wi.home.com [24.183.3.139]) by hub.freebsd.org (Postfix) with ESMTP id C223237B491 for ; Tue, 6 Feb 2001 11:10:01 -0800 (PST) Received: (qmail 15227 invoked by uid 1000); 6 Feb 2001 19:10:00 -0000 Received: from localhost (sendmail-bs@127.0.0.1) by localhost with SMTP; 6 Feb 2001 19:10:00 -0000 Date: Tue, 6 Feb 2001 13:10:00 -0600 (CST) From: Mike Silbersack To: Matt Dillon Cc: Andre Oppermann , Poul-Henning Kamp , Charles Randall , Dan Phoenix , Alfred Perlstein , Jos Backus , Subject: Re: soft updates and qmail (RE: qmail IO problems) In-Reply-To: <200102061859.f16IxVv63887@earth.backplane.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tue, 6 Feb 2001, Matt Dillon wrote: > I did a quick search of the qmail site but couldn't find an email > address to report the FAQ issue to. If QMail calls fsync() in a > reasonable manner, then softupdates is perfectly safe and the QMail > FAQ needs to be updated to recommend softupdates rather then > disrecommend it. > > -Matt The question still reamins about link/unlink/rename. Is a fsync of the directory necessary to ensure that they completed properly? As they take filenames instead of fds, an fsync after the operation seems non-intuitive. The rename manpage seems to imply that the operation is synchronous - the other two are ambiguous. Mike "Silby" Silbersack To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message