Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 06 Feb 2001 21:32:19 +0100
From:      Andre Oppermann <oppermann@monzoon.net>
To:        Alfred Perlstein <bright@wintelcom.net>
Cc:        Matt Dillon <dillon@earth.backplane.com>, Rik van Riel <riel@conectiva.com.br>, Mike Silbersack <silby@silby.com>, Poul-Henning Kamp <phk@critter.freebsd.dk>, Charles Randall <crandall@matchlogic.com>, Dan Phoenix <dphoenix@bravenet.com>, Jos Backus <josb@cncdsl.com>, freebsd-hackers@FreeBSD.ORG
Subject:   Re: soft updates and qmail (RE: qmail IO problems)
Message-ID:  <3A805F53.F5CD60D9@monzoon.net>
References:  <Pine.LNX.4.21.0102061555550.1535-100000@duckman.distro.conectiva> <3A805035.C71AAD5E@monzoon.net> <200102061943.f16Jhp365113@earth.backplane.com> <3A805938.96ED890D@monzoon.net> <20010206121357.S26076@fw.wintelcom.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Alfred Perlstein wrote:
> 
> * Andre Oppermann <oppermann@monzoon.net> [010206 12:07] wrote:
> >
> > Yes, my understanding of the meaning of "ordered meta-date update" as
> > I have grasped it from Terry's rants in the past years is not that all
> > meta-data updates on a filesystem have to be done one-after-the-other
> > but ordered in respect to each other; That a link() happens before a
> > unlink() on the same file. Does this make sense?
> 
> Only when done by a single process or something waits for the link
> to complete before starting the unlink.  If two processes "race"
> to link and unlink then no.

It is just one process waiting for the link() to complete. And then
unlink(). After completion a IPC signal is send to another process
to pick the file up and continue processing.

-- 
Andre


> > >     (I will mention here that, of course, sendmail and postfix are no better
> > >     in this regard.  This is not a detriment to QMail itself verses other
> > >     mailers.  Since QMail fsync()'s reasonably, it will be just as reliable
> > >     as other existing MTAs).
> >
> > Does sendmail even use fsync()?
> 
> It better. :)
> 
> --
> -Alfred Perlstein - [bright@wintelcom.net|alfred@freebsd.org]
> "I have the heart of a child; I keep it in a jar on my desk."


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3A805F53.F5CD60D9>