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

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Robert Haas <robertmhaas(at)gmail(dot)com>
Cc: Andres Freund <andres(at)2ndquadrant(dot)com>, Stephen Frost <sfrost(at)snowman(dot)net>, Greg Smith <greg(at)2ndquadrant(dot)com>, 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 12:19:17
Message-ID: 51A743C5.7000804@gmx.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 5/30/13 8:02 AM, Robert Haas wrote:
> If there's some OS out
> there that chooses to fill the pre-extended pages with 0x55 or cat
> /dev/urandom instead of 0x00, they probably deserve what they get.

Even that wouldn't be a problem for our purpose. The only problem would
be if you can't read from the allocated region at all.

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Andres Freund 2013-05-30 12:20:53 Re: fallocate / posix_fallocate for new WAL file creation (etc...)
Previous Message Peter Eisentraut 2013-05-30 12:17:28 Re: fallocate / posix_fallocate for new WAL file creation (etc...)