Skip to content

Don't do a full nested mount setup when listing a directory. #57351

@icewind1991

Description

@icewind1991

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.

  1. Add an option to setup the filesystem for only 1 level of child-mounts instead of child-mounts at any depth.
  2. Instead of setting up the actual mount points for the children, just fetch the metadata for the mountpoints (using oc_mounts) and then create LazyFolder stubs 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

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions