Bug 1509647

Summary: rpc: optimize fop program lookup
Product: [Community] GlusterFS Reporter: Milind Changire <mchangir>
Component: rpcAssignee: Milind Changire <mchangir>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: mainlineCC: bugs, nbalacha
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: glusterfs-4.0.0 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-03-15 11:20:03 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:

Description Milind Changire 2017-11-05 12:21:27 UTC
Description of problem:
Sine FOPs are the most frequent use case, ensure that the FOP program is first in program list so that there's less wasted time for searching the program.

Comment 1 Worker Ant 2017-11-05 12:25:49 UTC
REVIEW: https://review.gluster.org/18547 (rpc: optimize fop program lookup) posted (#3) for review on master by Milind Changire

Comment 2 Worker Ant 2017-11-06 16:47:06 UTC
COMMIT: https://review.gluster.org/18547 committed in master by  

------------- rpc: optimize fop program lookup

Ensure that the fop program is the first in the program list
so that there's minimum amount of time spent to search the
program for the most frequently needed use case.

Change-Id: I45c3dcdbf39ec90ba39d914432d13a2ace00a5ee
BUG: 1509647
Signed-off-by: Milind Changire <mchangir>

Comment 3 Worker Ant 2017-11-07 11:26:27 UTC
REVIEW: https://review.gluster.org/18684 (protocol/server: pass correct args to rpcsvc_program_register) posted (#1) for review on master by Raghavendra G

Comment 4 Shyamsundar 2018-03-15 11:20:03 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-4.0.0, please open a new bug report.

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