Re: [HACKERS] fsync -> fdatasync in backend/storage/file/fd.c
Bruce Momjian <maillist@candle.pha.pa.us>
From: Bruce Momjian <maillist@candle.pha.pa.us>
To: mimo@interdata.com.pl (Michal Mosiewicz)
Cc: hackers@postgreSQL.org
Date: 1998-04-17T01:38:03Z
Lists: 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. > We have a way of keeping proper consistency with a system sync() every 30 seconds. See the archive. I think it is on the short list. -- Bruce Momjian | 830 Blythe Avenue maillist@candle.pha.pa.us | Drexel Hill, Pennsylvania 19026 + If your life is a hard drive, | (610) 353-9879(w) + Christ can be your backup. | (610) 853-3000(h)