code: func newRBD(podUID types.UID, volName string, image string, pool string, readOnly bool, plugin *rbdPlugin, manager diskManager) *rbd {
  	return &rbd{
  		podUID:          podUID,
  		volName:         volName,
  		Image:           image,
  		Pool:            pool,
  		ReadOnly:        readOnly,
  		plugin:          plugin,
  		mounter:         volutil.NewSafeFormatAndMountFromHost(plugin.GetPluginName(), plugin.host),
  		exec:            plugin.host.GetExec(plugin.GetPluginName()),
  		manager:         manager,
  		MetricsProvider: volume.NewMetricsStatFS(getPath(podUID, volName, plugin.host)),
  	}
  }
docs: // newRBD creates a new rbd.