We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi,
I'm writing an app that is using in stream LZ4 to write to a file. I need to guarantee that the file is sync'ed sometimes, I'm using:
encoder.flush()?; encode.writer().sync_all()?;
Is this enough to guarantee that the lz4 buffer is
a) flushed b) written to disk and fsync'ed c) will be readable (even though .finish might not have been called).
Cheers, James
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hi,
I'm writing an app that is using in stream LZ4 to write to a file. I need to guarantee that the file is sync'ed sometimes, I'm using:
Is this enough to guarantee that the lz4 buffer is
a) flushed
b) written to disk and fsync'ed
c) will be readable (even though .finish might not have been called).
Cheers,
James
The text was updated successfully, but these errors were encountered: