Re: Experimental ARC implementation

Поиск
Список
Период
Сортировка
От Greg Stark
Тема Re: Experimental ARC implementation
Дата
Msg-id 87d6c3ly7c.fsf@stark.dyndns.tv
обсуждение исходный текст
Ответ на Re: Experimental ARC implementation  (Bruce Momjian <pgman@candle.pha.pa.us>)
Ответы Re: Experimental ARC implementation
Список pgsql-hackers
Bruce Momjian <pgman@candle.pha.pa.us> writes:

> > I am not really aiming at removing sync() alltogether. We know already 
> > that open,fsync,close does not guarantee you flush dirty OS-buffers for 
> > which another process might so far only have done open,write. And you 

So for what it's worth, though the spec seems to indicate fsync is only
guaranteed to sync writes to that file descriptor, in reality all known VFS's
do not associated dirty buffers with particular file descriptors. 

At least I checked with people that NetBSD and Solaris do not. Both developers
said they were unaware of any OS that kept dirty buffers per-fd and couldn't
imagine anyone wanting to do that. It would be fairly easy to check Linux. All
the others out there are fairly closely related to either NetBSD or Solaris.

-- 
greg



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

Предыдущее
От: Andrew Dunstan
Дата:
Сообщение: Re: What do you want me to do?
Следующее
От: Andrew Dunstan
Дата:
Сообщение: Re: What do you want me to do?