ceph-csi/internal/rbd
Yite Gu 4774a82e88 rbd: support QoS based on capacity for rbd volume
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: Yite Gu <guyite@bytedance.com>
2024-12-20 13:05:06 +08:00
..
driver rbd: add locking for VolumeGroupSnapshot operations 2024-11-12 09:28:30 +00:00
features rbd: add feature check to see if GroupSnapGetInfo is available 2024-10-10 15:45:47 +00:00
group rbd: set SnapshotGroupID on each Snapshot of a VolumeGroupSnapshot 2024-11-06 11:37:44 +00:00
types rbd: set SnapshotGroupID on each Snapshot of a VolumeGroupSnapshot 2024-11-06 11:37:44 +00:00
clone.go rbd: rename deleteImage() to Delete() 2024-07-08 09:23:58 +00:00
controllerserver_test.go build: address 'copyloopvar' linter warning 2024-04-29 14:36:48 +00:00
controllerserver.go rbd: support QoS based on capacity for rbd volume 2024-12-20 13:05:06 +08:00
diskusage.go rbd: do not execute rbd sparsify when volume is in use 2023-07-11 13:48:36 +00:00
encryption_test.go build: address 'copyloopvar' linter warning 2024-04-29 14:36:48 +00:00
encryption.go rbd: Add timeout for cryptsetup commands 2024-11-05 11:39:59 +00:00
errors.go rbd: use internal as default error code in getGRPCError() 2024-06-11 15:17:53 +00:00
globals.go util: add CSIDriver.GetInstanceID() 2024-08-05 17:04:52 +00:00
group_controllerserver.go rbd: add locking for VolumeGroupSnapshot operations 2024-11-12 09:28:30 +00:00
group.go rbd: close the RBD-image after adding it to a VolumeGroup 2024-11-06 11:37:44 +00:00
identityserver.go rbd: expose the GroupControllerService 2024-11-06 11:37:44 +00:00
manager.go rbd: set SnapshotGroupID on each Snapshot of a VolumeGroupSnapshot 2024-11-06 11:37:44 +00:00
migration_test.go build: address 'copyloopvar' linter warning 2024-04-29 14:36:48 +00:00
migration.go rbd: rename deleteImage() to Delete() 2024-07-08 09:23:58 +00:00
mirror.go rbd: add context to mirror interface 2024-07-31 12:16:42 +00:00
nodeserver_test.go ci: Use temporary directory for unit tests 2024-05-27 05:57:27 +00:00
nodeserver.go rbd: use os.Remove to remove directory 2024-11-21 10:18:56 +00:00
qos_test.go rbd: support QoS based on capacity for rbd volume 2024-12-20 13:05:06 +08:00
qos.go rbd: support QoS based on capacity for rbd volume 2024-12-20 13:05:06 +08:00
rbd_attach_test.go build: address 'copyloopvar' linter warning 2024-04-29 14:36:48 +00:00
rbd_attach.go build: address 'intrange' linter warning 2024-04-29 14:36:48 +00:00
rbd_healer.go rbd: add a check for CSI pv 2024-08-27 17:08:44 +00:00
rbd_journal.go rbd: cleanup inconsistent state in reserveSnap() after a failure 2024-11-11 13:39:05 +00:00
rbd_util_test.go rbd: consider ErrPermissionDenied for vol 2024-10-03 08:40:07 +00:00
rbd_util.go rbd: support QoS based on capacity for rbd volume 2024-12-20 13:05:06 +08:00
replication.go rbd: fail DisableVolumeReplication() if image is not mirror disabled 2024-09-11 16:22:29 +00:00
snapshot.go rbd: set SnapshotGroupID on each Snapshot of a VolumeGroupSnapshot 2024-11-06 11:37:44 +00:00