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

From The Hermit Hacker
Subject Re: [HACKERS] fsync -> fdatasync in backend/storage/file/fd.c
Date
Msg-id Pine.BSF.3.96.980416232339.333S-100000@thelab.hub.org
Whole thread Raw
In response to Re: [HACKERS] fsync -> fdatasync in backend/storage/file/fd.c  (Michal Mosiewicz <mimo@interdata.com.pl>)
List 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@hub.org           secondary: scrappy@{freebsd|postgresql}.org


pgsql-hackers by date:

Previous
From: Michal Mosiewicz
Date:
Subject: Re: [HACKERS] fsync -> fdatasync in backend/storage/file/fd.c
Next
From: ocie@paracel.com
Date:
Subject: Re: [HACKERS] fsync -> fdatasync in backend/storage/file/fd.c