Loading libprocessgroup/setup/cgroup_map_write.cpp +3 −3 Original line number Diff line number Diff line Loading @@ -174,7 +174,7 @@ static bool ActivateV2CgroupController(const CgroupDescriptor& descriptor) { if (!Mkdir(controller->path(), descriptor.mode(), descriptor.uid(), descriptor.gid())) { LOG(ERROR) << "Failed to create directory for " << controller->name() << " cgroup"; return false; return descriptor.controller()->flags() & CGROUPRC_CONTROLLER_FLAG_OPTIONAL; } return ::ActivateControllers(controller->path(), {{controller->name(), descriptor}}); Loading Loading @@ -291,8 +291,8 @@ bool CgroupSetup() { } if (!SetupCgroup(descriptor)) { // issue a warning and proceed with the next cgroup LOG(WARNING) << "Failed to setup " << name << " cgroup"; LOG(ERROR) << "Failed to setup " << name << " cgroup"; return false; } } Loading Loading
libprocessgroup/setup/cgroup_map_write.cpp +3 −3 Original line number Diff line number Diff line Loading @@ -174,7 +174,7 @@ static bool ActivateV2CgroupController(const CgroupDescriptor& descriptor) { if (!Mkdir(controller->path(), descriptor.mode(), descriptor.uid(), descriptor.gid())) { LOG(ERROR) << "Failed to create directory for " << controller->name() << " cgroup"; return false; return descriptor.controller()->flags() & CGROUPRC_CONTROLLER_FLAG_OPTIONAL; } return ::ActivateControllers(controller->path(), {{controller->name(), descriptor}}); Loading Loading @@ -291,8 +291,8 @@ bool CgroupSetup() { } if (!SetupCgroup(descriptor)) { // issue a warning and proceed with the next cgroup LOG(WARNING) << "Failed to setup " << name << " cgroup"; LOG(ERROR) << "Failed to setup " << name << " cgroup"; return false; } } Loading