Re: [PERFORM] fsync method checking

Поиск
Список
Период
Сортировка
От Steve Atkins
Тема Re: [PERFORM] fsync method checking
Дата
Msg-id 20040326231459.GA23615@gp.word-to-the-wise.com
обсуждение исходный текст
Ответ на Re: [PERFORM] fsync method checking  (Manfred Spraul <manfred@colorfullife.com>)
Список pgsql-hackers
On Fri, Mar 26, 2004 at 07:25:53AM +0100, Manfred Spraul wrote:

> >Compare file sync methods with one 8k write:
> >       (o_dsync unavailable)
> >       open o_sync, write       6.270724
> >       write, fdatasync        13.275225
> >       write, fsync,           13.359847
> >
> >
> Odd. Which filesystem, which kernel? It seems fdatasync is broken and
> syncs the inode, too.

This may be relevant.

From the man page for fdatasync on a moderately recent RedHat installation:

  BUGS
       Currently (Linux 2.2) fdatasync is equivalent to fsync.

Cheers,
  Steve

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Per database users/admins, handy for database virtual hosting...
Следующее
От: Richard Huxton
Дата:
Сообщение: Re: Per database users/admins, handy for database virtual hosting...