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 ma...@juffo.org 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

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 ma...@juffo.org 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;

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 alvhe...@2ndquadrant.com 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

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

2014-02-10 Thread Marti Raudsepp
Hi list, I'm in the middle of setting up a new machine and there's something odd in pg_test_fsync output. Does anyone have ideas why open_sync tests would fail in the middle?: 4 * 4kB open_sync writes 89.322 ops/sec 11195 usecs/op 8 * 2kB open_sync writes write

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 ma...@juffo.org 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