Re: [GENERAL] pg_test_fsync: "Invalid argument" in the middle of a test

2014-02-12 Thread Marti Raudsepp
On Wed, Feb 12, 2014 at 10:46 PM, Alvaro Herrera wrote: > Would it be more useful to report the test as failed and continue with > other tests? Yeah, I think so, I'm planning to code this in the week. It's harder than it sounds because the alarm() timer is still ticking. On POSIX it can be cancel

Re: [GENERAL] pg_test_fsync: "Invalid argument" in the middle of a test

2014-02-12 Thread Alvaro Herrera
Bruce Momjian wrote: > On Tue, Feb 11, 2014 at 01:28:01AM +0200, Marti Raudsepp wrote: > > On Tue, Feb 11, 2014 at 12:20 AM, Marti Raudsepp wrote: > > > This is on Ubuntu 13.10 (kernel 3.11) with XFS (mount ed with noatime, > > > no other customizations). > > > > I managed to track this down; XFS

Re: [GENERAL] pg_test_fsync: "Invalid argument" in the middle of a test

2014-02-12 Thread Bruce Momjian
On Tue, Feb 11, 2014 at 01:28:01AM +0200, Marti Raudsepp wrote: > On Tue, Feb 11, 2014 at 12:20 AM, Marti Raudsepp wrote: > > This is on Ubuntu 13.10 (kernel 3.11) with XFS (mount ed with noatime, > > no other customizations). > > I managed to track this down; XFS doesn't allow using O_DIRECT for

Re: [GENERAL] pg_test_fsync: "Invalid argument" in the middle of a test

2014-02-10 Thread Marti Raudsepp
On Tue, Feb 11, 2014 at 12:20 AM, Marti Raudsepp wrote: > This is on Ubuntu 13.10 (kernel 3.11) with XFS (mount ed with noatime, > no other customizations). I managed to track this down; XFS doesn't allow using O_DIRECT for writes smaller than the filesystem's sector size (probably same on other