Re: [Qemu-devel] [PATCH v2] block/gluster: defend on legacy ftruncate api use

2018-07-26 Thread Eric Blake
On 07/26/2018 04:19 AM, Niels de Vos wrote: From: Prasanna Kumar Kalever When sending a v2, it's best to start a new thread instead of in-reply-to v1, so that the automated tooling spots it easier. Subject line is awkward, may I suggest: block/gluster: Handle changed glfs_ftruncate signatu

[Qemu-devel] [PATCH v2] block/gluster: defend on legacy ftruncate api use

2018-07-26 Thread Niels de Vos
From: Prasanna Kumar Kalever New versions of Glusters libgfapi.so have an updated glfs_ftruncate() function that returns additional 'struct stat' structures to enable advanced caching of attributes. This is useful for file servers, not so much for QEMU. Never the less, the API has changed and nee