Removing a few more lseek() calls

From: Thomas Munro <thomas(dot)munro(at)gmail(dot)com>
To: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Removing a few more lseek() calls
Date: 2019-03-30 09:13:44
Message-ID: CA+hUKG+iqke4uTRFj8D8uEUUgj+RokPSp+CWM6YYzaaamG9Wvg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hello,

Patch 0001 gets rid of the unconditional lseek() calls for SLRU I/O,
as a small follow-up to commit c24dcd0c. Patch 0002 gets rid of a few
places that usually do a good job of avoiding lseek() calls while
reading and writing WAL, but it seems better to have no code at all.

--
Thomas Munro
https://enterprisedb.com

Attachment Content-Type Size
0001-Use-pg_pread-and-pg_pwrite-in-slru.c.patch text/x-patch 2.4 KB
0002-Use-pg_pread-and-pg_pwrite-in-various-places.patch text/x-patch 10.2 KB

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Justin Pryzby 2019-03-30 09:24:16 Re: [HACKERS] generated columns
Previous Message Pavel Stehule 2019-03-30 08:46:49 Re: [HACKERS] generated columns