block/gluster: limit the transfer size to 512 MiB
commitde23e72bb7515888fdea2a58c58a2e02370123bd
authorStefano Garzarella <sgarzare@redhat.com>
Thu, 28 Mar 2019 10:52:27 +0000 (28 11:52 +0100)
committerKevin Wolf <kwolf@redhat.com>
Tue, 2 Apr 2019 10:04:44 +0000 (2 12:04 +0200)
treeb168911d6c73e112c6191074195293c970dbfe9a
parenta3d6ae2299eaab1bced05551d0a0abfbcd9d08d0
block/gluster: limit the transfer size to 512 MiB

Several versions of GlusterFS (3.12? -> 6.0.1) fail when the
transfer size is greater or equal to 1024 MiB, so we are
limiting the transfer size to 512 MiB to avoid this rare issue.

Buglink: https://bugzilla.redhat.com/show_bug.cgi?id=1691320
Signed-off-by: Stefano Garzarella <sgarzare@redhat.com>
Reviewed-by: Niels de Vos <ndevos@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
block/gluster.c