Description of problem:
When posix xlator is compiled on a platform that doesn't support SEEK_DATA/SEEK_HOLE options for a seek operation, the brick process crashes when the client tries to use it.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
REVIEW: https://review.gluster.org/20625 (posix: prevent crash when SEEK_DATA/HOLE is not supported) posted (#1) for review on master by Xavi Hernandez
COMMIT: https://review.gluster.org/20625 committed in master by "Shyamsundar Ranganathan" <email@example.com> with a commit message- posix: prevent crash when SEEK_DATA/HOLE is not supported
Instead of not defining the 'seek' fop when it's not supported on the
compilation platform, we simply return EINVAL when it's used.
Signed-off-by: Xavi Hernandez <firstname.lastname@example.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-5.0, please open a new bug report.
glusterfs-5.0 has been announced on the Gluster mailinglists , packages for several distributions should become available in the near future. Keep an eye on the Gluster Users mailinglist  and the update infrastructure for your distribution.
*** Bug 1658327 has been marked as a duplicate of this bug. ***