CVSROOT: /home/projects/pgsql/cvsroot
Module name: pgsql
Changes by: vadim@hub.org 01/03/21 05:13:30
Modified files:
src/backend/storage/buffer: bufmgr.c
Log message:
Check bufHdr->cntxDirty and call StartBufferIO in BufferSync()
*before* acquiring shlock on buffer context. This way we should be
protected against conflicts with FlushRelationBuffers.
(Seems we never do excl lock and then StartBufferIO for the same
buffer, so there should be no deadlock here, - but we'd better
check this very soon).