diff options
| author | chrislu <chris.lu@gmail.com> | 2024-09-04 01:19:14 -0700 |
|---|---|---|
| committer | chrislu <chris.lu@gmail.com> | 2024-09-04 01:19:14 -0700 |
| commit | 7367b976b05bfa69158a60f205dec970c48f50f0 (patch) | |
| tree | b2206ec7b05e34ed95c0255ceb6da5936efdc00b /weed/command/mount_std.go | |
| parent | 66ac82bb8f8a5c5f095387689a503f2bc0edd002 (diff) | |
| download | seaweedfs-7367b976b05bfa69158a60f205dec970c48f50f0.tar.xz seaweedfs-7367b976b05bfa69158a60f205dec970c48f50f0.zip | |
weed mount, weed dav add option to force cache
Diffstat (limited to 'weed/command/mount_std.go')
| -rw-r--r-- | weed/command/mount_std.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/weed/command/mount_std.go b/weed/command/mount_std.go index f85e7386d..4508f520f 100644 --- a/weed/command/mount_std.go +++ b/weed/command/mount_std.go @@ -235,6 +235,7 @@ func RunMount(option *MountOptions, umask os.FileMode) bool { CacheDirForRead: *option.cacheDirForRead, CacheSizeMBForRead: *option.cacheSizeMBForRead, CacheDirForWrite: cacheDirForWrite, + ForceCache: *option.forceCache, DataCenter: *option.dataCenter, Quota: int64(*option.collectionQuota) * 1024 * 1024, MountUid: uid, |
