block/gluster: add support for SEEK_DATA/SEEK_HOLE
commit947eb2030eef73b7a66167a6244b11eeb4f109ff
authorNiels de Vos <ndevos@redhat.com>
Thu, 10 Mar 2016 18:38:00 +0000 (10 19:38 +0100)
committerJeff Cody <jcody@redhat.com>
Wed, 29 Jun 2016 02:52:45 +0000 (28 22:52 -0400)
tree0ad754f08623c6756ce7b3340f2c1a547e5bf139
parentd7f30403576f04f1f3a5fb5a1d18cba8dfa7a6d2
block/gluster: add support for SEEK_DATA/SEEK_HOLE

GlusterFS 3.8 contains support for SEEK_DATA and SEEK_HOLE. This makes
it possible to detect sparse areas in files.

Signed-off-by: Niels de Vos <ndevos@redhat.com>
Reviewed-by: Jeff Cody <jcody@redhat.com>
block/gluster.c