Description of problem: We do not set the same flags to anonymous fd that posix uses to open a anonymous fd in the backend. If there are any xlators which rely on these flags for their operation they may not work well. Add proper flags to anonymous fds at the time of their creation.
REVIEW: http://review.gluster.org/10219 (libglusterfs: Even anonymous fds must have fd->flags set) posted (#1) for review on master by Raghavendra Talur (rtalur)
REVIEW: http://review.gluster.org/10219 (libglusterfs: Even anonymous fds must have fd->flags set) posted (#2) for review on master by Raghavendra Talur (rtalur)
REVIEW: http://review.gluster.org/10219 (libglusterfs: Even anonymous fds must have fd->flags set) posted (#3) for review on master by Raghavendra Talur (rtalur)
COMMIT: http://review.gluster.org/10219 committed in master by Raghavendra G (rgowdapp) ------ commit 175f1737fb6fe9450702556b24bf395bac97cef1 Author: Raghavendra Talur <rtalur> Date: Mon Apr 13 17:05:44 2015 +0530 libglusterfs: Even anonymous fds must have fd->flags set We do not set the same flags to anonymous fd that posix uses to open an anonymous fd in the backend. If there are any xlators which rely on these flags for their operation they may not work well. Add proper flags to anonymous fds at the time of their creation and refer to them for subsequent operations. Change-Id: Ia99b7ea7d38839f099c7b4aae3c7ead123bc8c67 BUG: 1211221 Signed-off-by: Raghavendra Talur <rtalur> Reviewed-on: http://review.gluster.org/10219 Tested-by: NetBSD Build System <jenkins.org> Reviewed-by: soumya k <skoduri> Reviewed-by: Poornima G <pgurusid> Tested-by: Gluster Build System <jenkins.com> Reviewed-by: Rajesh Joseph <rjoseph> Reviewed-by: Niels de Vos <ndevos> Reviewed-by: Raghavendra Bhat <raghavendra> Reviewed-by: Raghavendra G <rgowdapp>
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.8.0, please open a new bug report. glusterfs-3.8.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://blog.gluster.org/2016/06/glusterfs-3-8-released/ [2] http://thread.gmane.org/gmane.comp.file-systems.gluster.user