]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
cls/rbd: drop overzealous CLS_ERR message in mirror_remote_namespace_get()
authorIlya Dryomov <idryomov@gmail.com>
Thu, 10 Apr 2025 21:11:38 +0000 (23:11 +0200)
committerIlya Dryomov <idryomov@gmail.com>
Thu, 10 Apr 2025 21:11:38 +0000 (23:11 +0200)
commit1684f010e0a2f72cdc18d7cc56fbde7c418c4d37
treec469b43cde588c9b67d116785784153b9f696f5d
parentbef578060859bc74e0376910e8e8b4b73709acbe
cls/rbd: drop overzealous CLS_ERR message in mirror_remote_namespace_get()

Currently it unnecessarily floods the log of the OSD which hosts
rbd_mirroring object with "No such file or directory" errors.  Just
drop it as read_key() already logs all errors except ENOENT.

Credit to N Balachandran <nibalach@redhat.com> for spotting this.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
src/cls/rbd/cls_rbd.cc