wieck(at)svr1(dot)postgresql(dot)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