diff options
| author | Jeff Cody | 2016-10-07 23:48:12 +0200 |
|---|---|---|
| committer | Jeff Cody | 2016-11-01 12:55:57 +0100 |
| commit | d9b789745b88df367674e45c55df29e9c7de8d8a (patch) | |
| tree | 08460bc5df5f24b4fba857c4b2ce9a5b9f51b73c /include/exec/exec-all.h | |
| parent | rbd: make the code more readable (diff) | |
| download | qemu-d9b789745b88df367674e45c55df29e9c7de8d8a.tar.gz qemu-d9b789745b88df367674e45c55df29e9c7de8d8a.tar.xz qemu-d9b789745b88df367674e45c55df29e9c7de8d8a.zip | |
block: add gluster ifdef guard checks for SEEK_DATA/SEEK_HOLE support
Add checks to see if the system compiling QEMU has support for
SEEK_HOLE/SEEK_DATA. If the system does not, we will flag that seek
data is unsupported in gluster.
Note: this is not a check on whether the gluster server itself supports
SEEK_DATA (that is already done during runtime), but rather if the
compilation environment supports SEEK_DATA.
Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Jeff Cody <jcody@redhat.com>
Tested-by: Eric Blake <eblake@redhat.com>
Message-id: 00370bce5c98140d6c56ad5145635ec6551265cc.1475876377.git.jcody@redhat.com
Signed-off-by: Jeff Cody <jcody@redhat.com>
Diffstat (limited to 'include/exec/exec-all.h')
0 files changed, 0 insertions, 0 deletions
