Re: [PATCHES] O_DIRECT for WAL writes

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
Cc: Greg Stark <gsstark(at)mit(dot)edu>, ITAGAKI Takahiro <itagaki(dot)takahiro(at)lab(dot)ntt(dot)co(dot)jp>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: [PATCHES] O_DIRECT for WAL writes
Date: 2005-06-24 01:28:09
Message-ID: 21035.1119576489@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches

Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2005-06-24 01:29:00 Re: language handlers in public schema?
Previous Message Andrew Dunstan 2005-06-24 01:24:23 Re: language handlers in public schema?

Browse pgsql-patches by date

  From Date Subject
Next Message Tom Lane 2005-06-24 01:29:00 Re: language handlers in public schema?
Previous Message Andrew Dunstan 2005-06-24 01:24:23 Re: language handlers in public schema?