util: add support to configure mirror daemon count

Currently we are assuming that only one
rbd mirror daemon running on the ceph cluster
but that is not true for many cases and it
can be more that one, this PR make this as a
configurable parameter.

fixes: #4312

Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
This commit is contained in:
Madhu Rajanna
2024-04-18 14:02:29 +02:00
committed by mergify[bot]
parent 51d1d46dd2
commit 4c2d2caf9f
6 changed files with 116 additions and 1 deletions

View File

@ -46,6 +46,8 @@ type RBD struct {
NetNamespaceFilePath string `json:"netNamespaceFilePath"`
// RadosNamespace is a rados namespace in the pool
RadosNamespace string `json:"radosNamespace"`
// RBD mirror daemons running in the ceph cluster.
MirrorDaemonCount int `json:"mirrorDaemonCount"`
}
type NFS struct {