]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ci.git/commit
librbd: fix RequestLockPayload log message in ImageWatcher
authorIlya Dryomov <idryomov@gmail.com>
Mon, 22 Dec 2025 18:07:27 +0000 (19:07 +0100)
committerIlya Dryomov <idryomov@gmail.com>
Thu, 12 Feb 2026 17:04:09 +0000 (18:04 +0100)
commit7c390bf2dc6fff3c1698121febf7a882aeaa864c
treeb2105708a32a419eee4653da51d1458f7e422544
parent682c162e40a61506596375791f73c0691b45c97a
librbd: fix RequestLockPayload log message in ImageWatcher

exclusive_lock::Policy::lock_requested() isn't guaranteed to queue
the release of exclusive lock (and in fact only one of the two existing
implementations does that).  Instead of talking about the lock, log the
response to the notification.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
(cherry picked from commit ff89abf5ddcca91c34cfd46d288d41fe93ec38b0)
src/librbd/ImageWatcher.cc