Skip to content

pacific: cls/rbd: update last_read in group::snap_list#49195

Merged
yuriw merged 4 commits intoceph:pacificfrom
idryomov:wip-57066-pacific
Dec 9, 2022
Merged

pacific: cls/rbd: update last_read in group::snap_list#49195
yuriw merged 4 commits intoceph:pacificfrom
idryomov:wip-57066-pacific

Conversation

@idryomov
Copy link
Contributor

@idryomov idryomov commented Dec 2, 2022

Prasanna Kumar Kalever added 3 commits December 2, 2022 15:12
Signed-off-by: Prasanna Kumar Kalever <prasanna.kalever@redhat.com>
(cherry picked from commit bb2d1d7)
Problem:
`rbd group snap ls` shows 1025 records after creating 65 snaps
with `rbd group snap create`

$ for i in {1..65}; do rbd group snap create test_group@group_snap$i; done
$ rbd group snap ls test_group | wc -l
1025

Solution:
update last_read after getting RBD_MAX_KEYS_READ with cls_cxx_map_get_vals.

Fixes: https://tracker.ceph.com/issues/57066
Signed-off-by: Prasanna Kumar Kalever <prasanna.kalever@redhat.com>
(cherry picked from commit 94029c4)
Signed-off-by: Prasanna Kumar Kalever <prasanna.kalever@redhat.com>
(cherry picked from commit e0da2a4)
Commit e0da2a4 ("qa/workunits/rbd: Add test to list snapshots of
consistency group") added bash-specific syntax.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
(cherry picked from commit 8f71273)
@idryomov
Copy link
Contributor Author

idryomov commented Dec 5, 2022

Added #49235 to the backport.

@yuriw yuriw merged commit 042532f into ceph:pacific Dec 9, 2022
@idryomov idryomov deleted the wip-57066-pacific branch December 9, 2022 16:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants