Re: [PATCH v6 0/4] nvmet: avoid recursive configfs open

From: Keith Busch

Date: Wed Oct 21 2026 - 16:43:43 EST


On Sat, Sep 26, 2026 at 05:21:44PM +0800, Runyu Xiao wrote:
> Several configfs store callbacks open user-configured paths while holding
> the item's frag_sem. If a configured path resolves into configfs, the open
> can re-enter __configfs_open_file() and try to acquire the same
> non-recursive semaphore again.
>
> Add helpers in configfs for opening non-configfs paths, then use them in the
> nvmet file-backed namespace and passthru paths. The series also pins the
> target-core db_root path and uses the root-relative helper for ALUA and APTPL
> metadata, so the helper has its target-core consumer in the same series.

For the nvme changes:

Acked-by: Keith Busch <kbusch@xxxxxxxxxx>

The bulk of the series is outside nvme though, so probably should go
through a different tree.