aboutsummaryrefslogtreecommitdiff
path: root/weed/command/mount_std.go
diff options
context:
space:
mode:
authorchrislu <chris.lu@gmail.com>2023-08-16 23:39:21 -0700
committerchrislu <chris.lu@gmail.com>2023-08-16 23:39:21 -0700
commit6c7fa567d4b94790f213d0546b365a4e989a0e3d (patch)
treedac7877f97a0efbcb6162c87c40e2265aa600f2c /weed/command/mount_std.go
parentb05ab1e0926a675c2da76caeab2e83971145f294 (diff)
downloadseaweedfs-6c7fa567d4b94790f213d0546b365a4e989a0e3d.tar.xz
seaweedfs-6c7fa567d4b94790f213d0546b365a4e989a0e3d.zip
add separate cache directory for write buffers
Diffstat (limited to 'weed/command/mount_std.go')
-rw-r--r--weed/command/mount_std.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/weed/command/mount_std.go b/weed/command/mount_std.go
index dff53f25e..86c3e521e 100644
--- a/weed/command/mount_std.go
+++ b/weed/command/mount_std.go
@@ -227,6 +227,7 @@ func RunMount(option *MountOptions, umask os.FileMode) bool {
ConcurrentWriters: *option.concurrentWriters,
CacheDir: *option.cacheDir,
CacheSizeMB: *option.cacheSizeMB,
+ CacheDirWrite: *option.cacheDirWrite,
DataCenter: *option.dataCenter,
Quota: int64(*option.collectionQuota) * 1024 * 1024,
MountUid: uid,