[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAKPOu+_EMyw-90fvNXXRHFpbi8FDc=fd1kGs21iE9+M4ZZSWeQ@mail.gmail.com>
Date: Wed, 17 Sep 2025 15:23:14 +0200
From: Max Kellermann <max.kellermann@...os.com>
To: Mateusz Guzik <mjguzik@...il.com>
Cc: slava.dubeyko@....com, xiubli@...hat.com, idryomov@...il.com,
amarkuze@...hat.com, ceph-devel@...r.kernel.org, netfs@...ts.linux.dev,
linux-kernel@...r.kernel.org, linux-fsdevel@...r.kernel.org,
stable@...r.kernel.org
Subject: Re: [PATCH] ceph: fix deadlock bugs by making iput() calls asynchronous
On Wed, Sep 17, 2025 at 3:14 PM Mateusz Guzik <mjguzik@...il.com> wrote:
> Given that this is a reliability fix I would forego optimizations of the sort.
Thanks, good catch - I guess I was trying to be too clever. I'll
remove the "n" parameter and just do atomic_add_unless(), like btrfs
does. That makes sure 0 is never hit by my own code.
Powered by blists - more mailing lists