diff options
author | Ilya Dryomov <idryomov@gmail.com> | 2023-03-30 13:58:20 +0200 |
---|---|---|
committer | Ilya Dryomov <idryomov@gmail.com> | 2023-03-31 12:23:45 +0200 |
commit | e11097bc4cf82b997ad1e8e21a8cd9400767f40d (patch) | |
tree | e70b549c4911c92c75f49cf65744383a448008a6 /PendingReleaseNotes | |
parent | Merge pull request #50794 from ljflores/wip-crontab (diff) | |
download | ceph-e11097bc4cf82b997ad1e8e21a8cd9400767f40d.tar.xz ceph-e11097bc4cf82b997ad1e8e21a8cd9400767f40d.zip |
librbd: clear Image::list_watchers() list before populating it
The "append to the passed list" behavior is confusing and not what the
corresponding C API (rbd_watchers_list) or other similar C++ APIs (e.g.
list_lockers) do.
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Diffstat (limited to 'PendingReleaseNotes')
-rw-r--r-- | PendingReleaseNotes | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/PendingReleaseNotes b/PendingReleaseNotes index cfc8c40cac4..0c55a897231 100644 --- a/PendingReleaseNotes +++ b/PendingReleaseNotes @@ -117,6 +117,9 @@ registered a RADOS client in the `name` field added to elements of the `active_clients` array. Previously, only the address of a module's RADOS client was shown in the `active_clients` array. +* RBD: list-watchers C++ API (`Image::list_watchers`) now clears the passed + `std::list` before potentially appending to it, aligning with the semantics + of the corresponding C API (`rbd_watchers_list`). >=17.2.1 |