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

pgsql: Tweak BgBufferSync() so that a persistent write error on a dirty

From: tgl(at)svr1(dot)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Tweak BgBufferSync() so that a persistent write error on a dirty
Date: 2005-08-02 20:52:09
Message-ID: 20050802205209.645B9528CC@svr1.postgresql.org (view raw or flat)
Thread:
Lists: pgsql-committers
Log Message:
-----------
Tweak BgBufferSync() so that a persistent write error on a dirty buffer
doesn't block the bgwriter from making progress writing out other buffers.
This was a hard problem in the context of the ARC/2Q design, but it's
trivial in the context of clock sweep ... just advance the sweep counter
before we try to write not after.

Modified Files:
--------------
    pgsql/src/backend/postmaster:
        bgwriter.c (r1.17 -> r1.18)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/postmaster/bgwriter.c.diff?r1=1.17&r2=1.18)
    pgsql/src/backend/storage/buffer:
        bufmgr.c (r1.189 -> r1.190)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/storage/buffer/bufmgr.c.diff?r1=1.189&r2=1.190)

pgsql-committers by date

Next:From: User NitinDate: 2005-08-02 23:46:06
Subject: bizgres - bizgres: moved clickstream.properties to WEB-INF/lib of webapp
Previous:From: Tom LaneDate: 2005-08-02 20:27:46
Subject: pgsql: Prevent planner from including temp tables of other backends when

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