Re: fallocate / posix_fallocate for new WAL file creation (etc...) - Mailing list pgsql-hackers

From Andres Freund
Subject Re: fallocate / posix_fallocate for new WAL file creation (etc...)
Date
Msg-id 20130530122053.GA14029@awork2.anarazel.de
Whole thread Raw
In response to Re: fallocate / posix_fallocate for new WAL file creation (etc...)  (Peter Eisentraut <peter_e@gmx.net>)
Responses Re: fallocate / posix_fallocate for new WAL file creation (etc...)  (Stephen Frost <sfrost@snowman.net>)
List pgsql-hackers
On 2013-05-30 08:19:17 -0400, Peter Eisentraut wrote:
> 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.

Well, only as long as we only use it for preallocation of wal files. I
am much, much more interested in doing that for the heap. And there that
surely would be a problem.

Greetings,

Andres Freund

-- Andres Freund                       http://www.2ndQuadrant.com/PostgreSQL Development, 24x7 Support, Training &
Services



pgsql-hackers by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: fallocate / posix_fallocate for new WAL file creation (etc...)
Next
From: Andres Freund
Date:
Subject: Re: fallocate / posix_fallocate for new WAL file creation (etc...)