-
Notifications
You must be signed in to change notification settings - Fork 560
Comparing changes
Open a pull request
base repository: ceph/ceph-csi
base: 65016c7a07e1242cb1ac2e2b19265c714810261b
head repository: ceph/ceph-csi
compare: 25df7d28bbad1fecdfa147bebaf22ef359376efc
- 7 commits
- 12 files changed
- 1 contributor
Commits on Jul 2, 2020
-
rbd: add listsnapshots function
added listsnapshots function for an rbd image to list all the snapshots created from an rbd images, This will list the snapshots which are in trash also. Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for ed63d01 - Browse repository at this point
Copy the full SHA ed63d01View commit details -
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>
Configuration menu - View commit details
-
Copy full SHA for f4cf1a6 - Browse repository at this point
Copy the full SHA f4cf1a6View commit details -
rbd: flatten cloned images to freeup snapshot
flatten cloned images to remove the link with the snapshot as the parent snapshot can be removed from the trash. Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for d10f953 - Browse repository at this point
Copy the full SHA d10f953View commit details -
e2e: set maxsnapshotsonimage during helm install
as we need to test the maxsnapshotsonimage we need to set the limit to minimal value which we can test in CI as the default limit is 450,which cannot be tested in CI. Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for e625b54 - Browse repository at this point
Copy the full SHA e625b54View commit details -
e2e: increase snapshot count to 15
Increased the snapshot count to 15, so that atleast we can verify the maxsnapshots on images in CI. Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 48847e5 - Browse repository at this point
Copy the full SHA 48847e5View commit details -
rbd: take lock on parent image during snapshotcreate
we need to take lock on parent rbd image when we are creating a snapshot from it, if the user tries to delete/resize the rbd image when we are taking snapshots,we may face issues. if the volume lock is present on the rbd image, the user cannot resize the rbd image nor delete the rbd image. Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for d7711a6 - Browse repository at this point
Copy the full SHA d7711a6View commit details -
e2e: increase e2e test timeout
as we are creating more resources as part of E2E teting, we need to increases the test timeout as it takes more time to run both cephfs and rbd tests. Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 25df7d2 - Browse repository at this point
Copy the full SHA 25df7d2View commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff 65016c7a07e1242cb1ac2e2b19265c714810261b...25df7d28bbad1fecdfa147bebaf22ef359376efc