]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
librbd/migration/QCOWFormat: rename handle_read_cluster()
authorIlya Dryomov <idryomov@gmail.com>
Wed, 25 Jun 2025 10:55:06 +0000 (12:55 +0200)
committerIlya Dryomov <idryomov@gmail.com>
Thu, 26 Jun 2025 06:06:47 +0000 (08:06 +0200)
... to handle_read_clusters() as it's a callback for read_clusters().

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
(cherry picked from commit 9d9c73435341f98cecf0a450357408f8d49624fa)

src/librbd/migration/QCOWFormat.cc

index e62d3fffdd555ac717f488c330eef68383f897a1..9e2565587690f08fb8d9648aec1d72f3211b1d10 100644 (file)
@@ -636,7 +636,7 @@ private:
         [this, cct=qcow_format->m_image_ctx->cct,
          image_offset=cluster_extent.image_offset,
          image_length=cluster_extent.cluster_length, ctx=read_ctx](int r) {
-          handle_read_cluster(cct, r, image_offset, image_length, ctx);
+          handle_read_clusters(cct, r, image_offset, image_length, ctx);
         });
 
       if (cluster_extent.cluster_offset == 0) {
@@ -657,8 +657,8 @@ private:
     delete this;
   }
 
-  void handle_read_cluster(CephContext* cct, int r, uint64_t image_offset,
-                           uint64_t image_length, Context* on_finish) const {
+  void handle_read_clusters(CephContext* cct, int r, uint64_t image_offset,
+                            uint64_t image_length, Context* on_finish) const {
     // NOTE: treat as static function, expect object has been deleted
 
     ldout(cct, 20) << "r=" << r << ", "