mirror of
https://github.com/ceph/ceph
synced 2024-12-17 08:57:28 +00:00
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:
parent
fd2a016d48
commit
dcd7e5bb82
@ -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;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user