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

Поиск
Список
Период
Сортировка
От The Hermit Hacker
Тема Re: [HACKERS] fsync -> fdatasync in backend/storage/file/fd.c
Дата
Msg-id Pine.BSF.3.96.980416232339.333S-100000@thelab.hub.org
обсуждение исходный текст
Ответ на Re: [HACKERS] fsync -> fdatasync in backend/storage/file/fd.c  (Michal Mosiewicz <mimo@interdata.com.pl>)
Список pgsql-hackers
On Fri, 17 Apr 1998, Michal Mosiewicz wrote:

> The Hermit Hacker wrote:
>
> >         We don't have it (FreeBSD)...what does it do? *raised eyebrow*
> > And, how many ppl actually have fsync's enabled?
>
> When you fsync a file it usually costs at least two write operations,
> one to write the data and one to update modification/access date, etc.
> fdatasync synces only data area of the file without it's
> metainformation.

    Similar to us (FreeBSD) mounting our file systems 'noatime', so,
ya, we have it...

Marc G. Fournier
Systems Administrator @ hub.org
primary: scrappy@hub.org           secondary: scrappy@{freebsd|postgresql}.org


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

Предыдущее
От: Michal Mosiewicz
Дата:
Сообщение: Re: [HACKERS] fsync -> fdatasync in backend/storage/file/fd.c
Следующее
От: ocie@paracel.com
Дата:
Сообщение: Re: [HACKERS] fsync -> fdatasync in backend/storage/file/fd.c