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

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: [HACKERS] fsync -> fdatasync in backend/storage/file/fd.c
Дата
Msg-id 199804170138.VAA05238@candle.pha.pa.us
обсуждение исходный текст
Ответ на fsync -> fdatasync in backend/storage/file/fd.c  (Michal Mosiewicz <mimo@interdata.com.pl>)
Список 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)

В списке pgsql-hackers по дате отправления:

Предыдущее
От: The Hermit Hacker
Дата:
Сообщение: Re: [HACKERS] configuration patch (the last?)
Следующее
От: Michal Mosiewicz
Дата:
Сообщение: Re: [HACKERS] fsync -> fdatasync in backend/storage/file/fd.c