pgsql: Track SLRU page hits in SimpleLruReadPage_ReadOnly

From: Tomas Vondra <tomas(dot)vondra(at)postgresql(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Track SLRU page hits in SimpleLruReadPage_ReadOnly
Date: 2020-04-08 00:17:00
Message-ID: E1jLyOq-0002St-4U@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Track SLRU page hits in SimpleLruReadPage_ReadOnly

SLRU page hits were tracked only in SimpleLruReadPage, but that's not
enough because we may hit the page in SimpleLruReadPage_ReadOnly in
which case we don't call SimpleLruReadPage at all.

Reported-by: Kuntal Ghosh
Discussion: https://postgr.es/m/20200119143707.gyinppnigokesjok@development

Branch
------
master

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

Modified Files
--------------
src/backend/access/transam/slru.c | 4 ++++
1 file changed, 4 insertions(+)

Browse pgsql-committers by date

  From Date Subject
Next Message Andres Freund 2020-04-08 00:36:57 pgsql: snapshot scalability: Move delayChkpt from PGXACT to PGPROC.
Previous Message Michael Paquier 2020-04-08 00:13:52 Re: pgsql: Appease perlcritic