Skip site navigation (1) Skip section navigation (2)

pgsql: Backport fsync queue compaction logic to all supportedbranches.

From: Robert Haas <rhaas(at)postgresql(dot)org>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Backport fsync queue compaction logic to all supportedbranches.
Date: 2012-06-26 10:47:57
Message-ID: E1SjTJN-0003Nl-Uu@gemulon.postgresql.org (view raw or flat)
Thread:
Lists: pgsql-committers
Backport fsync queue compaction logic to all supported branches.

This backports commit 7f242d880b5b5d9642675517466d31373961cf98,
except for the counter in pg_stat_bgwriter.  The underlying problem
(namely, that a full fsync request queue causes terrible checkpoint
behavior) continues to be reported in the wild, and this code seems
to be safe and robust enough to risk back-porting the fix.

Branch
------
REL9_0_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/73a3b1d4589eaf3dc7f0a573727a2a6ac5279e6a

Modified Files
--------------
src/backend/postmaster/bgwriter.c |  129 ++++++++++++++++++++++++++++++++++---
src/backend/storage/smgr/md.c     |    8 ++-
2 files changed, 127 insertions(+), 10 deletions(-)

pgsql-committers by date

Next:From: Robert HaasDate: 2012-06-26 10:47:58
Subject: pgsql: Backport fsync queue compaction logic to all supportedbranches.
Previous:From: Heikki LinnakangasDate: 2012-06-26 04:52:03
Subject: pgsql: Fix pg_upgrade,broken by the xlogid/segno -> 64-bit int refacto

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group