Re: [PATCHES] O_DIRECT for WAL writes - Mailing list pgsql-hackers

From Tom Lane
Subject Re: [PATCHES] O_DIRECT for WAL writes
Date
Msg-id 21035.1119576489@sss.pgh.pa.us
Whole thread Raw
In response to Re: [PATCHES] O_DIRECT for WAL writes  (Bruce Momjian <pgman@candle.pha.pa.us>)
List pgsql-hackers
Bruce Momjian <pgman@candle.pha.pa.us> writes:
> Tom Lane wrote:
>> The reason I question "automatic" is that you really want to test each
>> drive being used, if the system has more than one; but Postgres has no
>> idea what the actual hardware layout is, and so no good way to know what
>> needs to be tested.

> Some folks have battery-backed cached controllers so they would appear
> as not handling fsync when in fact they do.

Right, so something like refusing to start if we think fsync doesn't
work is probably not a hot idea.  (Unless you want to provide a GUC
variable to override it...)
        regards, tom lane


pgsql-hackers by date:

Previous
From: Andrew Dunstan
Date:
Subject: Re: language handlers in public schema?
Next
From: Tom Lane
Date:
Subject: Re: language handlers in public schema?