mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-11-17 20:00:23 +00:00
cephfs: initialize VolumeGroupJournal
initialize VolumeGroupJournal which is required for volumegroup rados communication Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
This commit is contained in:
parent
445de7926d
commit
ff6eda0de1
@ -124,6 +124,10 @@ func (fs *Driver) Run(conf *util.Config) {
|
||||
store.VolJournal = journal.NewCSIVolumeJournalWithNamespace(CSIInstanceID, fsutil.RadosNamespace)
|
||||
|
||||
store.SnapJournal = journal.NewCSISnapshotJournalWithNamespace(CSIInstanceID, fsutil.RadosNamespace)
|
||||
|
||||
store.VolumeGroupJournal = journal.NewCSIVolumeGroupJournalWithNamespace(
|
||||
CSIInstanceID,
|
||||
fsutil.RadosNamespace)
|
||||
// Initialize default library driver
|
||||
|
||||
fs.cd = csicommon.NewCSIDriver(conf.DriverName, util.DriverVersion, conf.NodeID)
|
||||
|
@ -40,6 +40,10 @@ var (
|
||||
// SnapJournal is used to maintain RADOS based journals for CO generated.
|
||||
// SnapshotName to backing CephFS subvolumes.
|
||||
SnapJournal *journal.Config
|
||||
|
||||
// VolumeGroupJournal is used to maintain RADOS based journals for CO
|
||||
// generate request name to CephFS snapshot group attributes.
|
||||
VolumeGroupJournal journal.VolumeGroupJournalConfig
|
||||
)
|
||||
|
||||
// VolumeIdentifier structure contains an association between the CSI VolumeID to its subvolume
|
||||
|
Loading…
Reference in New Issue
Block a user