diff options
| author | bingoohuang <bingoo.huang@gmail.com> | 2021-02-18 14:05:51 +0800 |
|---|---|---|
| committer | bingoohuang <bingoo.huang@gmail.com> | 2021-02-18 14:05:51 +0800 |
| commit | 352ac2f2712177d6a9c8220bab73823ff6748581 (patch) | |
| tree | 88b5976b0e9382883ba21a20098c319a8787c002 /weed/filesys/wfs.go | |
| parent | eab6e31d34bb22beeb1ca416596c44b1590075c0 (diff) | |
| parent | c8f56f5712c1efffc46de95a8057ed09c21da2db (diff) | |
| download | seaweedfs-352ac2f2712177d6a9c8220bab73823ff6748581.tar.xz seaweedfs-352ac2f2712177d6a9c8220bab73823ff6748581.zip | |
Merge remote-tracking branch 'origin/master'
Diffstat (limited to 'weed/filesys/wfs.go')
| -rw-r--r-- | weed/filesys/wfs.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/weed/filesys/wfs.go b/weed/filesys/wfs.go index f4e5ac38a..c6d9080a1 100644 --- a/weed/filesys/wfs.go +++ b/weed/filesys/wfs.go @@ -4,6 +4,7 @@ import ( "context" "fmt" "github.com/chrislusf/seaweedfs/weed/filer" + "github.com/chrislusf/seaweedfs/weed/storage/types" "github.com/chrislusf/seaweedfs/weed/wdclient" "math" "os" @@ -34,6 +35,7 @@ type Option struct { Collection string Replication string TtlSec int32 + DiskType types.DiskType ChunkSizeLimit int64 ConcurrentWriters int CacheDir string @@ -194,6 +196,7 @@ func (wfs *WFS) Statfs(ctx context.Context, req *fuse.StatfsRequest, resp *fuse. Collection: wfs.option.Collection, Replication: wfs.option.Replication, Ttl: fmt.Sprintf("%ds", wfs.option.TtlSec), + DiskType: string(wfs.option.DiskType), } glog.V(4).Infof("reading filer stats: %+v", request) |
