Re: O(n^2) system calls in RemoveOldXlogFiles()

From: Thomas Munro <thomas(dot)munro(at)gmail(dot)com>
To: Michael Paquier <michael(at)paquier(dot)xyz>
Cc: Andres Freund <andres(at)anarazel(dot)de>, pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: O(n^2) system calls in RemoveOldXlogFiles()
Date: 2021-01-15 02:25:24
Message-ID: CA+hUKGKi+EwqC+9EhBqvMgZwx_3d-Zp-2f-Sfc6E2=bo1pZBFw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Fri, Jan 15, 2021 at 3:07 PM Michael Paquier <michael(at)paquier(dot)xyz> wrote:
> On Wed, Jan 13, 2021 at 04:27:25PM +0900, Michael Paquier wrote:
> > I have been looking again at that, and the rebased version that Andres
> > has provided would take care of that. Any thoughts?
>
> Hearing nothing, I have applied the thing on HEAD after more tests and
> more reads of the code.

Thanks Michael! Another notch for the unnecessary system call
hitlist: https://wiki.postgresql.org/wiki/Syscall_Reduction

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Sergey Shinderuk 2021-01-15 02:27:14 Re: pg_preadv() and pg_pwritev()
Previous Message Sergey Shinderuk 2021-01-15 02:08:58 Re: pg_preadv() and pg_pwritev()