pgsql: Don't forget about failed fsync() requests.

Поиск
Список
Период
Сортировка
От Thomas Munro
Тема pgsql: Don't forget about failed fsync() requests.
Дата
Msg-id E1gObRo-00029g-OL@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Don't forget about failed fsync() requests.

If fsync() fails, md.c must keep the request in its bitmap, so that
future attempts will try again.

Back-patch to all supported releases.

Author: Thomas Munro
Reviewed-by: Amit Kapila
Reported-by: Andrew Gierth
Discussion: https://postgr.es/m/87y3i1ia4w.fsf%40news-spur.riddles.org.uk

Branch
------
REL9_4_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/2b2010d12a62c4b77fdffbd988f5cbbcdcddb98e

Modified Files
--------------
src/backend/storage/smgr/md.c | 23 ++++++++++++++++++-----
1 file changed, 18 insertions(+), 5 deletions(-)


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

Предыдущее
От: Thomas Munro
Дата:
Сообщение: pgsql: PANIC on fsync() failure.
Следующее
От: Peter Eisentraut
Дата:
Сообщение: pgsql: pg_archivecleanup: Update file header comment a bit