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

Christian Brauner
2023-11-07T09:06:29Z

> But it doesn't appear to me there's agreement on the way forward. vfsmounts
> aren't going to do anything from what I can tell, but I could very well be
> missing some detail. And Christian doesn't seem to want that as a solution.

No, I really don't.

I still think that it is fine to add a statx() flag indicating that a
file is located on a subvolume. That allows interested userspace to
bounce to an ioctl() where you can give it additional information in
whatever form you like.