Skip to content

Conversation

@icewind1991
Copy link
Member

for most operations we don't actually care about any mounts inside a folder, only for metadata that needs to propagate across storage boundaries (size, etag, mtime) do we need all the submount info.

By only loading this data when needed we can save a bunch of storage setup in a number of cases

@icewind1991 icewind1991 added this to the Nextcloud 26 milestone Feb 8, 2023
@icewind1991 icewind1991 requested review from a team, ArtificialOwl, blizzz and come-nc and removed request for a team February 8, 2023 13:35
@icewind1991 icewind1991 force-pushed the folder-lazy-submounts branch 2 times, most recently from 867c6d1 to 992b5b7 Compare February 8, 2023 14:19
for most operations we don't actually care about any mounts inside a folder, only for metadata that needs to propagate across storage boundaries (size, etag, mtime) do we need all the submount info.

By only loading this data when needed we can save a bunch of storage setup in a number of cases

Signed-off-by: Robin Appelman <robin@icewind.nl>
Copy link
Member

@juliusknorr juliusknorr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice one :)

@juliusknorr juliusknorr merged commit d9cd8b1 into master Feb 10, 2023
@juliusknorr juliusknorr deleted the folder-lazy-submounts branch February 10, 2023 08:09
@blizzz blizzz mentioned this pull request Feb 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants