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: v13.0.1~1035^2~1 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=dcd7e5bb82524bf111a6d80d9e0c050ae55b26a1;p=ceph.git rbd-nbd: lower down the log level when return -EINVAL in aio_callback. Signed-off-by: Pan Liu --- diff --git a/src/tools/rbd_nbd/rbd-nbd.cc b/src/tools/rbd_nbd/rbd-nbd.cc index aaf84972cc49..6d432f86eb5c 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; }