ceph-csi/internal/cephfs
John Mulligan 78a6de2bd0 journal: remove SetCSIDirectorySuffix to simplify journal creation
The function SetCSIDirectorySuffix was used only one per (long-lived,
gloabl) journal object. It is simpler to construct the journal objects
with this needed parameter:
1. As it is required to function and non-optional AFAICT
2. Removes the temptation to mutate global object
3. Reduces LOC with exact same functionality
4. SetCSIDirectorySuffix would not behave correctly if called a 2nd time
   anyway.

Point 4. means that if you called the function twice to change the
suffix when you previously had "csi.volumes.alice", you'd get
"csi.volumes.alice.bob" instead of "csi.volumes.bob" what one would
expect.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
2020-05-12 08:19:09 +00:00
..
cephfs_util.go cleanup: move pkg/ to internal/ 2020-04-23 11:00:59 +00:00
cephuser.go cleanup: move pkg/ to internal/ 2020-04-23 11:00:59 +00:00
controllerserver.go cephfs: use new 'ceph fs resize' command when available 2020-05-12 06:57:44 +00:00
driver.go journal: remove SetCSIDirectorySuffix to simplify journal creation 2020-05-12 08:19:09 +00:00
errors.go cleanup: move pkg/ to internal/ 2020-04-23 11:00:59 +00:00
fsjournal.go cleanup: move pkg/ to internal/ 2020-04-23 11:00:59 +00:00
identityserver.go cleanup: move pkg/ to internal/ 2020-04-23 11:00:59 +00:00
nodeserver.go cleanup: move pkg/ to internal/ 2020-04-23 11:00:59 +00:00
util.go cleanup: move pkg/ to internal/ 2020-04-23 11:00:59 +00:00
volume.go cephfs: use new 'ceph fs resize' command when available 2020-05-12 06:57:44 +00:00
volumemounter_test.go cleanup: move pkg/ to internal/ 2020-04-23 11:00:59 +00:00
volumemounter.go cleanup: move pkg/ to internal/ 2020-04-23 11:00:59 +00:00
volumeoptions.go make CephFS SubvolumeGroup configurable 2020-05-04 05:50:06 +00:00