diff options
author | Emmanuel Dreyfus <manu@netbsd.org> | 2014-09-25 15:28:03 +0200 |
---|---|---|
committer | Vijay Bellur <vbellur@redhat.com> | 2014-09-26 03:31:24 -0700 |
commit | 8e57090f7da4027c46176c9786372a00e22df69d (patch) | |
tree | 16bcbd9ede1c727fe8e5960af1a1ea298da42475 /xlators/features/gfid-access | |
parent | 5123949bebc3520ed3d64986420c139801013c60 (diff) |
Do not forbid fallocate on non Linux systems
Linux fallocate() differs from posix_fallocate() by
an extra flag that can have the FALLOC_FL_KEEP_SIZE value;
Do not test FALLOC_FL_KEEP_SIZE existence to enable fallocate()
in posix xlator, as sys_fallocate() in libglusterfs provides
support for both implementations.
BUG: 1129939
Change-Id: Idf41a0396028a15e81281791bf6912d7fd674e3f
Signed-off-by: Emmanuel Dreyfus <manu@netbsd.org>
Reviewed-on: http://review.gluster.org/8856
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Vijay Bellur <vbellur@redhat.com>
Diffstat (limited to 'xlators/features/gfid-access')
0 files changed, 0 insertions, 0 deletions