Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:gladiac:mailman
uwsgi
uwsgi-2.0.24-update-glusterfs-io-callback-signa...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File uwsgi-2.0.24-update-glusterfs-io-callback-signature.patch of Package uwsgi
From ec7afe03a87210d1e76b5c56101e94f9e4ba175a Mon Sep 17 00:00:00 2001 From: Ralf Ertzinger <ralf@skytale.net> Date: Sat, 10 Feb 2024 18:01:49 +0100 Subject: [PATCH] Update glusterfs io callback function signature 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. --- plugins/glusterfs/glusterfs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/glusterfs/glusterfs.c b/plugins/glusterfs/glusterfs.c index 83428faf3f..c0063f4e58 100644 --- a/plugins/glusterfs/glusterfs.c +++ b/plugins/glusterfs/glusterfs.c @@ -46,7 +46,7 @@ struct uwsgi_glusterfs_async_io { ssize_t rlen; }; -static void uwsgi_glusterfs_read_async_cb(glfs_fd_t *fd, ssize_t rlen, void *data) { +static void uwsgi_glusterfs_read_async_cb(glfs_fd_t *fd, ssize_t rlen, struct glfs_stat *prestat, struct glfs_stat *poststat, void *data) { struct uwsgi_glusterfs_async_io *aio = (struct uwsgi_glusterfs_async_io *) data; #ifdef UWSGI_DEBUG uwsgi_log("[glusterfs-cb] rlen = %d\n", rlen);
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor