Bug 990410
Summary: | File rename creates a new file with same name on windows client | ||
---|---|---|---|
Product: | [Community] GlusterFS | Reporter: | Raghavendra Talur <rtalur> |
Component: | gluster-smb | Assignee: | Raghavendra Talur <rtalur> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | |
Severity: | medium | Docs Contact: | |
Priority: | high | ||
Version: | pre-release | CC: | gluster-bugs, sdharane, spalai, surs, vagarwal |
Target Milestone: | --- | Keywords: | TestBlocker |
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | glusterfs-3.5.0 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | 981318 | Environment: | |
Last Closed: | 2014-04-17 11:44:44 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | 981318 | ||
Bug Blocks: | 956495 |
Comment 1
Anand Avati
2013-07-31 06:59:17 UTC
REVIEW: http://review.gluster.org/5447 (gfapi: perform open() on pre-existing inode in glfs_creat()) posted (#1) for review on master by Anand Avati (avati) COMMIT: http://review.gluster.org/5447 committed in master by Anand Avati (avati) ------ commit dfedfec3593ca0fc026d8a094916824e1b90e60b Author: Anand Avati <avati> Date: Mon Jul 22 10:02:34 2013 -0700 gfapi: perform open() on pre-existing inode in glfs_creat() Performing syncop_create() on a pre-existing file can result in opening the linkfile if DHT has a linkfile for the file. This is because dht_create() will perform the op on the hashed_subvol() and overwrite the layout in dht_create_cbk. Change-Id: I7a0db56921ec9fc3e278e0418db3b967f81e5598 BUG: 990410 Signed-off-by: Anand Avati <avati> Reviewed-on: http://review.gluster.org/5447 Reviewed-by: Raghavendra Talur <rtalur> Tested-by: Raghavendra Talur <rtalur> Tested-by: Gluster Build System <jenkins.com> COMMIT: http://review.gluster.org/5440 committed in master by Anand Avati (avati) ------ commit 394055e31f3c90701336c84aafa7d3ab1e313c65 Author: Anand Avati <avati> Date: Mon Jul 22 01:26:43 2013 -0700 dht: make linkfile creation mode explicitly get set Because of posix default_acl on parent directory, the mode of linkfile can get masked with the mode in the default acl. This breaks DHT integrity. So let the mode get explicitly reset after mknod(). Change-Id: Ia7328e1ee7b4430bda308f9da293dba78405e081 BUG: 990410 Signed-off-by: Anand Avati <avati> Reviewed-on: http://review.gluster.org/5440 Reviewed-by: Amar Tumballi <amarts> Tested-by: Gluster Build System <jenkins.com> Reviewed-by: Raghavendra Talur <rtalur> REVIEW: http://review.gluster.org/5884 (gfapi: perform open() on pre-existing inode in glfs_creat()) posted (#1) for review on release-3.4 by Anand Avati (avati) REVIEW: http://review.gluster.org/5884 (gfapi: perform open() on pre-existing inode in glfs_creat()) posted (#2) for review on release-3.4 by Anand Avati (avati) COMMIT: http://review.gluster.org/5884 committed in release-3.4 by Vijay Bellur (vbellur) ------ commit 2cd2532e149847771319ad56b8b745f0f38c0bd4 Author: Anand Avati <avati> Date: Mon Jul 22 10:02:34 2013 -0700 gfapi: perform open() on pre-existing inode in glfs_creat() Performing syncop_create() on a pre-existing file can result in opening the linkfile if DHT has a linkfile for the file. This is because dht_create() will perform the op on the hashed_subvol() and overwrite the layout in dht_create_cbk. Change-Id: I7a0db56921ec9fc3e278e0418db3b967f81e5598 BUG: 990410 Signed-off-by: Anand Avati <avati> Reviewed-on: http://review.gluster.org/5884 Tested-by: Gluster Build System <jenkins.com> Reviewed-by: Vijay Bellur <vbellur> 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.5.0, please reopen this bug report. glusterfs-3.5.0 has been announced on the Gluster Developers mailinglist [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://thread.gmane.org/gmane.comp.file-systems.gluster.devel/6137 [2] http://thread.gmane.org/gmane.comp.file-systems.gluster.user |