diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2007-04-12 17:11:07 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2007-04-12 17:11:07 +0000 |
commit | e98de00da35cedecd9b6032ed391a6c8a18b38f9 (patch) | |
tree | bfb97f69cbbcfd4796b3294a858fab9651e2f3ad /src/tutorial/funcs.c | |
parent | 6c6b8f028a82810484a9aafc20e9f0ddebe9e483 (diff) | |
download | postgresql-e98de00da35cedecd9b6032ed391a6c8a18b38f9.tar.gz postgresql-e98de00da35cedecd9b6032ed391a6c8a18b38f9.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/tutorial/funcs.c')
0 files changed, 0 insertions, 0 deletions