Re: Postgres, fsync, and OSs (specifically linux) - Mailing list pgsql-hackers

From Thomas Munro
Subject Re: Postgres, fsync, and OSs (specifically linux)
Date
Msg-id CAEepm=3V_nGdEOQEUeyaRtSsuMtfTjHX+7XGtnT3U8AHWdOTgA@mail.gmail.com
Whole thread Raw
In response to Re: Postgres, fsync, and OSs (specifically linux)  (Thomas Munro <thomas.munro@enterprisedb.com>)
List pgsql-hackers
On Fri, Sep 28, 2018 at 9:37 PM Thomas Munro
<thomas.munro@enterprisedb.com> wrote:
> The 0013 patch also fixes a mistake in the 0010 patch: it is not
> appropriate to call CFI() while waiting to notify the checkpointer of
> a dirty segment, because then ^C could cause the following checkpoint
> not to flush dirty data.

(Though of course it wouldn't actually do that due to an LWLock being
held, but still, I removed the CFI because it was at best misleading).

-- 
Thomas Munro
http://www.enterprisedb.com


pgsql-hackers by date:

Previous
From: Thomas Munro
Date:
Subject: Re: Postgres, fsync, and OSs (specifically linux)
Next
From: Amit Khandekar
Date:
Subject: Re: Slotification of partition tuple conversion