]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
osd/osd: set_numa_affinty: add an err log when it unable to
authorluo rixin <luorixin@huawei.com>
Fri, 11 Oct 2019 13:27:38 +0000 (21:27 +0800)
committerNathan Cutler <ncutler@suse.com>
Fri, 24 Jan 2020 16:21:29 +0000 (17:21 +0100)
         identify cluster interface's numa node

Signed-off-by: luo rixin <luorixin@huawei.com>
(cherry picked from commit e928f1a9bd568ffff751662ebf781dc17f40370f)

src/osd/OSD.cc

index 39c180910ac6f9f4f4e98aa14b149a41b613ddf7..4b00716b1ad397ee06f7a4266d0a716d63e092e5 100644 (file)
@@ -2442,6 +2442,9 @@ int OSD::set_numa_affinity()
        dout(1) << __func__ << " objectstore and network numa nodes do not match"
                << dendl;
       }
+    } else {
+      derr << __func__ << " unable to identify cluster interface '" << back_iface
+           << "' numa node: " << cpp_strerror(r) << dendl;
     }
   } else {
     derr << __func__ << " unable to identify public interface '" << front_iface