pgsql: Rearrange mdsync() looping logic to avoid the problem that a

Поиск
Список
Период
Сортировка
От tgl@postgresql.org (Tom Lane)
Тема pgsql: Rearrange mdsync() looping logic to avoid the problem that a
Дата
Msg-id 20070412171100.96B3B9FA399@postgresql.org
обсуждение исходный текст
Список pgsql-committers
Log Message:
-----------
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 ...

Tags:
----
REL8_2_STABLE

Modified Files:
--------------
    pgsql/src/backend/storage/smgr:
        md.c (r1.123.2.1 -> r1.123.2.2)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/storage/smgr/md.c.diff?r1=1.123.2.1&r2=1.123.2.2)

В списке pgsql-committers по дате отправления:

Предыдущее
От: tgl@postgresql.org (Tom Lane)
Дата:
Сообщение: pgsql: Rearrange mdsync() looping logic to avoid the problem that a
Следующее
От: tgl@postgresql.org (Tom Lane)
Дата:
Сообщение: pgsql: Rearrange mdsync() looping logic to avoid the problem that a