Re: WAL and O_DIRECT - Mailing list pgsql-admin

From Tom Lane
Subject Re: WAL and O_DIRECT
Date
Msg-id 4614.1431620728@sss.pgh.pa.us
Whole thread Raw
In response to Re: WAL and O_DIRECT  (Ravi Krishna <s.ravikrishna@aim.com>)
List pgsql-admin
Ravi Krishna <s.ravikrishna@aim.com> writes:
> Am I right in concluding that PG WAL writes without underlying h/w caching is not crash proof.

We expect that the hardware+OS honors fsync() correctly, ie puts the data
on durable storage before fsync returns.  That does not mean anything one
way or the other about caching, it just means that the filesystem stack
has to be correctly implemented.

            regards, tom lane


pgsql-admin by date:

Previous
From: Ravi Krishna
Date:
Subject: Re: WAL and O_DIRECT
Next
From: Bruce Momjian
Date:
Subject: Re: WAL and O_DIRECT