aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorchrislu <chris.lu@gmail.com>2022-02-12 22:45:07 -0800
committerchrislu <chris.lu@gmail.com>2022-02-12 22:45:07 -0800
commit5c48c23235e33e1b800c68fce1e07e34c89ac8c6 (patch)
treee8c91c53833a2be2bcd36b92d62f0f881a32b383
parent7cfbf1e85fb407751038f750ecd156742ab13359 (diff)
downloadseaweedfs-5c48c23235e33e1b800c68fce1e07e34c89ac8c6.tar.xz
seaweedfs-5c48c23235e33e1b800c68fce1e07e34c89ac8c6.zip
remove println
-rw-r--r--weed/mount/weedfs_attr.go1
-rw-r--r--weed/mount/weedfs_dir_lookup.go4
-rw-r--r--weed/mount/weedfs_dir_read.go3
3 files changed, 0 insertions, 8 deletions
diff --git a/weed/mount/weedfs_attr.go b/weed/mount/weedfs_attr.go
index ba0b9a9ff..cbc07a914 100644
--- a/weed/mount/weedfs_attr.go
+++ b/weed/mount/weedfs_attr.go
@@ -10,7 +10,6 @@ import (
)
func (wfs *WFS) GetAttr(cancel <-chan struct{}, input *fuse.GetAttrIn, out *fuse.AttrOut) (code fuse.Status) {
- println("input node id", input.NodeId)
if input.NodeId == 1 {
wfs.setRootAttr(out)
return fuse.OK
diff --git a/weed/mount/weedfs_dir_lookup.go b/weed/mount/weedfs_dir_lookup.go
index 672ba9711..b74948f65 100644
--- a/weed/mount/weedfs_dir_lookup.go
+++ b/weed/mount/weedfs_dir_lookup.go
@@ -18,8 +18,6 @@ func (wfs *WFS) Lookup(cancel <-chan struct{}, header *fuse.InHeader, name strin
dirPath := wfs.inodeToPath.GetPath(header.NodeId)
- println("lookup", name, "dir inode", header.NodeId)
-
fullFilePath := dirPath.Child(name)
visitErr := meta_cache.EnsureVisited(wfs.metaCache, wfs, dirPath)
@@ -50,8 +48,6 @@ func (wfs *WFS) Lookup(cancel <-chan struct{}, header *fuse.InHeader, name strin
inode := wfs.inodeToPath.GetInode(fullFilePath)
- println("found", name, "inode", inode)
-
wfs.outputEntry(out, inode, localEntry)
return fuse.OK
diff --git a/weed/mount/weedfs_dir_read.go b/weed/mount/weedfs_dir_read.go
index bae6a18a2..40e164fc9 100644
--- a/weed/mount/weedfs_dir_read.go
+++ b/weed/mount/weedfs_dir_read.go
@@ -36,8 +36,6 @@ func (wfs *WFS) ReadDirPlus(cancel <-chan struct{}, input *fuse.ReadIn, out *fus
func (wfs *WFS) doReadDirectory(input *fuse.ReadIn, out *fuse.DirEntryList, isPlusMode bool) fuse.Status {
dirPath := wfs.inodeToPath.GetPath(input.NodeId)
- println("input size", input.Size, "offset", input.Offset, "pid", input.Caller.Pid)
-
var counter uint64
var dirEntry fuse.DirEntry
if input.Offset == 0 {
@@ -64,7 +62,6 @@ func (wfs *WFS) doReadDirectory(input *fuse.ReadIn, out *fuse.DirEntryList, isPl
}
dirEntry.Name = entry.Name()
inode := wfs.inodeToPath.GetInode(dirPath.Child(dirEntry.Name))
- println("entry", dirEntry.Name, "inode", inode)
dirEntry.Ino = inode
dirEntry.Mode = toSystemMode(entry.Mode)
if !isPlusMode {