Re: pgsql-server/src backend/storage/buffer/bufmgr ... - Mailing list pgsql-committers

From Tom Lane
Subject Re: pgsql-server/src backend/storage/buffer/bufmgr ...
Date
Msg-id 5402.1074979023@sss.pgh.pa.us
Whole thread Raw
In response to pgsql-server/src backend/storage/buffer/bufmgr ...  (wieck@svr1.postgresql.org (Jan Wieck))
Responses Re: pgsql-server/src backend/storage/buffer/bufmgr ...
List pgsql-committers
wieck@svr1.postgresql.org (Jan Wieck) writes:
>     Added GUC variable bgwriter_flush_method controlling the action
>     done by the background writer between writing dirty blocks and
>     napping.

>     none (default)   no action
>     sync             bgwriter calls smgrsync() causing a sync(2)

Why would that be useful at all?  I thought the purpose of the bgwriter
was to avoid I/O storms, not provoke them.

            regards, tom lane

pgsql-committers by date:

Previous
From: neilc@svr1.postgresql.org (Neil Conway)
Date:
Subject: pgsql-server/src/bin/psql print.c
Next
From: Jan Wieck
Date:
Subject: Re: pgsql-server/src backend/storage/buffer/bufmgr ...