Re: [PATCH] fuse: add max_stack_depth to fuse_init_in

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, May 15, 2025 at 10:42:30AM +0200, Miklos Szeredi wrote:
> On Wed, 14 May 2025 at 14:14, Allison Karlitskaya
> <allison.karlitskaya@xxxxxxxxxx> wrote:
> > Use one of the unused fields in fuse_init_in to add a max_stack_depth
> > uint32_t (matching the max_stack_depth uint32_t in fuse_init_out).
> 
> This is not a fuse-only thing.
> 
> What about making it a read-only sysctl attribute? E.g.
> /proc/sys/fs/max-stack-depth.

Before making this a kernel wide sysctl attribute we should have actual
users that need more than two right now. IIUC, then making this an
attribute in FUSE will happen at some point anyway. For example, if
userspace wants to have a FUSE specific stacking limit that's different
from the global limit.




[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [NTFS 3]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [NTFS 3]     [Samba]     [Device Mapper]     [CEPH Development]

  Powered by Linux