-
Notifications
You must be signed in to change notification settings - Fork 4
/
parameters.conf
239 lines (196 loc) · 8.67 KB
/
parameters.conf
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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
# moveonenospc: When enabled, if a write fails with ENOSPC (no space left on device) or EDQUOT (disk quota exceeded),
# the policy selected will run to find a new location for the file.
# An attempt to move the file to that branch will occur (keeping all metadata possible) and if successful,
# the original is unlinked and the write retried.
# Default: false
moveonenospc=true
# dropcacheonclose: When a file is requested to be closed, call posix_fadvise on it first to instruct the kernel
# that we no longer need the data and it can drop its cache.
# Recommended when cache.files=partial|full|auto-full|per-process to limit double caching.
# Default: false
dropcacheonclose=true
# category.create: Sets policy of all FUSE functions in the create category.
# Default: epmfs - Uses "most free space" policy for creating files
# Available values: epmfs, eplfs, ff, lfs, newest, mfs, rand, all
category.create=mfs
# cache.files: File page caching mode.
# Default: libfuse - Enables partial file caching
# Available values: libfuse, off, partial, full, auto-full, per-process
cache.files=partial
# lazy-umount-mountpoint: mergerfs will attempt to "lazy umount" the mountpoint before mounting itself.
# Useful when performing live upgrades of mergerfs.
# Default: false
# lazy-umount-mountpoint=true
# minfreespace: Minimum space value used for creation policies.
# Default: 4G
# Available values: any size (e.g., 1K, 10M, 5G)
# minfreespace=4G
# inodecalc: Selects the inode calculation algorithm.
# Default: hybrid-hash
# Available values: passthrough, path-hash, devino-hash, hybrid-hash
# inodecalc=hybrid-hash
# symlinkify: When enabled and a file is not writable and its mtime or ctime is older than symlinkify_timeout,
# files will be reported as symlinks to the original files.
# Default: false
# Available values: true, false
# symlinkify=false
# nullrw: Turns reads and writes into no-ops. Useful for benchmarking mergerfs.
# Default: false
# Available values: true, false
# nullrw=false
# ignorepponrename: Ignore path preserving on rename.
# Typically rename and link act differently depending on the policy of create.
# Default: false
# Available values: true, false
# ignorepponrename=false
# export-support: Sets a low-level FUSE feature intended to indicate the filesystem can support being exported via NFS.
# Default: true
# Available values: true, false
# export-support=true
# security_capability: If false, return ENOATTR when xattr security.capability is queried.
# Default: true
# Available values: true, false
# security_capability=true
# xattr: Runtime control of xattrs.
# Default: passthrough
# Available values: passthrough, noattr, nosys
# xattr=passthrough
# link_cow: When enabled, if a regular file is opened which has a link count > 1,
# it will copy the file to a temporary file and rename over the original.
# Breaking the link and providing a basic copy-on-write function similar to cow-shell.
# Default: false
# Available values: true, false
# link_cow=false
# statfs: Controls how statfs works.
# Default: base
# Available values: base, full
# statfs=base
# statfs_ignore: Controls how statfs calculations ignore certain branches.
# Default: none
# Available values: none, ro, nc
# statfs_ignore=none
# nfsopenhack: A workaround for exporting mergerfs over NFS.
# Default: off
# Available values: off, git, all
# nfsopenhack=off
# branches-mount-timeout: Number of seconds to wait at startup for branches to be a mount other than the mountpoint's filesystem.
# Default: 0
# Available values: any integer value
# branches-mount-timeout=0
# follow-symlinks: Turns symlinks into what they point to.
# Default: never
# Available values: never, directory, regular, all
# follow-symlinks=never
# link-exdev: When a link fails with EXDEV, optionally create a symlink to the file instead.
# Default: passthrough
# Available values: passthrough, rel-symlink, abs-base-symlink, abs-pool-symlink
# link-exdev=passthrough
# rename-exdev: When a rename fails with EXDEV, optionally move the file to a special directory and symlink to it.
# Default: passthrough
# Available values: passthrough, rel-symlink, abs-symlink
# rename-exdev=passthrough
# readahead: Set readahead (in kilobytes) for mergerfs and branches if greater than 0.
# Default: 0
# Available values: any integer value
# readahead=0
# posix_acl: Enable POSIX ACL support (if supported by kernel and underlying filesystem).
# Default: false
# Available values: true, false
# posix_acl=false
# async_read: Perform reads asynchronously.
# Default: true
# Available values: true, false
# async_read=true
# fuse_msg_size: Set the max number of pages per FUSE message.
# Default: 256
# Available values: 1 to 256
# fuse_msg_size=256
# threads: Number of threads to use.
# When used alone (process-thread-count=-1), it sets the number of threads reading and processing FUSE messages.
# When used together, it sets the number of threads reading from FUSE.
# Default: 0
# Available values: any integer value
# threads=0
# process-thread-count: Enables a separate thread pool to asynchronously process FUSE requests.
# In this mode, read-thread-count refers to the number of threads reading FUSE messages which are dispatched to process threads.
# Default: -1
# Available values: -1 to any integer value
# process-thread-count=-1
# process-thread-queue-depth: Sets the number of requests any single process thread can have queued up at one time.
# Default: 0
# Available values: any integer value
# process-thread-queue-depth=0
# pin-threads: Selects a strategy to pin threads to CPUs.
# Default: unset
# Available values: any valid strategy string
# pin-threads=
# flush-on-close: Flush data cache on file close.
# Mostly for when writeback is enabled or merging network filesystems.
# Default: opened-for-write
# Available values: never, always, opened-for-write
# flush-on-close=opened-for-write
# scheduling-priority: Set mergerfs' scheduling priority.
# Valid values range from -20 to 19. See setpriority man page for more details.
# Default: -10
# Available values: -20 to 19
# scheduling-priority=-10
# fsname: Sets the name of the filesystem as seen in mount, df, etc.
# Default: dynamically generated
# Available values: any string
# fsname=mergerfs
# category.action: Sets policy of all FUSE functions in the action category.
# Default: epall
# Available values: epall, all
# category.action=epall
# category.search: Sets policy of all FUSE functions in the search category.
# Default: ff
# Available values: ff, lfs, newest, rand, all
# category.search=ff
# cache.open: 'open' policy cache timeout in seconds.
# Default: 0
# Available values: any integer value
# cache.open=0
# cache.statfs: 'statfs' cache timeout in seconds.
# Default: 0
# Available values: any integer value
# cache.statfs=0
# cache.attr: File attribute cache timeout in seconds.
# Default: 1
# Available values: any integer value
# cache.attr=1
# cache.entry: File name lookup cache timeout in seconds.
# Default: 1
# Available values: any integer value
# cache.entry=1
# cache.negative_entry: Negative file name lookup cache timeout in seconds.
# Default: 0
# Available values: any integer value
# cache.negative_entry=0
# cache.writeback: Enable kernel writeback caching.
# Default: false
# Available values: true, false
# cache.writeback=false
# cache.symlinks: Cache symlinks (if supported by kernel).
# Default: false
# Available values: true, false
# cache.symlinks=false
# cache.readdir: Cache readdir (if supported by kernel).
# Default: false
# Available values: true, false
# cache.readdir=false
# parallel-direct-writes: Allow the kernel to dispatch multiple, parallel (non-extending) write requests for files
# opened with cache.files=per-process (if the process is not in process-names) or cache.files=off.
# Default: false
# Available values: true, false
# parallel-direct-writes=false
# Deprecated options (for reference only)
# direct_io=false # Default: false - Bypass page cache. Use cache.files=off instead.
# kernel_cache=false # Default: false - Do not invalidate data cache on file open. Use cache.files=full instead.
# auto_cache=false # Default: false - Invalidate data cache if file mtime or size change. Use cache.files=auto-full instead.
# async_read=true # Default: true - Perform reads asynchronously. Use async_read=true instead.
# sync_read=false # Default: false - Perform reads synchronously. Use async_read=false instead.
# splice_read=false # Default: false - Does nothing.
# splice_write=false # Default: false - Does nothing.
# splice_move=false # Default: false - Does nothing.
# allow_other=true # Default: true if running as root - mergerfs v2.35.0 and newer sets this FUSE option automatically if running as root.
# use_ino=true # Default: true - mergerfs should always control inode calculation so this is enabled all the time.