glusterfs: update for new API
authorJens Axboe <axboe@kernel.dk>
Thu, 23 May 2019 20:57:03 +0000 (14:57 -0600)
committerJens Axboe <axboe@kernel.dk>
Thu, 23 May 2019 20:57:52 +0000 (14:57 -0600)
commitce4d13ca162df4127ec3b5911553802c53396705
treefd40f41dee5a7128f4c910f21523cca39266e5a8
parentde5ed0e4d398bc9d4576f9b2b82d7686989c27e1
glusterfs: update for new API

Apparently glusterfs just changes their API as they see fit. Add
a configure check for the newer version, which adds pre/post stat
variables in a few random spots.

This should fix compilation with v6.0 of the API.

Fixes: https://github.com/axboe/fio/issues/781
Signed-off-by: Jens Axboe <axboe@kernel.dk>
configure
engines/glusterfs.c
engines/glusterfs_async.c
engines/glusterfs_sync.c