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

From: Jakub Wartak <jakub(dot)wartak(at)enterprisedb(dot)com>
To: PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: md: measure just FileSync() for pgstat_io without FileClose()
Date: 2026-04-30 11:14:59
Message-ID: CAKZiRmxwAQ4W-gSJbsox57WsjVOsaZhJE5ZDN2yFo2OOfYckGQ@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi,

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

-J.

Attachment Content-Type Size
v1-0001-md-measure-just-FileSync-for-pgstat_io-without-Fi.patch text/x-patch 1.1 KB

Browse pgsql-hackers by date

  From Date Subject
Next Message Amit Kapila 2026-04-30 11:20:27 Re: [PATCH] Fix stale relation close in sequence synchronization
Previous Message Sergei Patiakin 2026-04-30 11:02:40 Re: Inconsistent trigger behavior between two temporal leftovers