Commit 7fa3701
committed
nvmeof: add volume cloning capability
enable volume cloning support for nvmeof CSI driver by declaring
CLONE_VOLUME capability. The RBD backend automatically handles all
clone operations (snapshot-to-volume restore and volume-to-volume
cloning) when VolumeContentSource is present in CreateVolume request.
The NVMeoF driver adds debug logging to track clone operations and
creates namespaces pointing to the cloned RBD images. No changes to
the NVMeoF gateway are required since clones are transparent at the
block device level.
Signed-off-by: gadi-didi <gadi.didi@ibm.com>1 parent 9912f67 commit 7fa3701
2 files changed
Lines changed: 16 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
118 | 118 | | |
119 | 119 | | |
120 | 120 | | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
121 | 135 | | |
| 136 | + | |
122 | 137 | | |
123 | 138 | | |
124 | 139 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
66 | 66 | | |
67 | 67 | | |
68 | 68 | | |
| 69 | + | |
69 | 70 | | |
70 | 71 | | |
71 | 72 | | |
| |||
0 commit comments