|
@ -169,16 +169,16 @@ func RunMount(option *MountOptions, umask os.FileMode) bool { |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
seaweedFileSystem := filesys.NewSeaweedFileSystem(&filesys.Option{ |
|
|
seaweedFileSystem := filesys.NewSeaweedFileSystem(&filesys.Option{ |
|
|
MountDirectory: dir, |
|
|
|
|
|
FilerAddress: filer, |
|
|
|
|
|
FilerGrpcAddress: filerGrpcAddress, |
|
|
|
|
|
GrpcDialOption: grpcDialOption, |
|
|
|
|
|
FilerMountRootPath: mountRoot, |
|
|
|
|
|
Collection: *option.collection, |
|
|
|
|
|
Replication: *option.replication, |
|
|
|
|
|
TtlSec: int32(*option.ttlSec), |
|
|
|
|
|
ChunkSizeLimit: int64(chunkSizeLimitMB) * 1024 * 1024, |
|
|
|
|
|
ConcurrentWriters: *option.concurrentWriters, |
|
|
|
|
|
|
|
|
MountDirectory: dir, |
|
|
|
|
|
FilerAddress: filer, |
|
|
|
|
|
FilerGrpcAddress: filerGrpcAddress, |
|
|
|
|
|
GrpcDialOption: grpcDialOption, |
|
|
|
|
|
FilerMountRootPath: mountRoot, |
|
|
|
|
|
Collection: *option.collection, |
|
|
|
|
|
Replication: *option.replication, |
|
|
|
|
|
TtlSec: int32(*option.ttlSec), |
|
|
|
|
|
ChunkSizeLimit: int64(chunkSizeLimitMB) * 1024 * 1024, |
|
|
|
|
|
ConcurrentWriters: *option.concurrentWriters, |
|
|
CacheDir: *option.cacheDir, |
|
|
CacheDir: *option.cacheDir, |
|
|
CacheSizeMB: *option.cacheSizeMB, |
|
|
CacheSizeMB: *option.cacheSizeMB, |
|
|
DataCenter: *option.dataCenter, |
|
|
DataCenter: *option.dataCenter, |
|
|