aboutsummaryrefslogtreecommitdiff
path: root/weed/command/fuse.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/fuse.go
parentb05ab1e0926a675c2da76caeab2e83971145f294 (diff)
downloadseaweedfs-6c7fa567d4b94790f213d0546b365a4e989a0e3d.tar.xz
seaweedfs-6c7fa567d4b94790f213d0546b365a4e989a0e3d.zip
add separate cache directory for write buffers
Diffstat (limited to 'weed/command/fuse.go')
-rw-r--r--weed/command/fuse.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/weed/command/fuse.go b/weed/command/fuse.go
index 5beeb3b1f..23055c84d 100644
--- a/weed/command/fuse.go
+++ b/weed/command/fuse.go
@@ -153,6 +153,8 @@ func runFuse(cmd *Command, args []string) bool {
} else {
panic(fmt.Errorf("cacheCapacityMB: %s", err))
}
+ case "cacheDirWrite":
+ mountOptions.cacheDirWrite = &parameter.value
case "dataCenter":
mountOptions.dataCenter = &parameter.value
case "allowOthers":