[Top] [All Lists]

Re: ACID Question

To: Andi Kleen <ak@xxxxxx>
Subject: Re: ACID Question
From: Stewart Smith <stewart@xxxxxxxxxxxxxxxx>
Date: Wed, 09 Feb 2005 11:36:35 +1100
Cc: Rick Spillane <necro351@xxxxxxxxx>, linux-xfs@xxxxxxxxxxx
In-reply-to: <20050208092345.GB55921@xxxxxx>
References: <ccdab71705020709446c578e99@xxxxxxxxxxxxxx> <m1fz086vjh.fsf@xxxxxx> <1107841758.19311.21.camel@kennedy> <20050208092345.GB55921@xxxxxx>
Sender: linux-xfs-bounce@xxxxxxxxxxx
On Tue, 2005-02-08 at 10:23 +0100, Andi Kleen wrote:
> > Linux does sync on fsync(), MacOS X does not (for internal drives at
> > least).
> This would sound extremly bad for MacOS X if true. I hope it is not.

It's true all right - you have to use a special fcntl to do a 'real
fsync'. We (MySQL) found that this was the cause of some table
corruption on OSX. Needless to say, we now do the special foo if on OSX.
Although I hate to think what other apps are out there thinking they're
safe when they're not.

Stewart Smith (stewart@xxxxxxxxxxxxxxxx)

Attachment: signature.asc
Description: This is a digitally signed message part

<Prev in Thread] Current Thread [Next in Thread>