Skip to content

Conversation

jmpq
Copy link

@jmpq jmpq commented Oct 18, 2019

'cp' might skip over the zero data/file hole when copying a file to goofys,
causing "only sequential writes supported" error because offset != fh.nextWriteOffset.

Fix the issue by filling the range [offset, fh.nextWriteOffset) with zero.

…oofys,

causing "only sequential writes supported" error because offset != fh.nextWriteOffset.

Fix the issue by filling the range [offset, fh.nextWriteOffset) with zero.
@kahing
Copy link
Owner

kahing commented Oct 19, 2019

there's WIP work here as well: https://github.com/kahing/goofys/commits/sparse

also depends on jacobsa/fuse#66 which cp may need depends on where the sparse region is

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants