Re: fsync or fdatasync

Поиск
Список
Период
Сортировка
От Sean Chittenden
Тема Re: fsync or fdatasync
Дата
Msg-id 20020910003318.GO26147@ninja1.internal
обсуждение исходный текст
Ответ на Re: fsync or fdatasync  (Ragnar Kjørstad <postgres@ragnark.vestdata.no>)
Ответы Re: fsync or fdatasync  (Ragnar Kjørstad <postgres@ragnark.vestdata.no>)
Список pgsql-admin
> > > No, fsync() is not a no-op on linux.  Unless the filesystem is
> > > mounted with o_sync, I suppose - then everything is written at
> > > write() so fsync() is not needed. But generally, it does sync.
> >
> > Hrm, alright.  From what I've figured out, about ~6wk ago fsync()
> > was added to linux to have it actually fsync()... mind you someone
> > quickly turned around and created a new patchset that ripped the
> > functionality out and added it to an extreme linux distro.
> > ::shrug:: <opinion>Linux is out of control.</opinion> -sc
>
> "6wk"?
>
> Linux has had fsync for as long as I can remember.
>
> Maybe you have it confused with fsync() over NFS? The NFSv2
> implementation on linux used to have "async" flag for nfs as default
> - making it non NFS-compliant without reconfiguration.

The fsync() call has existed, but in the kernel it didn't actually do
anything is what I've been told.  -sc

--
Sean Chittenden

Вложения

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

Предыдущее
От: Ragnar Kjørstad
Дата:
Сообщение: Re: fsync or fdatasync
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: question about WAL.