Date: Fri, 14 May 2004 01:30:07 +0200 From: Peter Schuller <peter.schuller@infidyne.com> To: freebsd-questions@freebsd.org Cc: Christian Laursen <xi@borderworlds.dk> Subject: Re: The journalling file system saga Message-ID: <200405140130.07120.peter.schuller@infidyne.com> In-Reply-To: <86isf0dm1f.fsf@borg.borderworlds.dk> References: <40A32D0F.5050101@yahoo.co.uk> <200405132247.33270.peter.schuller@infidyne.com> <86isf0dm1f.fsf@borg.borderworlds.dk>
next in thread | previous in thread | raw e-mail | index | archive | help
> [Problems with softupdates] > > > Yet another problem is that an fsync() no longer guarantees that data is > > on disk, even with write caching disabled on the media. This doesn't > > break things like PostgreSQL provided that the order of writes is > > preserved, but it does break things like MTA:s that want to guarantee > > that critical data has been commited to persistent storage before > > signaling success to an external entity (SMTP client). > > fsync(2) works as advertised with softupdates enabled so that shouldn't > cause any problems for applications that are written properly. Ah thanks! I was under the distinct impression that was not the case. This is indeed good news. I can now rest easy running PostgreSQL without disabling soft updates. Perhaps a document would be in order describing/detailing all the details such as this about soft updates, all in one place. What I know I have mostly gathered by reading papers and random mailinglist postings about certain specifics. Is there such a thing in existence? If not I may try to put one together, for other people like me. -- / Peter Schuller, InfiDyne Technologies HB PGP userID: 0xE9758B7D or 'Peter Schuller <peter.schuller@infidyne.com>' Key retrieval: Send an E-Mail to getpgpkey@scode.org E-Mail: peter.schuller@infidyne.com Web: http://www.scode.org
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200405140130.07120.peter.schuller>
