mirror of
https://github.com/chrislusf/seaweedfs
synced 2024-07-07 09:37:49 +02:00
clean up
This commit is contained in:
parent
a990cd29cd
commit
b9c2bff931
|
@ -152,7 +152,7 @@ func RunMount2(option *Mount2Options, umask os.FileMode) bool {
|
||||||
Name: "seaweedfs",
|
Name: "seaweedfs",
|
||||||
SingleThreaded: false,
|
SingleThreaded: false,
|
||||||
DisableXAttrs: false,
|
DisableXAttrs: false,
|
||||||
Debug: true,
|
Debug: false,
|
||||||
EnableLocks: false,
|
EnableLocks: false,
|
||||||
ExplicitDataCacheControl: false,
|
ExplicitDataCacheControl: false,
|
||||||
// SyncRead: false, // set to false to enable the FUSE_CAP_ASYNC_READ capability
|
// SyncRead: false, // set to false to enable the FUSE_CAP_ASYNC_READ capability
|
||||||
|
|
|
@ -38,7 +38,7 @@ func newMemoryChunkPages(fh *FileHandle, chunkSize int64) *ChunkedDirtyPages {
|
||||||
func (pages *ChunkedDirtyPages) AddPage(offset int64, data []byte) {
|
func (pages *ChunkedDirtyPages) AddPage(offset int64, data []byte) {
|
||||||
pages.hasWrites = true
|
pages.hasWrites = true
|
||||||
|
|
||||||
glog.V(4).Infof("%v memory AddPage [%d, %d)", pages.fh, offset, offset+int64(len(data)))
|
glog.V(4).Infof("%v memory AddPage [%d, %d)", pages.fh.fh, offset, offset+int64(len(data)))
|
||||||
pages.uploadPipeline.SaveDataAt(data, offset)
|
pages.uploadPipeline.SaveDataAt(data, offset)
|
||||||
|
|
||||||
return
|
return
|
||||||
|
|
Loading…
Reference in a new issue