]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/tools/rbd/action/Export.cc
update sources to v12.1.2
[ceph.git] / ceph / src / tools / rbd / action / Export.cc
index 1be951028b4aa7c37440018a9ee8e579f04ff228..708663a43104f3cc0cb3c9fdf2a4936449e8b0cd 100644 (file)
@@ -509,7 +509,7 @@ static int do_export(librbd::Image& image, const char *path, bool no_progress, i
     fd = STDOUT_FILENO;
     max_concurrent_ops = 1;
   } else {
-    max_concurrent_ops = max(g_conf->rbd_concurrent_management_ops, 1);
+    max_concurrent_ops = g_conf->rbd_concurrent_management_ops;
     fd = open(path, O_WRONLY | O_CREAT | O_EXCL, 0644);
     if (fd < 0) {
       return -errno;