"Hiroshi Inoue" <Inoue@tpf.co.jp> writes:
> However,BM_DIRTY+BM_IO_ERROR buffers seems to have to be
> excluded from freelist of buffers. Then IO errors would be limited
> to backends which really need to update the buffers.
Good idea, that will prevent unrelated transactions from getting in
trouble by trying to flush and re-use the buffer.
regards, tom lane