fsync -> fdatasync in backend/storage/file/fd.c - Mailing list pgsql-hackers

From Michal Mosiewicz
Subject fsync -> fdatasync in backend/storage/file/fd.c
Date
Msg-id 3536A0E2.D134F316@interdata.com.pl
Whole thread Raw
Responses Re: [HACKERS] fsync -> fdatasync in backend/storage/file/fd.c
Re: [HACKERS] fsync -> fdatasync in backend/storage/file/fd.c
List pgsql-hackers
I don't remember if it has been mentioned.

Anyhow, I think that it would be nice to change fsync'es into
fdatasync'es (of course as an autoconf-igurable option). I don't think
it's necessary to update all file's metadata each time a file is
flushed.

I dunno where it's implemented. But it's for sure implemented in Linux.

Mike

--
WWW: http://www.lodz.pdi.net/~mimo  tel: Int. Acc. Code + 48 42 148340
add: Michal Mosiewicz  *  Bugaj 66 m.54 *  95-200 Pabianice  *  POLAND

pgsql-hackers by date:

Previous
From: Brook Milligan
Date:
Subject: configuration patch (the last?)
Next
From: The Hermit Hacker
Date:
Subject: Re: [HACKERS] Re: [PATCHES] ecpg patch