Re: [PATCH v3 2/3] fs: fuse: add backing_files control file

From: Miklos Szeredi
Date: Wed Jul 02 2025 - 01:11:29 EST


On Fri, 20 Jun 2025 at 08:12, Chen Linxuan <chenlinxuan@xxxxxxxxxxxxx> wrote:

> In my opinion, adding relevant directories and nodes under procfs does not seem
> to be much different from what I did in this patch by adding nodes
> under /sys/fs/fuse.
> This kind of solution would still be a somewhat “non-generic” approach.
> For io_uring, scm_rights, and fuse backing files,
> these newly added files or directories will eventually have their own
> specific names.

Why? Name the attribute "hidden_files" and then it's generic.

The underlying problem is the overgrowth of fdinfo files. It was
never meant to contain arrays, let alone hierarchies.

Thanks,
Miklos