Re: [Bug Report + Patch] File descriptor leak when io_method=io_uring

From: Fujii Masao <masao(dot)fujii(at)gmail(dot)com>
To: Xuneng Zhou <xunengzhou(at)gmail(dot)com>
Cc: Lucas DRAESCHER <git(at)draescher(dot)fr>, Andrey Borodin <x4mmm(at)yandex-team(dot)ru>, Jakub Wartak <jakub(dot)wartak(at)enterprisedb(dot)com>, Laetitia Avrot <laetitia(dot)avrot(at)gmail(dot)com>, "tanswis42(at)gmail(dot)com" <tanswis42(at)gmail(dot)com>, cca5507 <cca5507(at)qq(dot)com>, "pgsql-hackers(at)lists(dot)postgresql(dot)org" <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: [Bug Report + Patch] File descriptor leak when io_method=io_uring
Date: 2026-11-05 08:12:07
Message-ID: CAHGQGwENNKffx1NVHLpe9bghzUB5j_5u0XD3D_U1BetyKMH23w@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Thu, Nov 5, 2026 at 4:12 PM Xuneng Zhou <xunengzhou(at)gmail(dot)com> wrote:
> For cautiousness, do we
> need to make a local copy of the ring ds when creation and use them
> while cleanup?

Yes, maybe. But I'm thinking of committing the FD leak fix first, then
addressing the use of postmaster-local copies of the ring descriptors
for cleanup in a separate patch.

Regards,

--
Fujii Masao

In response to

Browse pgsql-hackers by date

  From Date Subject
Previous Message Alvaro Herrera 2026-11-05 08:05:52 Re: Partitioned index marked valid while a partition is pending detach