Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.
Bug 1509647 - rpc: optimize fop program lookup
Summary: rpc: optimize fop program lookup
Alias: None
Product: GlusterFS
Classification: Community
Component: rpc
Version: mainline
Hardware: Unspecified
OS: Unspecified
Target Milestone: ---
Assignee: Milind Changire
QA Contact:
Depends On:
TreeView+ depends on / blocked
Reported: 2017-11-05 12:21 UTC by Milind Changire
Modified: 2018-03-15 11:20 UTC (History)
2 users (show)

Fixed In Version: glusterfs-4.0.0
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Last Closed: 2018-03-15 11:20:03 UTC
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:

Attachments (Terms of Use)

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: (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: 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 <>

Comment 3 Worker Ant 2017-11-07 11:26:27 UTC
REVIEW: (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.


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