Bug 1305752

Summary: RFE : Load balancing for disperse/replicate volume in pNFS
Product: [Retired] nfs-ganesha Reporter: Jiffin <jthottan>
Component: FSAL_GLUSTERAssignee: Jiffin <jthottan>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: develCC: bugs, kkeithle, ndevos, skoduri
Target Milestone: ---Keywords: FutureFeature, Triaged
Target Release: ---   
Hardware: All   
OS: All   
Whiteboard:
Fixed In Version: nfs-ganesha-2.3 Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-08-09 05:09:36 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 Jiffin 2016-02-09 06:33:46 UTC
Description of problem:

The afr uses gfid based hashing which selects one of the available subvolumes for read operation[1]. If a similar api is written in gfapi, we can perform load balancing at libgfapi layer.



Additional info: 

[1] afr_read_subvol_select_by_policy() in  https://github.com/GlusterFS/glusterfs/blob/master/xlators/cluster/afr/src/afr-common.c

Comment 1 Vijay Bellur 2016-02-09 07:01:35 UTC
REVIEW: http://review.gluster.org/13402 (libgfapi : Provide an api to compute hash based on gfid) posted (#1) for review on master by jiffin tony Thottan (jthottan)

Comment 2 Jiffin 2016-02-19 05:46:02 UTC
Patch got merged in upstream
https://review.gerrithub.io/#/c/263180/