Gluster 6 is currently available as release candidate. There have been a few changes to libgfapi.so that need to be adapted by consuming projects like QEMU. Fedora Rawhide already contains glusterfs-6.0-RC0, and this prevents rebuilds of QEMU there (https://bugzilla.redhat.com/1684298).
The following two changes should be sufficient to consume Gluster 6 once it is released. These have been tested on CentOS-7 with Gluster 5 and Gluster 6 (minimal manual qemu-img tests only). This v2 post contains changes suggested by Daniel P. Berrangé and Kevin Wolf. Thanks! Cheers, Niels Niels de Vos (2): block/gluster: Handle changed glfs_ftruncate signature gluster: the glfs_io_cbk callback function pointer adds pre/post stat args block/gluster.c | 17 ++++++++++++++--- configure | 42 ++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 56 insertions(+), 3 deletions(-) -- 2.20.1