Re: Fwd: Apple Darwin disabled fsync?

From: Greg Stark <gsstark(at)mit(dot)edu>
To: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Fwd: Apple Darwin disabled fsync?
Date: 2005-02-21 03:50:35
Message-ID: 87ll9ivaes.fsf@stark.xeocode.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers


Peter Bierman <bierman(at)apple(dot)com> writes:

> I think the intent of fsync() is closer to what you describe, but the
> convention is that fsync() hands responsibility to the disk hardware.

The "convention" was also that the hardware didn't confirm the command until
it had actually been executed...

None of this matters to the application. A specification for fsync(2) that
says it forces the data to be shuffled around under the hood but fundamentally
the doesn't change the semantics (that the data isn't guaranteed to be in
non-volatile storage) means that fsync didn't really do anything.

--
greg

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Curt Sampson 2005-02-21 04:06:22 Re: Time Zone Names Problem
Previous Message Tom Lane 2005-02-21 03:29:22 Re: Time Zone Names Problem