]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
rbd-nbd: lower down the log level when return -EINVAL in aio_callback.
authorPan Liu <wanjun.lp@alibaba-inc.com>
Tue, 29 Aug 2017 15:30:15 +0000 (23:30 +0800)
committerAbhishek Lekshmanan <abhishek@suse.com>
Thu, 7 Sep 2017 12:55:33 +0000 (14:55 +0200)
Signed-off-by: Pan Liu <wanjun.lp@alibaba-inc.com>
(cherry picked from commit dcd7e5bb82524bf111a6d80d9e0c050ae55b26a1)

src/tools/rbd_nbd/rbd-nbd.cc

index a3d3577310ccfe78e83157f0df03147936f14d0d..e892fbd5ac0fa5a3891ff09a72cc2d946d8f9b75 100644 (file)
@@ -233,7 +233,7 @@ private:
     if (ret == -EINVAL) {
       // if shrinking an image, a pagecache writeback might reference
       // extents outside of the range of the new image extents
-      dout(5) << __func__ << ": masking IO out-of-bounds error" << dendl;
+      dout(0) << __func__ << ": masking IO out-of-bounds error" << dendl;
       ctx->data.clear();
       ret = 0;
     }