]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
librbd: on notify_quiesce() show attempts in a better format 50939/head
authorPrasanna Kumar Kalever <prasanna.kalever@redhat.com>
Fri, 7 Apr 2023 16:00:54 +0000 (21:30 +0530)
committerPrasanna Kumar Kalever <prasanna.kalever@redhat.com>
Thu, 13 Apr 2023 12:52:34 +0000 (18:22 +0530)
commit7156addcdc1e1a3df80bd68def2705c011170997
tree97a7adef0a90e85d436836e6de072a4dddfd995d
parentfd861409e2ca17ab129180233cba8ee222248242
librbd: on notify_quiesce() show attempts in a better format

notify_quiesce() currently shows number of attempts in descending order,
this might be bit confusing to read.

Example: on the very first attempt,
2023-04-04T19:45:56.096+0530 7ff8ba7fc640 10 librbd::ImageWatcher:
  0x7ff898008b30 notify_quiesce: async_request_id=[4151,140705343226832,23] attempts=10

I initially misread the above means 10 attempts where done.

This commit tries to pick the format that is used by
ImageWatcher<I>::handle_payload() and ImageWatcher<I>::notify_async_progress()

Fixes: https://tracker.ceph.com/issues/59379
Signed-off-by: Prasanna Kumar Kalever <prasanna.kalever@redhat.com>
src/librbd/ImageWatcher.cc
src/librbd/ImageWatcher.h