rbd-nbd: lower down the log level when return -EINVAL in aio_callback.

Signed-off-by: Pan Liu <wanjun.lp@alibaba-inc.com>
This commit is contained in:
Pan Liu 2017-08-29 23:30:15 +08:00
parent fd2a016d48
commit dcd7e5bb82

View File

@ -233,7 +233,7 @@ private:
if (ret == -EINVAL) { if (ret == -EINVAL) {
// if shrinking an image, a pagecache writeback might reference // if shrinking an image, a pagecache writeback might reference
// extents outside of the range of the new image extents // 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(); ctx->data.clear();
ret = 0; ret = 0;
} }