diff options
| author | chrislu <chris.lu@gmail.com> | 2022-02-14 02:14:26 -0800 |
|---|---|---|
| committer | chrislu <chris.lu@gmail.com> | 2022-02-14 02:14:26 -0800 |
| commit | b9c2bff93181753c9e22738ca81a5d56740f657c (patch) | |
| tree | 32ed3353aa5c15d1a6492086fad9dd55d8a82750 | |
| parent | a990cd29cd0607e9a94e8f800de2254cd5448ffa (diff) | |
| download | seaweedfs-b9c2bff93181753c9e22738ca81a5d56740f657c.tar.xz seaweedfs-b9c2bff93181753c9e22738ca81a5d56740f657c.zip | |
clean up
| -rw-r--r-- | weed/command/mount2_std.go | 2 | ||||
| -rw-r--r-- | weed/mount/dirty_pages_chunked.go | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/weed/command/mount2_std.go b/weed/command/mount2_std.go index 584a72fc1..97cbcfd36 100644 --- a/weed/command/mount2_std.go +++ b/weed/command/mount2_std.go @@ -152,7 +152,7 @@ func RunMount2(option *Mount2Options, umask os.FileMode) bool { Name: "seaweedfs", SingleThreaded: false, DisableXAttrs: false, - Debug: true, + Debug: false, EnableLocks: false, ExplicitDataCacheControl: false, // SyncRead: false, // set to false to enable the FUSE_CAP_ASYNC_READ capability diff --git a/weed/mount/dirty_pages_chunked.go b/weed/mount/dirty_pages_chunked.go index 5ffcff83a..7a9c0afd6 100644 --- a/weed/mount/dirty_pages_chunked.go +++ b/weed/mount/dirty_pages_chunked.go @@ -38,7 +38,7 @@ func newMemoryChunkPages(fh *FileHandle, chunkSize int64) *ChunkedDirtyPages { func (pages *ChunkedDirtyPages) AddPage(offset int64, data []byte) { 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) return |
