ceph-csi/internal/rbd
Madhu Rajanna 8ef7143e6c rbd: add maxsnapshotsonimage flag
Added maxsnapshotsonimage flag to flatten
the older rbd images on the chain to avoid
issue in krbd.The limit is in krbd since it
only allocate 1 4KiB page to handle all the
snapshot ids for an image.

The max limit is 510 as per
https://github.com/torvalds/linux/blob/
aaa2faab4ed8e5fe0111e04d6e168c028fe2987f/drivers/block/rbd.c#L98
in cephcsi we arekeeping the default to 450 to reserve 10%
to avoid issues.
Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
2020-07-06 10:08:31 +00:00
..
controllerserver.go cleanup: use errors.As() in rbd/controllerserver methods 2020-07-03 09:12:48 +00:00
driver.go rbd: add maxsnapshotsonimage flag 2020-07-06 10:08:31 +00:00
errors.go rbd: add Unwrap() to error types 2020-07-03 09:12:48 +00:00
identityserver.go cleanup: move pkg/ to internal/ 2020-04-23 11:00:59 +00:00
nodeserver_test.go cleanup: move pkg/ to internal/ 2020-04-23 11:00:59 +00:00
nodeserver.go cleanup: use errors.As() in rbd.NodeUnstageVolume() 2020-07-03 09:12:48 +00:00
rbd_attach.go rbd: Add support for rbd ROX PVC mounting 2020-06-22 06:15:40 +00:00
rbd_journal.go cleanup: use errors.As() in rbdVolume.Exists() and rbd.checkSnapExists() 2020-07-03 09:12:48 +00:00
rbd_util_test.go rbd: use librbd.FeatureSet for features 2020-06-19 11:37:29 +00:00
rbd_util.go rbd: add listsnapshots function 2020-07-06 10:08:31 +00:00
snapshot.go rbd: Implement snapshot and clone from snapshot 2020-07-01 08:21:47 +00:00