Re: Configuring fdatasync for Solaris2

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: Configuring fdatasync for Solaris2
Дата
Msg-id Pine.LNX.4.30.0109112122280.680-100000@peter.localdomain
обсуждение исходный текст
Ответ на Re: Configuring fdatasync for Solaris2  (Kenji Sugita <sugita@sra.co.jp>)
Ответы Re: Configuring fdatasync for Solaris2  (Kenji Sugita <sugita@sra.co.jp>)
Список pgsql-patches
Kenji Sugita writes:

> ;;; I have installed a patch that should work for you.  I used -lrt instead of
> ;;; -lposix4.  They should be the same, but the former seems to be preferred.
>
> Did you posted? I would like to try to use it.

I added

    AC_SEARCH_LIBS(fdatasync, rt)

near the location where your patch went.

> My understanding is that it should be enabled by configure, since fdatasync
> is the best method for Solaris2.

Correct.  fdatasync() is (when not simply aliased to fsync) more efficient
than fsync(), which is it's reason of existence.  I find it interesting
that it's associated with "real-time" computing.

--
Peter Eisentraut   peter_e@gmx.net   http://funkturm.homeip.net/~peter


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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: Configuring fdatasync for Solaris2
Следующее
От: Kenji Sugita
Дата:
Сообщение: Re: Configuring fdatasync for Solaris2