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

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: andrew(at)supernews(dot)com
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Fwd: Is the fsync() fake on FreeBSD6.1?
Date: 2006-09-23 18:35:24
Message-ID: 27060.1159036524@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Andrew - Supernews <andrew+nonews(at)supernews(dot)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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Martijn van Oosterhout 2006-09-23 19:56:04 Re: pgsql: We're going to have to spell dotless i
Previous Message Tom Lane 2006-09-23 17:35:31 ReadBuffer(P_NEW) versus valid buffers