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

Update glusterfs io callback function signature #2605

Merged
merged 1 commit into from
Feb 10, 2024

Conversation

Lalufu
Copy link
Contributor

@Lalufu Lalufu commented Feb 10, 2024

Starting with glusterfs 6.0, the IO callback function takes two additional parameters for stats structs.

Ideally there'd be a way to detect which API version we're building against, but nothing convenient seems to exist.

Starting with glusterfs 6.0, the IO callback function takes two
additional parameters for stats structs.

Ideally there'd be a way to detect which API version we're building
against, but nothing convenient seems to exist.
@Lalufu
Copy link
Contributor Author

Lalufu commented Feb 10, 2024

I'm not aware what the distribution of glusterfs versions across distributions is, but even CentOS7 (which will be end of life in a few months) came with 6.0.

@Lalufu
Copy link
Contributor Author

Lalufu commented Feb 10, 2024

I'm also pretty sure that this has never worked properly if the library version was 6.0 or higher, which might be an indication on how many people use the glusterfs plugin.

@xrmx xrmx merged commit ee46b79 into unbit:master Feb 10, 2024
28 checks passed
@xrmx
Copy link
Collaborator

xrmx commented Feb 10, 2024

Thanks!

I'm also pretty sure that this has never worked properly if the library version was 6.0 or higher, which might be an indication on how many people use the glusterfs plugin.

Indeed

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

Successfully merging this pull request may close these issues.

2 participants