-
-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Open
Labels
1. to developAccepted and waiting to be taken care ofAccepted and waiting to be taken care ofperformance 🚀
Description
Currently, listing a directory, performs a filesystem setup for the directory and all of it's children, even though we don't really care about deeply nested mounts (see also #57350)
There are 2 ways we could optimize this.
- Add an option to setup the filesystem for only 1 level of child-mounts instead of child-mounts at any depth.
- Instead of setting up the actual mount points for the children, just fetch the metadata for the mountpoints (using
oc_mounts) and then createLazyFolderstubs with them.
Option 2. should be the more optimal one, but it would require storing per-users permissions (or permissions mask) in oc_mounts to deal with the fact that different users have different permissions for shares/groupfolders.
Metadata
Metadata
Assignees
Labels
1. to developAccepted and waiting to be taken care ofAccepted and waiting to be taken care ofperformance 🚀