Skip to content

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 [email protected]

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

this greatly speeds up dav copies

Signed-off-by: Robin Appelman <[email protected]>
@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.

4 participants