Bug 1563513

Summary: Redundant synchronization in rename codepath for a single subvolume DHT
Product: [Community] GlusterFS Reporter: Raghavendra G <rgowdapp>
Component: distributeAssignee: bugs <bugs>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 3.12CC: bugs, srangana
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1563511 Environment:
Last Closed: 2018-10-23 14:13:58 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: 1563511, 1572087    
Bug Blocks:    

Description Raghavendra G 2018-04-04 04:37:42 UTC
+++ This bug was initially created as a clone of Bug #1563511 +++

Description of problem:
No synchronization is needed for a single subvolume DHT in most of the fops and DHT can act as pass through. One important codepath is rename as synchronization cost is high.

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

--- Additional comment from Worker Ant on 2018-04-04 00:37:04 EDT ---

REVIEW: https://review.gluster.org/19817 (cluster/dht: act as passthrough for renames on single child DHT) posted (#1) for review on master by Raghavendra G

Comment 1 Worker Ant 2018-07-05 05:54:35 UTC
COMMIT: https://review.gluster.org/19818 committed in release-3.12 by "jiffin tony Thottan" <jthottan> with a commit message- cluster/dht: act as passthrough for renames on single child DHT

Various synchronization present in dht_rename while handling
directories and files is necessary only if we have more than only one
child.


Change-Id: Ie21ad419125504ca2f391b1ae2e5c1d166fee247
fixes: bz#1563513
Signed-off-by: Raghavendra G <rgowdapp>

Comment 2 Shyamsundar 2018-10-23 14:13:58 UTC
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.12, please open a new bug report.

glusterfs-3.12.12 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] https://lists.gluster.org/pipermail/announce/2018-July/000105.html
[2] https://www.gluster.org/pipermail/gluster-users/