Re: We really ought to do something about O_DIRECT and data=journalled on ext4

Andres Freund <andres@anarazel.de>

From: Andres Freund <andres@anarazel.de>
To: pgsql-hackers@postgresql.org
Cc: Tom Lane <tgl@sss.pgh.pa.us>, Josh Berkus <josh@agliodbs.com>
Date: 2010-12-01T18:41:46Z
Lists: pgsql-hackers
On Wednesday 01 December 2010 19:09:05 Tom Lane wrote:
> Josh Berkus <josh@agliodbs.com> writes:
> > It's a bug and it's our bug.
> 
> No, it's a filesystem bug that this particular filesystem doesn't
> support a perfectly reasonable combination of options, and doesn't
> even fail gracefully as it could easily do.  But assigning blame
> doesn't help much.
I wouldnt call it a reasonable combination - promising fs-level data-
journaling (data=journal) and O_DIRECT are not really compatible with each 
other...

Andres