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

gfcp can be optimized for sparse files #15

Open
nixpanic opened this issue May 10, 2016 · 0 comments
Open

gfcp can be optimized for sparse files #15

nixpanic opened this issue May 10, 2016 · 0 comments

Comments

@nixpanic
Copy link
Member

With GlusterFS 3.8 we have support for SEEK_DATA and SEEK_HOLE with glfs_lseek(). If you want to prevent a dependency or #ifdef constructs, you can detect working support for SEEK_DATA and SEEK_HOLE similar to the probing that QEMU does (scheduled for inclusion in the next QEMU version).

I'm not sure when I have time to look into this, just reporting it now in case someone else wants to send a patch :-)

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

No branches or pull requests

1 participant