mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-01-19 02:48:24 +00:00
use debug option to see operations
This commit is contained in:
parent
2112d99140
commit
6e1ab97988
|
@ -155,7 +155,7 @@ func RunMount2(option *Mount2Options, umask os.FileMode) bool {
|
||||||
Name: "seaweedfs",
|
Name: "seaweedfs",
|
||||||
SingleThreaded: false,
|
SingleThreaded: false,
|
||||||
DisableXAttrs: false,
|
DisableXAttrs: false,
|
||||||
Debug: false, // *option.debug,
|
Debug: *option.debug,
|
||||||
EnableLocks: false,
|
EnableLocks: false,
|
||||||
ExplicitDataCacheControl: false,
|
ExplicitDataCacheControl: false,
|
||||||
DirectMount: true,
|
DirectMount: true,
|
||||||
|
@ -181,7 +181,7 @@ func RunMount2(option *Mount2Options, umask os.FileMode) bool {
|
||||||
}
|
}
|
||||||
fuseMountOptions.Options = append(fuseMountOptions.Options, "daemon_timeout=600")
|
fuseMountOptions.Options = append(fuseMountOptions.Options, "daemon_timeout=600")
|
||||||
fuseMountOptions.Options = append(fuseMountOptions.Options, "noapplexattr")
|
fuseMountOptions.Options = append(fuseMountOptions.Options, "noapplexattr")
|
||||||
fuseMountOptions.Options = append(fuseMountOptions.Options, "novncache")
|
// fuseMountOptions.Options = append(fuseMountOptions.Options, "novncache") // need to test effectiveness
|
||||||
fuseMountOptions.Options = append(fuseMountOptions.Options, "slow_statfs")
|
fuseMountOptions.Options = append(fuseMountOptions.Options, "slow_statfs")
|
||||||
fuseMountOptions.Options = append(fuseMountOptions.Options, "volname="+*option.filer)
|
fuseMountOptions.Options = append(fuseMountOptions.Options, "volname="+*option.filer)
|
||||||
fuseMountOptions.Options = append(fuseMountOptions.Options, fmt.Sprintf("iosize=%d", ioSizeMB*1024*1024))
|
fuseMountOptions.Options = append(fuseMountOptions.Options, fmt.Sprintf("iosize=%d", ioSizeMB*1024*1024))
|
||||||
|
|
Loading…
Reference in a new issue