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

Marc G. Fournier <scrappy@hub.org>

From: The Hermit Hacker <scrappy@hub.org>
To: Michal Mosiewicz <mimo@interdata.com.pl>
Cc: hackers@postgreSQL.org
Date: 1998-04-17T02:24:08Z
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@hub.org           secondary: scrappy@{freebsd|postgresql}.org