Re: checkpointer continuous flushing - V18 - Mailing list pgsql-hackers

From Andres Freund
Subject Re: checkpointer continuous flushing - V18
Date
Msg-id 20160310222441.uhk5w5wuzyslhevf@alap3.anarazel.de
Whole thread Raw
In response to Re: checkpointer continuous flushing - V18  (Robert Haas <robertmhaas@gmail.com>)
Responses Re: checkpointer continuous flushing - V18  (Robert Haas <robertmhaas@gmail.com>)
List pgsql-hackers
On 2016-02-21 09:49:53 +0530, Robert Haas wrote:
> I think there might be a semantic distinction between these two terms.
> Doesn't writeback mean writing pages to disk, and flushing mean making
> sure that they are durably on disk?  So for example when the Linux
> kernel thinks there is too much dirty data, it initiates writeback,
> not a flush; on the other hand, at transaction commit, we initiate a
> flush, not writeback.

I don't think terminology is sufficiently clear to make such a
distinction. Take e.g. our FlushBuffer()...



pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: [COMMITTERS] pgsql: Provide much better wait information in pg_stat_activity.
Next
From: Robert Haas
Date:
Subject: Re: checkpointer continuous flushing - V18