From f3e5f83ee06a96d304b3ae15ed6250e9f44fdd18 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E6=80=80=E5=AE=97?= Date: Fri, 29 Mar 2019 16:13:48 +0800 Subject: [PATCH] mount info cache dir support multi cephfsdriver --- pkg/cephfs/mountcache.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/cephfs/mountcache.go b/pkg/cephfs/mountcache.go index fbc24df54..5a5ade560 100644 --- a/pkg/cephfs/mountcache.go +++ b/pkg/cephfs/mountcache.go @@ -39,7 +39,7 @@ func initVolumeMountCache(driverName string, mountCacheDir string, cachePersiste volumeMountCache.metadataStore = cachePersister volumeMountCache.nodeCacheStore.BasePath = mountCacheDir - volumeMountCache.nodeCacheStore.CacheDir = "" + volumeMountCache.nodeCacheStore.CacheDir = driverName klog.Infof("mount-cache: name: %s, version: %s, mountCacheDir: %s", driverName, version, mountCacheDir) }