From c34be1841d041d318ded0b63e95eab79d63bd0ef 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 (cherry picked from commit dcd7e5bb82524bf111a6d80d9e0c050ae55b26a1) --- 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 a3d3577310c..e892fbd5ac0 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; } -- 2.47.3