Re: Fwd: Is the fsync() fake on FreeBSD6.1?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Fwd: Is the fsync() fake on FreeBSD6.1?
Дата
Msg-id 27060.1159036524@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Fwd: Is the fsync() fake on FreeBSD6.1?  (Andrew - Supernews <andrew+nonews@supernews.com>)
Список pgsql-hackers
Andrew - Supernews <andrew+nonews@supernews.com> writes:
> Whether the underlying device lies about the write completion is another
> matter. All current SCSI disks have WCE enabled by default, which means
> that they will lie about write completion if FUA was not set in the
> request, which FreeBSD never sets.

Huh?  The entire point of the SCSI command set is that it's not
necessary to lie about write completion for performance reasons, because
the architecture has always supported the concept of multiple requests
in-flight concurrently.  Has the disk drive industry gotten a whole lot
stupider in the fifteen years since I last wrote a SCSI driver?
        regards, tom lane


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: ReadBuffer(P_NEW) versus valid buffers
Следующее
От: Martijn van Oosterhout
Дата:
Сообщение: Re: pgsql: We're going to have to spell dotless i