Skip to content
Snippets Groups Projects
This project is mirrored from https://github.com/ceph/ceph-csi.git. Pull mirroring updated .
  1. Mar 13, 2025
  2. Mar 12, 2025
  3. Mar 11, 2025
  4. Mar 10, 2025
  5. Mar 07, 2025
  6. Mar 06, 2025
  7. Mar 04, 2025
  8. Mar 03, 2025
  9. Feb 26, 2025
  10. Feb 25, 2025
  11. Feb 24, 2025
  12. Feb 20, 2025
    • Niels de Vos's avatar
      rbd: add validation to ToCSI() for rbdVolume and rbdSnapshot · ac8cda5e
      Niels de Vos authored
      
      After an unfortnate timed restart of the provisioner, a volume that got
      cloned did not get a `rbdVolume.VolID` set. The `.VolID` is used as the
      CSI Volume Handle, and is a required attribute.
      
      The `rbdVolume` and `rbdSnapshot` structs have a `.ToCSI()` function
      that can do the validation of required attributes. This is now added,
      including unit-tests.
      
      Signed-off-by: default avatarNiels de Vos <ndevos@ibm.com>
      ac8cda5e
    • Niels de Vos's avatar
      rbd: always include the `SourceVolumeID` when returning a Snapshot · b3faa045
      Niels de Vos authored
      
      `doSnapshotClone()` returns a new `rbdVolume` object from a temporary
      snapshot. This conversion drops the `SourceVolumeID` attribute, as a
      `rbdVolume` does not have that.
      
      After converting the `rbdVolume` back to a `rbdSnapshot`, the
      `SourceVolumeID` attribute can be set again, and the `ToCSI()` function
      can create an appropriate CSI Snapshot struct.
      
      Signed-off-by: default avatarNiels de Vos <ndevos@ibm.com>
      b3faa045
  13. Feb 19, 2025
  14. Feb 18, 2025
  15. Feb 17, 2025
    • Yite Gu's avatar
      rbd: support QoS based on capacity for rbd volume · 7595e209
      Yite Gu authored
      
      1. QoS provides settings for rbd volume read/write iops
         and read/write bandwidth.
      2. All QoS parameters are placed in the SC,
         send QoS parameters from SC to Cephcsi through PVC create request.
      3. We need provide QoS parameters in the SC as below:
         - BaseReadIops
         - BaseWriteIops
         - BaseReadBytesPerSecond
         - BaseWriteBytesPerSecond
         - ReadIopsPerGB
         - WriteIopsPerGB
         - ReadBpsPerGB
         - WriteBpsPerGB
         - BaseVolSizeBytes
         There are 4 base qos parameters among them, when users apply for
         a volume capacity equal to or less than BaseVolSizebytes, use base
         qos limit. For the portion of capacity exceeding BaseVolSizebytes,
         QoS will be increased in steps set per GB. If the step size parameter
         per GB is not provided, only base QoS limit will be used and not associated
         with capacity size.
      4. If PVC has resize request, adjust the QoS limit
         according to the QoS parameters after resizing.
      
      Signed-off-by: default avatarYite Gu <guyite@bytedance.com>
      7595e209
    • Praveen M's avatar
      rbd: get volumegroup in secondary cluster · e4d41c42
      Praveen M authored
      
      Currently, `GetVolumeGroup()` fetches the RBD group from the
      pool using the clusterID & poolID encoded in the VolumeGroupHandle.
      However, this approach may fail in a secondary mirrored cluster,
      where the clusterID & poolID could differ.
      
      This commit ensures that `GetVolumeGroup` leverages the
      clusterIDMapping and RBDPoolIDMapping to locate the RBD group in the
      appropriate  pool if it is not found in the pool corresponding
      to the poolID encoded in the VolumeGroupHandle.
      
      Signed-off-by: default avatarPraveen M <m.praveen@ibm.com>
      e4d41c42
    • Praveen M's avatar
    • Praveen M's avatar
Loading