enhance:split metacache and datacache.

Signed-off-by: tianjiongzhang <236556116@qq.com>
This commit is contained in:
tianjiongzhang 2022-07-27 10:24:22 +08:00 committed by leonrayang
parent 560516a8df
commit 1396452207

View File

@ -160,9 +160,6 @@ func NewSuper(opt *proto.MountOptions) (s *Super, err error) {
s.bcacheDir = s.bcacheDir + "/"
}
}
if !(opt.MaxStreamerLimit > 0 && opt.EnableBcache) {
opt.EnableBcache = false
}
s.volType = opt.VolType
s.ebsEndpoint = opt.EbsEndpoint