Обсуждение: pgsql: Don't forget about failed fsync() requests.

Поиск
Список
Период
Сортировка

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

От
Thomas Munro
Дата:
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_5_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/a4a4aede5fabe6d94bd9b6445725db0c57eecd9b

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