perrynzhou

专注于系统组件研发

0%

glusterfs cluster.read-hash-mode的作用

1.官方解释

1
2
3
4
5
6
7
8
[root@centos-linux ~]$ gluster volume set help|grep read-hash-mode -A7
Option: cluster.read-hash-mode
Default Value: 1
Description: inode-read fops happen only on one of the bricks in replicate. AFR will prefer the one computed using the method specified using this option.
0 = first readable child of AFR, starting from 1st child.
1 = hash by GFID of file (all clients use same subvolume).
2 = hash by GFID of file and client PID.
3 = brick having the least outstanding read requests.