代码拉取完成,页面将自动刷新
同步操作将从 src-openEuler/filemanagement_dfs_service 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
From d37115e961f66357473e232a9591a6c5a803f9a6 Mon Sep 17 00:00:00 2001
From: heppen <[email protected]>
Date: Sat, 24 Jun 2023 18:09:33 +0800
Subject: [PATCH] change default devsl from 0 to 4
---
.../distributedfiledaemon/src/network/kernel_talker.cpp | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/services/distributedfiledaemon/src/network/kernel_talker.cpp b/services/distributedfiledaemon/src/network/kernel_talker.cpp
index bb53d50..8ee8dbb 100644
--- a/services/distributedfiledaemon/src/network/kernel_talker.cpp
+++ b/services/distributedfiledaemon/src/network/kernel_talker.cpp
@@ -75,15 +75,13 @@ void KernelTalker::SinkSessionTokernel(shared_ptr<BaseSession> session)
int socketFd = session->GetHandle();
auto masterkey = session->GetKey();
auto cid = session->GetCid();
- LOGD("sink session to kernel success, cid:%{public}s, socketFd:%{public}d, key[0]:%{public}x", cid.c_str(),
- socketFd, *(uint32_t *)masterkey.data());
uint8_t status = (session->IsFromServer() ? SOCKET_STAT_ACCEPT : SOCKET_STAT_OPEN);
UpdateSocketParam cmd = {
.cmd = CMD_UPDATE_SOCKET,
.newfd = socketFd,
- .devsl = 0,
+ .devsl = 4,
.status = status,
};
if (memcpy_s(cmd.masterKey, KEY_MAX_LEN, masterkey.data(), KEY_MAX_LEN) != EOK) {
@@ -94,6 +92,8 @@ void KernelTalker::SinkSessionTokernel(shared_ptr<BaseSession> session)
return;
}
SetCmd(cmd);
+ LOGD("sink session to kernel success, cid:%{public}s, socketFd:%{public}d, key[0]:%{public}x, devsl:%{public}d",
+ cid.c_str(), socketFd, *(uint32_t *)masterkey.data(), cmd.devsl);
// DevslDispatcher::DevslGetRegister(cid, shared_from_this());
}
--
2.33.0
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。