From: Pan Liu Date: Tue, 29 Aug 2017 15:30:15 +0000 (+0800) Subject: rbd-nbd: lower down the log level when return -EINVAL in aio_callback. X-Git-Tag: v12.2.1~58^2~1 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=c34be1841d041d318ded0b63e95eab79d63bd0ef;p=ceph.git rbd-nbd: lower down the log level when return -EINVAL in aio_callback. Signed-off-by: Pan Liu (cherry picked from commit dcd7e5bb82524bf111a6d80d9e0c050ae55b26a1) --- diff --git a/src/tools/rbd_nbd/rbd-nbd.cc b/src/tools/rbd_nbd/rbd-nbd.cc index a3d3577310cc..e892fbd5ac0f 100644 --- a/src/tools/rbd_nbd/rbd-nbd.cc +++ b/src/tools/rbd_nbd/rbd-nbd.cc @@ -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; }