]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/tools/rbd/action/Migration.cc
import 15.2.0 Octopus source
[ceph.git] / ceph / src / tools / rbd / action / Migration.cc
index bb05e376d01e82a16e367b7a677f4d95b5f79742..d47801ef76c598fb514466625c615a16816e63c1 100644 (file)
@@ -169,7 +169,7 @@ int execute_prepare(const po::variables_map &vm,
   if (r < 0) {
     return r;
   }
-  io_ctx.set_osdmap_full_try();
+  io_ctx.set_pool_full_try();
 
   std::string dest_pool_name;
   std::string dest_namespace_name;
@@ -232,7 +232,7 @@ int execute_execute(const po::variables_map &vm,
   if (r < 0) {
     return r;
   }
-  io_ctx.set_osdmap_full_try();
+  io_ctx.set_pool_full_try();
 
   r = do_execute(io_ctx, image_name, vm[at::NO_PROGRESS].as<bool>());
   if (r < 0) {
@@ -268,7 +268,7 @@ int execute_abort(const po::variables_map &vm,
   if (r < 0) {
     return r;
   }
-  io_ctx.set_osdmap_full_try();
+  io_ctx.set_pool_full_try();
 
   r = do_abort(io_ctx, image_name, vm[at::NO_PROGRESS].as<bool>());
   if (r < 0) {
@@ -306,7 +306,7 @@ int execute_commit(const po::variables_map &vm,
   if (r < 0) {
     return r;
   }
-  io_ctx.set_osdmap_full_try();
+  io_ctx.set_pool_full_try();
 
   r = do_commit(io_ctx, image_name, vm["force"].as<bool>(),
                 vm[at::NO_PROGRESS].as<bool>());