Bug 1608175 - Skip hash checks in dht_readdirp_cbk if dht has a single child subvol.
Summary: Skip hash checks in dht_readdirp_cbk if dht has a single child subvol.
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: GlusterFS
Classification: Community
Component: distribute
Version: mainline
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Nithya Balachandran
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-07-25 06:17 UTC by Nithya Balachandran
Modified: 2018-10-23 15:15 UTC (History)
1 user (show)

Fixed In Version: glusterfs-5.0
Clone Of:
Environment:
Last Closed: 2018-10-23 15:15:30 UTC
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Embargoed:


Attachments (Terms of Use)

Description Nithya Balachandran 2018-07-25 06:17:52 UTC
Description of problem:

dht_readdirp_cbk checks to see if a directory entry was returned from the hashed subvol before returning it to the client. This is not required in case of a 1xn volume.


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


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 1 Worker Ant 2018-07-27 09:58:23 UTC
REVIEW: https://review.gluster.org/20578 (cluster/dht: optimize readdir for 1xn vols) posted (#1) for review on master by N Balachandran

Comment 2 Worker Ant 2018-09-10 10:50:22 UTC
COMMIT: https://review.gluster.org/20578 committed in master by "N Balachandran" <nbalacha> with a commit message- cluster/dht: optimize readdir for 1xn vols

Skip the hashed subvol check for volumes with
distribute count of 1.

Change-Id: I5703508b54a17c49a217c8a8e09884980705953a
fixes: bz#1608175
Signed-off-by: N Balachandran <nbalacha>

Comment 3 Shyamsundar 2018-10-23 15:15:30 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-5.0, please open a new bug report.

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


Note You need to log in before you can comment on or make changes to this bug.