Re: [PATCH 0/3] fanotify support for btrfs sub-volumes

Christoph Hellwig
2023-11-03T14:23:49Z

On Wed, Nov 01, 2023 at 07:11:53PM +1030, Qu Wenruo wrote:
> > mount -t btrfs /dev/sda /mnt
> >
> > could be exploded into 1000 individual mounts. Which many users might not want.
>
> Can we make it dynamic? AKA, the btrfs_insert_fs_root() is the perfect
> timing here.
>
> That would greatly reduce the initial vfsmount explode, but I'm not sure
> if it's possible to add vfsmount halfway.

Yes, that's what I had in mind as well.