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

2006-09-24 Thread Ron Mayer
Andrew - Supernews wrote: 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. (It's not possible

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

2006-09-23 Thread Tom Lane
Andrew - Supernews [EMAIL PROTECTED] 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.

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

2006-09-23 Thread Andrew - Supernews
On 2006-09-23, Tom Lane [EMAIL PROTECTED] wrote: Andrew - Supernews [EMAIL PROTECTED] 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

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

2006-09-22 Thread mark
On Fri, Sep 22, 2006 at 01:52:02PM -0400, Jim Nasby wrote: I thought folks might be interested in this... note in particular the comment about linux. ... From: Greg 'groggy' Lehey [EMAIL PROTECTED] Date: June 26, 2006 11:34:12 PM EDT To: leo huang [EMAIL PROTECTED] Cc:

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

2006-09-22 Thread Tom Lane
[EMAIL PROTECTED] writes: I don't believe that fsync() on Linux syncs the whole file system either. Indeed. I'd disregard this as coming from someone who knows much less than he thinks. (The most likely explanation for his results, I expect, is that FreeBSD is trying to fsync and the disk

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

2006-09-22 Thread AgentM
On Sep 22, 2006, at 15:00 , [EMAIL PROTECTED] wrote: On Fri, Sep 22, 2006 at 01:52:02PM -0400, Jim Nasby wrote: I thought folks might be interested in this... note in particular the comment about linux. ... From: Greg 'groggy' Lehey [EMAIL PROTECTED] Date: June 26, 2006 11:34:12 PM EDT To:

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

2006-09-22 Thread Andrew - Supernews
On 2006-09-22, Jim Nasby [EMAIL PROTECTED] wrote: I thought folks might be interested in this... note in particular the comment about linux. I don't believe that either person in that discussion knows what they are really talking about. fsync() on FreeBSD does, as is required, force any