Re: Disaster!

Поиск
Список
Период
Сортировка
От Greg Stark
Тема Re: Disaster!
Дата
Msg-id 871xpow1x8.fsf@stark.xeocode.com
обсуждение исходный текст
Ответ на Re: Disaster!  (Manfred Spraul <manfred@colorfullife.com>)
Ответы Re: Disaster!  (Manfred Spraul <manfred@colorfullife.com>)
Список pgsql-hackers
Manfred Spraul <manfred@colorfullife.com> writes:

> That means
>     open();
>     write();
>     sync();
> 
> could succeed, but the data is not stored on disk, correct?

That would be true on any filesystem. Unless you throw an fsync() call in.

With sync replaced by fsync then any filesystem ought to guarantee the data
has reached disk by the time fsync returns. I think this is even true of NFS
or AFS, though I wouldn't depend on it for my own data.

-- 
greg



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

Предыдущее
От: "Steve Tibbett"
Дата:
Сообщение: Re: [pgsql-hackers-win32] What's left?
Следующее
От: Manfred Spraul
Дата:
Сообщение: Re: Disaster!