On 06/08/2015 11:51 AM, Mathieu Chateau
wrote:
Lookups have to be sent to both bricks because AFR uses the response to determine if there is a stale copy etc (and then serve from the good copy). For reads, if a client is also mounted on the same machine as the brick, reads will be served from that brick automatically. You can also use the cluster.read-subvolume option to explicitly force the client to read from a brick: `gluster volume set help` <snip> Option: cluster.read-subvolume Default Value: (null) Description: inode-read fops happen only on one of the bricks in replicate. Afr will prefer the one specified using this option if it is not stale. Option value must be one of the xlator names of the children. Ex: <volname>-client-0 till <volname>-client-<number-of-bricks - 1> </snip>
|
_______________________________________________ Gluster-users mailing list Gluster-users@xxxxxxxxxxx http://www.gluster.org/mailman/listinfo/gluster-users