From dcd7e5bb82524bf111a6d80d9e0c050ae55b26a1 Mon Sep 17 00:00:00 2001 From: Pan Liu Date: Tue, 29 Aug 2017 23:30:15 +0800 Subject: [PATCH] rbd-nbd: lower down the log level when return -EINVAL in aio_callback. Signed-off-by: Pan Liu --- src/tools/rbd_nbd/rbd-nbd.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tools/rbd_nbd/rbd-nbd.cc b/src/tools/rbd_nbd/rbd-nbd.cc index aaf84972cc4..6d432f86eb5 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; }