diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2007-04-12 17:11:00 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2007-04-12 17:11:00 +0000 |
commit | 366e9eea24810d8f7c038e9b5b268f56e4a1faef (patch) | |
tree | 922eafe28dc2c156a418f42043cd379a5ef036d3 /src/backend/executor/nodeSubplan.c | |
parent | 707964b6a87f03675396c5ecfed411902a1f6232 (diff) | |
download | postgresql-366e9eea24810d8f7c038e9b5b268f56e4a1faef.tar.gz postgresql-366e9eea24810d8f7c038e9b5b268f56e4a1faef.zip |
Rearrange mdsync() looping logic to avoid the problem that a sufficiently
fast flow of new fsync requests can prevent mdsync() from ever completing.
This was an unforeseen consequence of a patch added in Mar 2006 to prevent
the fsync request queue from overflowing. Problem identified by Heikki
Linnakangas and independently by ITAGAKI Takahiro; fix based on ideas from
Takahiro-san, Heikki, and Tom.
Back-patch as far as 8.1 because a previous back-patch introduced the problem
into 8.1 ...
Diffstat (limited to 'src/backend/executor/nodeSubplan.c')
0 files changed, 0 insertions, 0 deletions