Re: fallocate / posix_fallocate for new WAL file creation (etc...)

From: Greg Smith <greg(at)2ndQuadrant(dot)com>
To: Andres Freund <andres(at)2ndquadrant(dot)com>
Cc: Robert Haas <robertmhaas(at)gmail(dot)com>, Stephen Frost <sfrost(at)snowman(dot)net>, Peter Eisentraut <peter_e(at)gmx(dot)net>, Jon Nelson <jnelson+pgsql(at)jamponi(dot)net>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: fallocate / posix_fallocate for new WAL file creation (etc...)
Date: 2013-05-30 11:57:48
Message-ID: 51A73EBC.5090809@2ndQuadrant.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 5/30/13 7:52 AM, Andres Freund wrote:
> fadvise is a hint which is pretty
> different from a fallocate where ignoring would have way much more
> severe consequences.

Yes, it will. That's why I want to see it tested. There is more than
enough past examples of bad behavior here to be skeptical that this sort
of API may not work exactly as specified. If you're willing to believe
the spec, that's fine, but I think that's dangerously optimistic.

--
Greg Smith 2ndQuadrant US greg(at)2ndQuadrant(dot)com Baltimore, MD
PostgreSQL Training, Services, and 24x7 Support www.2ndQuadrant.com

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Robert Haas 2013-05-30 12:02:56 Re: fallocate / posix_fallocate for new WAL file creation (etc...)
Previous Message Robert Haas 2013-05-30 11:54:38 Re: removing PD_ALL_VISIBLE