aboutsummaryrefslogtreecommitdiff
path: root/weed/filesys/wfs.go
diff options
context:
space:
mode:
authorChris Lu <chris.lu@gmail.com>2019-02-14 07:07:38 -0800
committerChris Lu <chris.lu@gmail.com>2019-02-14 07:07:38 -0800
commita3b0e39b06dcc284ff255d9c2a3c1f55c05ad19c (patch)
treecd3bf49afaec44a879bf82f96e72909eebf78b19 /weed/filesys/wfs.go
parent215cd27b37d504aca255a54283e77c8cff6692ab (diff)
downloadseaweedfs-a3b0e39b06dcc284ff255d9c2a3c1f55c05ad19c.tar.xz
seaweedfs-a3b0e39b06dcc284ff255d9c2a3c1f55c05ad19c.zip
weed mount deletion always goes to weed filer
Diffstat (limited to 'weed/filesys/wfs.go')
-rw-r--r--weed/filesys/wfs.go5
1 files changed, 0 insertions, 5 deletions
diff --git a/weed/filesys/wfs.go b/weed/filesys/wfs.go
index 969514a06..6778d7b31 100644
--- a/weed/filesys/wfs.go
+++ b/weed/filesys/wfs.go
@@ -46,8 +46,6 @@ type WFS struct {
pathToHandleLock sync.Mutex
bufPool sync.Pool
- fileIdsDeletionChan chan []string
-
stats statsCache
}
type statsCache struct {
@@ -65,11 +63,8 @@ func NewSeaweedFileSystem(option *Option) *WFS {
return make([]byte, option.ChunkSizeLimit)
},
},
- fileIdsDeletionChan: make(chan []string, 32),
}
- go wfs.loopProcessingDeletion()
-
return wfs
}