Skip to content

[stable35] perf(sharing): skip resolving group shares when there are none - #65786

Open
backportbot[bot] wants to merge 1 commit into
stable35from
backport/65461/stable35
Open

backportbot[bot] wants to merge 1 commit into
stable35from
backport/65461/stable35

Conversation

@backportbot

@backportbot backportbot Bot commented Oct 22, 2026

Copy link
Copy Markdown

Backport of PR #65461

Setting up the mount of a received share looks up group shares for the
path, and then queries the user specific group share entries to apply
them, even when no group share was found. The result can only change
the group shares found, so skip the query when there are none. This
saves a query on every access to a received share for users without
group shares for the path.

Assisted-by: ClaudeCode:claude-opus-5-5
Signed-off-by: Carl Schwan <carl@carlschwan.eu>

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants