Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

use storage copy implementation when doing dav copy #24358

Merged
merged 1 commit into from
Dec 3, 2020

Conversation

icewind1991
Copy link
Member

instead of using the sabredav fallback (which does a read+write stream copy)

this greatly speeds up dav copies

Signed-off-by: Robin Appelman robin@icewind.nl

instead of using the sabredav fallback (which does a read+write stream copy)

this greatly speeds up dav copies

Signed-off-by: Robin Appelman <robin@icewind.nl>
@icewind1991 icewind1991 added the 3. to review Waiting for reviews label Nov 24, 2020
@icewind1991 icewind1991 added this to the Nextcloud 21 milestone Nov 24, 2020
@rullzer
Copy link
Member

rullzer commented Nov 25, 2020

No need to also set it on the File?
I'll try this in a bit.

But I suspect it should speedup copies all around right? As even with local storage you just say to the OS. Copy this there.

@icewind1991
Copy link
Member Author

No need to also set it on the File?

sabredav always call the copy for the parent directory of the target from what I can tell

But I suspect it should speedup copies all around right? As even with local storage you just say to the OS. Copy this there.

Should be yes

Copy link
Member

@MorrisJobke MorrisJobke left a comment

Choose a reason for hiding this comment

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

Copy still works 👍

@MorrisJobke MorrisJobke merged commit fc57f60 into master Dec 3, 2020
@MorrisJobke MorrisJobke deleted the dav-storage-copy branch December 3, 2020 14:03
@icewind1991
Copy link
Member Author

/backport to stable20

@icewind1991
Copy link
Member Author

/backport to stable19

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.

3 participants