Bug 1305752 - RFE : Load balancing for disperse/replicate volume in pNFS
Summary: RFE : Load balancing for disperse/replicate volume in pNFS
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: nfs-ganesha
Classification: Retired
Component: FSAL_GLUSTER
Version: devel
Hardware: All
OS: All
medium
medium
Target Milestone: ---
Assignee: Jiffin
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-02-09 06:33 UTC by Jiffin
Modified: 2016-08-09 05:09 UTC (History)
4 users (show)

Fixed In Version: nfs-ganesha-2.3
Clone Of:
Environment:
Last Closed: 2016-08-09 05:09:36 UTC
Embargoed:


Attachments (Terms of Use)

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/


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