fuse icon indicating copy to clipboard operation
fuse copied to clipboard

copy_file_range support

Open TPolzer opened this issue 4 years ago • 3 comments

Would it be possible to support copy_file_range? That could potentially speed up file copies enormously for filesystems that are copy on write or remote.

https://libfuse.github.io/doxygen/structfuse__operations.html#a8dab2194663f561ef7db54de2ca35694

TPolzer avatar Apr 14 '20 13:04 TPolzer

FUSE_COPY_FILE_RANGE was added in protocol 7.28, we're currently stuck around 7.12 because last I looked, OSXFUSE didn't support 7.20 (https://github.com/osxfuse/osxfuse/issues/155) and then both the OSXFUSE upstream and Apple turned hostile to open source (https://github.com/bazil/fuse/issues/224).

This will likely get done after dropping macOS support. Which is pretty much going to bring out the mobs with torches, but no maintainers...

tv42 avatar Apr 14 '20 18:04 tv42

Since MacOS support was dropped, could this be added?

paralin avatar Nov 19 '21 01:11 paralin

Need to check what FreeBSD is up to, but yes, we should be able to bring the protocol up now a lot more easily than writing lots of conditionals and alternate versions of types.

tv42 avatar Nov 19 '21 15:11 tv42