blob: 2fcc04104e82576aa4d1f3d47a1eb299dfc440df (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
volume nwtnhqfarm24.brick
type protocol/client
option transport-type tcp/client
option remote-host 127.0.0.1
option remote-port 9326
option remote-subvolume brick
end-volume
volume grnlfarm24.brick
type protocol/client
option transport-type tcp/client
option remote-host 127.0.0.1
option remote-port 9326
option remote-subvolume brick
end-volume
volume afr24
type cluster/afr
subvolumes nwtnhqfarm24.brick grnlfarm24.brick
end-volume
## Add writeback feature
volume write-behind_afr24
type performance/write-behind
option cache-size 3MB
option flush-behind on
subvolumes afr24
end-volume
### Add IO-Cache feature
volume iocache_afr24
type performance/io-cache
option cache-size 64MB # default is 32MB
option page-size 1MB #128KB is default option
option force-revalidate-timeout 2 # default is 1
subvolumes write-behind_afr24
end-volume
### Add readahead feature
volume readahead_afr24
type performance/read-ahead
option page-count 16
subvolumes iocache_afr24
end-volume
|