mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-12-18 19:10:21 +00:00
mount info cache dir support multi cephfsdriver
This commit is contained in:
parent
1ccbb5b6a5
commit
f3e5f83ee0
@ -39,7 +39,7 @@ func initVolumeMountCache(driverName string, mountCacheDir string, cachePersiste
|
|||||||
|
|
||||||
volumeMountCache.metadataStore = cachePersister
|
volumeMountCache.metadataStore = cachePersister
|
||||||
volumeMountCache.nodeCacheStore.BasePath = mountCacheDir
|
volumeMountCache.nodeCacheStore.BasePath = mountCacheDir
|
||||||
volumeMountCache.nodeCacheStore.CacheDir = ""
|
volumeMountCache.nodeCacheStore.CacheDir = driverName
|
||||||
klog.Infof("mount-cache: name: %s, version: %s, mountCacheDir: %s", driverName, version, mountCacheDir)
|
klog.Infof("mount-cache: name: %s, version: %s, mountCacheDir: %s", driverName, version, mountCacheDir)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user