From: Sage Weil Date: Sat, 12 Jan 2019 12:08:46 +0000 (-0600) Subject: common/numa: remove stray debug output X-Git-Tag: v14.1.0~413^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=cda6699b76fbf99f1144ecb640d362ac18030ec3;p=ceph.git common/numa: remove stray debug output Signed-off-by: Sage Weil --- diff --git a/src/common/numa.cc b/src/common/numa.cc index edf686119195..9ec29fa95f22 100644 --- a/src/common/numa.cc +++ b/src/common/numa.cc @@ -111,16 +111,13 @@ int get_numa_node_cpu_set( std::string fn = "/sys/devices/system/node/node"; fn += stringify(node); fn += "/cpulist"; - std::cout << __func__ << " fn " << fn << std::endl; int fd = ::open(fn.c_str(), O_RDONLY); if (fd < 0) { - std::cout << __func__ << " fail to open " << errno << std::endl; return -errno; } char buf[1024]; int r = safe_read(fd, &buf, sizeof(buf)); if (r < 0) { - std::cout << __func__ << " fail to read " << errno << std::endl; goto out; } buf[r] = 0; @@ -129,7 +126,6 @@ int get_numa_node_cpu_set( } r = parse_cpu_set_list(buf, cpu_set_size, cpu_set); if (r < 0) { - std::cout << __func__ << " fail to parse " << r << std::endl; goto out; } r = 0;