lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250917202033.GY39973@ZenIV>
Date: Wed, 17 Sep 2025 21:20:33 +0100
From: Al Viro <viro@...iv.linux.org.uk>
To: Max Kellermann <max.kellermann@...os.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, Mateusz Guzik <mjguzik@...il.com>,
	stable@...r.kernel.org
Subject: Re: [PATCH v2] ceph: fix deadlock bugs by making iput() calls
 asynchronous

On Wed, Sep 17, 2025 at 03:59:07PM +0200, Max Kellermann wrote:

> After advice from Mateusz Guzik, I decided to do the latter.  The
> implementation is simple because it piggybacks on the existing
> work_struct for ceph_queue_inode_work() - ceph_inode_work() calls
> iput() at the end which means we can donate the last reference to it.
> 
> This patch adds ceph_iput_async() and converts lots of iput() calls to
> it - at least those that may come through writeback and the messenger.

What would force those delayed calls through at fs shutdown time?

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ