Added forcecephkernelclient as startup parameter to force enabling ceph

Signed-off-by: Stefan Haas <shaas@suse.com>
This commit is contained in:
Stefan Haas
2019-10-10 12:15:44 +02:00
committed by mergify[bot]
parent 50268d5947
commit 6a2717ce20
5 changed files with 31 additions and 20 deletions

View File

@ -63,6 +63,7 @@ func init() {
// cephfs related flags
flag.StringVar(&conf.MountCacheDir, "mountcachedir", "", "mount info cache save dir")
flag.BoolVar(&conf.ForceKernelCephFS, "forcecephkernelclient", false, "enable Ceph Kernel clients on kernel < 4.17 which support quotas")
// liveness/grpc metrics related flags
flag.IntVar(&conf.MetricsPort, "metricsport", 8080, "TCP port for liveness/grpc metrics requests")