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

"only sequential writes supported" error in case of zero data/file hole #471

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

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