md: measure just FileSync() for pgstat_io without FileClose()

Jakub Wartak <jakub.wartak@enterprisedb.com>

From: Jakub Wartak <jakub.wartak@enterprisedb.com>
To: PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Date: 2026-04-30T11:14:59Z
Lists: pgsql-hackers

Attachments

Hi,

As per the attachment, shouldn't we exclude the timing of close() from
fsync()'s duration?

-J.