Re: We really ought to do something about O_DIRECT and data=journalled on ext4 - Mailing list pgsql-hackers

From Andrew Dunstan
Subject Re: We really ought to do something about O_DIRECT and data=journalled on ext4
Date
Msg-id 4CF5C022.4050302@dunslane.net
Whole thread Raw
In response to Re: We really ought to do something about O_DIRECT and data=journalled on ext4  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: We really ought to do something about O_DIRECT and data=journalled on ext4
List pgsql-hackers

On 11/30/2010 10:09 PM, Tom Lane wrote:
> Josh Berkus<josh@agliodbs.com>  writes:
>> Apparently, testing for O_DIRECT at compile time isn't adequate.  Ideas?
> We should wait for the outcome of the discussion about whether to change
> the default wal_sync_method before worrying about this.
>
>             

Tom,

we've just had a significant PGX customer encounter this with the latest 
Postgres on Redhat's freshly released flagship product. Presumably the 
default wal_sync_method will only change prospectively. But this will 
feel to every user out there who encounters it like a bug in our code, 
and it needs attention. It was darn difficult to diagnose, and many 
people will just give up in disgust if they encounter it.

cheers

andrew


pgsql-hackers by date:

Previous
From: Josh Berkus
Date:
Subject: Re: We really ought to do something about O_DIRECT and data=journalled on ext4
Next
From: Hitoshi Harada
Date:
Subject: Re: SQL/MED - core functionality