Re: Fwd: Is the fsync() fake on FreeBSD6.1? - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Fwd: Is the fsync() fake on FreeBSD6.1?
Date
Msg-id 27060.1159036524@sss.pgh.pa.us
Whole thread Raw
In response to Re: Fwd: Is the fsync() fake on FreeBSD6.1?  (Andrew - Supernews <andrew+nonews@supernews.com>)
List 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 by date:

Previous
From: Tom Lane
Date:
Subject: ReadBuffer(P_NEW) versus valid buffers
Next
From: Martijn van Oosterhout
Date:
Subject: Re: pgsql: We're going to have to spell dotless i