From: | Alvaro Herrera <alvherre(at)2ndquadrant(dot)com> |
---|---|
To: | Bruce Momjian <bruce(at)momjian(dot)us> |
Cc: | Marti Raudsepp <marti(at)juffo(dot)org>, PG-General Mailing List <pgsql-general(at)postgresql(dot)org> |
Subject: | Re: pg_test_fsync: "Invalid argument" in the middle of a test |
Date: | 2014-02-12 20:46:55 |
Message-ID: | 20140212204655.GN6342@eldon.alvh.no-ip.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
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 <marti(at)juffo(dot)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 same on
> > other FSes). The XFS filesystem created by the Ubuntu installer uses
> > 4kB sectors, for some weird reason:
>
> I have added the attached, applied C comment about Direct I/O write
> failures and mismatched block sizes.
Would it be more useful to report the test as failed and continue with
other tests?
--
Álvaro Herrera http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training & Services
From | Date | Subject | |
---|---|---|---|
Next Message | Marti Raudsepp | 2014-02-12 20:57:07 | Re: pg_test_fsync: "Invalid argument" in the middle of a test |
Previous Message | Bruce Momjian | 2014-02-12 20:39:44 | Re: pg_test_fsync: "Invalid argument" in the middle of a test |