Re: [HACKERS] fsync -> fdatasync in backend/storage/file/fd.c

From: The Hermit Hacker <scrappy(at)hub(dot)org>
To: Michal Mosiewicz <mimo(at)interdata(dot)com(dot)pl>
Cc: hackers(at)postgreSQL(dot)org
Subject: Re: [HACKERS] fsync -> fdatasync in backend/storage/file/fd.c
Date: 1998-04-17 02:24:08
Message-ID: Pine.BSF.3.96.980416232339.333S-100000@thelab.hub.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Fri, 17 Apr 1998, Michal Mosiewicz wrote:

> The Hermit Hacker wrote:
>
> > We don't have it (FreeBSD)...what does it do? *raised eyebrow*
> > And, how many ppl actually have fsync's enabled?
>
> When you fsync a file it usually costs at least two write operations,
> one to write the data and one to update modification/access date, etc.
> fdatasync synces only data area of the file without it's
> metainformation.

Similar to us (FreeBSD) mounting our file systems 'noatime', so,
ya, we have it...

Marc G. Fournier
Systems Administrator @ hub.org
primary: scrappy(at)hub(dot)org secondary: scrappy(at){freebsd|postgresql}.org

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message ocie 1998-04-17 02:27:21 Re: [HACKERS] fsync -> fdatasync in backend/storage/file/fd.c
Previous Message Michal Mosiewicz 1998-04-17 01:53:03 Re: [HACKERS] fsync -> fdatasync in backend/storage/file/fd.c