Re: pgsql: Add wait event for fsync of WAL segments

From: Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>
To: Michael Paquier <michael(at)paquier(dot)xyz>
Cc: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: Re: pgsql: Add wait event for fsync of WAL segments
Date: 2018-07-02 16:23:35
Message-ID: 20180702162335.cfa2cthcxanbzjnv@alvherre.pgsql
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers pgsql-hackers

On 2018-Jul-02, Michael Paquier wrote:

> Add wait event for fsync of WAL segments
>
> This has been visibly a forgotten spot in the first implementation of
> wait events for I/O added by 249cf07, and what has been missing is a
> fsync call for WAL segments which is a wrapper reacting on the value of
> GUC wal_sync_method.

I wonder if we should backpatch this one all the way to pg10. I don't
see no reason not to.

--
Álvaro Herrera https://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services

In response to

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message Robert Haas 2018-07-02 18:07:37 Re: pgsql: Clarify use of temporary tables within partition trees
Previous Message Alvaro Herrera 2018-07-02 16:21:50 Re: Tips on committing

Browse pgsql-hackers by date

  From Date Subject
Next Message Peter Geoghegan 2018-07-02 16:28:04 Re: [WIP] [B-Tree] Retail IndexTuple deletion
Previous Message Alvaro Herrera 2018-07-02 16:21:50 Re: Tips on committing