There's already some work made by lidi for these fops at https://review.gluster.org/15200, however it has some issues that need to be addressed. Anyway it might be useful as a reference or a starting point.
REVIEW: https://review.gluster.org/15200 (cluster/ec: Implement FALLOCATE and DISCARD FOP for EC) posted (#3) for review on master by Sunil Kumar Acharya (sheggodu)
REVIEW: https://review.gluster.org/15200 (cluster/ec: Implement FALLOCATE FOP for EC) posted (#4) for review on master by Sunil Kumar Acharya (sheggodu)
REVIEW: https://review.gluster.org/15200 (cluster/ec: Implement FALLOCATE FOP for EC) posted (#5) for review on master by Sunil Kumar Acharya (sheggodu)
REVIEW: https://review.gluster.org/15200 (cluster/ec: Implement FALLOCATE FOP for EC) posted (#6) for review on master by Sunil Kumar Acharya (sheggodu)
REVIEW: https://review.gluster.org/15200 (cluster/ec: Implement FALLOCATE FOP for EC) posted (#7) for review on master by Sunil Kumar Acharya (sheggodu)
REVIEW: https://review.gluster.org/15200 (cluster/ec: Implement FALLOCATE FOP for EC) posted (#8) for review on master by Sunil Kumar Acharya (sheggodu)
REVIEW: https://review.gluster.org/15200 (cluster/ec: Implement FALLOCATE FOP for EC) posted (#9) for review on master by Sunil Kumar Acharya (sheggodu)
REVIEW: https://review.gluster.org/15200 (cluster/ec: Implement FALLOCATE FOP for EC) posted (#10) for review on master by Sunil Kumar Acharya (sheggodu)
REVIEW: https://review.gluster.org/15200 (cluster/ec: Implement FALLOCATE FOP for EC) posted (#11) for review on master by Sunil Kumar Acharya (sheggodu)
REVIEW: https://review.gluster.org/15200 (cluster/ec: Implement FALLOCATE FOP for EC) posted (#12) for review on master by Sunil Kumar Acharya (sheggodu)
REVIEW: https://review.gluster.org/15200 (cluster/ec: Implement FALLOCATE FOP for EC) posted (#13) for review on master by Sunil Kumar Acharya (sheggodu)
REVIEW: https://review.gluster.org/15200 (cluster/ec: Implement FALLOCATE FOP for EC) posted (#14) for review on master by Sunil Kumar Acharya (sheggodu)
REVIEW: https://review.gluster.org/15200 (cluster/ec: Implement FALLOCATE FOP for EC) posted (#15) for review on master by Pranith Kumar Karampuri (pkarampu)
REVIEW: https://review.gluster.org/15200 (cluster/ec: Implement FALLOCATE FOP for EC) posted (#16) for review on master by Pranith Kumar Karampuri (pkarampu)
REVIEW: https://review.gluster.org/15200 (cluster/ec: Implement FALLOCATE FOP for EC) posted (#17) for review on master by Pranith Kumar Karampuri (pkarampu)
REVIEW: https://review.gluster.org/15200 (cluster/ec: Implement FALLOCATE FOP for EC) posted (#18) for review on master by Sunil Kumar Acharya (sheggodu)
REVIEW: https://review.gluster.org/15200 (cluster/ec: Implement FALLOCATE FOP for EC) posted (#19) for review on master by Sunil Kumar Acharya (sheggodu)
REVIEW: https://review.gluster.org/15200 (cluster/ec: Implement FALLOCATE FOP for EC) posted (#20) for review on master by Sunil Kumar Acharya (sheggodu)
REVIEW: https://review.gluster.org/15200 (cluster/ec: Implement FALLOCATE FOP for EC) posted (#21) for review on master by Sunil Kumar Acharya (sheggodu)
REVIEW: https://review.gluster.org/15200 (cluster/ec: Implement FALLOCATE FOP for EC) posted (#22) for review on master by Sunil Kumar Acharya (sheggodu)
REVIEW: https://review.gluster.org/15200 (cluster/ec: Implement FALLOCATE FOP for EC) posted (#23) for review on master by Sunil Kumar Acharya (sheggodu)
REVIEW: https://review.gluster.org/15200 (cluster/ec: Implement FALLOCATE FOP for EC) posted (#24) for review on master by Sunil Kumar Acharya (sheggodu)
COMMIT: https://review.gluster.org/15200 committed in master by Pranith Kumar Karampuri (pkarampu) ------ commit acf8cc3a2283d209337ba9f5da6b03396daac359 Author: Sunil Kumar Acharya <sheggodu> Date: Wed May 17 14:35:41 2017 +0530 cluster/ec: Implement FALLOCATE FOP for EC FALLOCATE file operations is not implemented in the existing EC code. This change set implements it for EC. BUG: 1448293 Change-Id: Id9ed914db984c327c16878a5b2304a0ea461b623 Signed-off-by: Sunil Kumar Acharya <sheggodu> Reviewed-on: https://review.gluster.org/15200 Smoke: Gluster Build System <jenkins.org> NetBSD-regression: NetBSD Build System <jenkins.org> Reviewed-by: Pranith Kumar Karampuri <pkarampu> CentOS-regression: Gluster Build System <jenkins.org>
This bug is getting closed because a release has been made available that should address the reported issue. In case the problem is still not fixed with glusterfs-3.12.0, please open a new bug report. glusterfs-3.12.0 has been announced on the Gluster mailinglists [1], packages for several distributions should become available in the near future. Keep an eye on the Gluster Users mailinglist [2] and the update infrastructure for your distribution. [1] http://lists.gluster.org/pipermail/announce/2017-September/000082.html [2] https://www.gluster.org/pipermail/gluster-users/