From: Thomas Munro <tmunro@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Don't forget about failed fsync() requests.
Date: Mon, 19 Nov 2018 04:45:54 +0000
Message-ID: <E1gObRa-00028k-KU@gemulon.postgresql.org> (raw)
Don't forget about failed fsync() requests.
If fsync() fails, md.c must keep the request in its bitmap, so that
future attempts will try again.
Back-patch to all supported releases.
Author: Thomas Munro
Reviewed-by: Amit Kapila
Reported-by: Andrew Gierth
Discussion: https://postgr.es/m/87y3i1ia4w.fsf%40news-spur.riddles.org.uk
Branch
------
REL9_5_STABLE
Details
-------
https://git.postgresql.org/pg/commitdiff/a4a4aede5fabe6d94bd9b6445725db0c57eecd9b
Modified Files
--------------
src/backend/storage/smgr/md.c | 23 ++++++++++++++++++-----
1 file changed, 18 insertions(+), 5 deletions(-)
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-committers@postgresql.org
Cc: tmunro@postgresql.org, pgsql-committers@lists.postgresql.org
Subject: Re: pgsql: Don't forget about failed fsync() requests.
In-Reply-To: <E1gObRa-00028k-KU@gemulon.postgresql.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox