Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 23 Nov 2002 20:04:16 -0800
From:      David Schultz <dschultz@uclink.Berkeley.EDU>
To:        Brad Knowles <brad.knowles@skynet.be>
Cc:        Terry Lambert <tlambert2@mindspring.com>, drew-dated-1038498271.901d05@poured.net, freebsd-chat@FreeBSD.ORG
Subject:   Re: Sharing calendars?
Message-ID:  <20021124040416.GA2037@HAL9000.homeunix.com>
In-Reply-To: <a05200f26ba05f12af913@[192.168.0.3]>
References:  <GEEGJMKEOCMNOBOAHIOMMENACBAA.pcable@slaudiovis.org> <a05200f1bba044cddeec9@[192.168.0.3]> <l6vzns0uvol.fsf@williams.mc.vanderbilt.edu> <3DE00781.F47E59A1@mindspring.com> <a05200f26ba05f12af913@[192.168.0.3]>

next in thread | previous in thread | raw e-mail | index | archive | help

Thus spake Brad Knowles <brad.knowles@skynet.be>:
> At 2:56 PM -0800 2002/11/23, Terry Lambert wrote:
> 
> > Why are soft updates bad for mail queues, in your opinions?
> 
> 	In general, softupdates are very good for mail queues.  Indeed, 
> this is the case for which softupdates is almost ideal.
> 
> 	However, both qmail and exim make some assumptions about the 
> underlying filesystems which are not valid when those filesystems are 
> using softupdates.  Therefore, if you are going to use either exim or 
> qmail on *BSD, you need to turn off softupdates on the respective 
> mail queue partitions.

Then they're making assumptions that are not valid for many
filesystems.  This is not a difficult problem to solve: If you
want to ensure that a certain file has been committed to stable
storage before you proceed, you use fsync(2).  I thought most
mailers did this.

As a side note, someone pointed out to me a while ago that Linux
has an incorrect implementation of fsync(2), such that the parent
directory of the fsync'd file isn't guaranteed to be written.
Maybe they fixed that by now, but that could be one situation in
which you have to be more careful.

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




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