refactor event

(cherry picked from commit 318eb1a6b93f850213a48422c1f0423715b6d41f)
This commit is contained in:
jiangheng 2022-03-29 23:46:22 +08:00 committed by openeuler-sync-bot
parent e55ed272f9
commit f2f0d2a6e5
3 changed files with 3130 additions and 1 deletions

View File

@ -0,0 +1,25 @@
From 0a62cc1547009c6e382c08d7e99c8727201dd56a Mon Sep 17 00:00:00 2001
From: wuchangsheng <wuchangsheng2@huawei.com>
Date: Mon, 21 Mar 2022 09:50:49 +0800
Subject: [PATCH] addd gazellectl lstack constraint
---
README.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/README.md b/README.md
index e914b26..eef6362 100644
--- a/README.md
+++ b/README.md
@@ -199,7 +199,7 @@ redis-server redis.conf
liblstack.so编译进应用程序后wrap网络编程标准接口应用程序无需修改代码。
### 9. gazellectl
-- 不使用ltran模式时不支持gazellectl ltran xxx 命令
+- 不使用ltran模式时不支持gazellectl ltran xxx命令以及-r, rate命令
```
Usage: gazellectl [-h | help]
or: gazellectl ltran {quit | show} [LTRAN_OPTIONS] [time]
--
1.8.3.1

3098
0038-refactor-event.patch Normal file

File diff suppressed because it is too large Load Diff

View File

@ -2,7 +2,7 @@
Name: gazelle
Version: 1.0.1
Release: 5
Release: 6
Summary: gazelle is a high performance user-mode stack
License: Mulan PSL v2
URL: https://gitee.com/openeuler/gazelle
@ -51,6 +51,8 @@ Patch9033: 0033-fix-accept-check-remain-conn.patch
Patch9034: 0034-fix-wakeup-list-dead-loop.patch
Patch9035: 0035-add-check-for-stack-params.patch
Patch9036: 0036-the-sending-of-sock-last-data-is-triggered-by-lstack.patch
Patch9037: 0037-add-gazellectl-lstack-constraint.patch
Patch9038: 0038-refactor-event.patch
%description
%{name} is a high performance user-mode stack.
@ -91,6 +93,10 @@ install -Dpm 0640 %{_builddir}/%{name}-%{version}/src/ltran/ltran.conf %{b
%config(noreplace) %{conf_path}/ltran.conf
%changelog
* Tue Mar 29 2022 jiangheng <jiangheng12@huawei.com> - 1.0.1-6
- refactor event
- add gazellectl lstack constraint
* Fri Mar 18 2022 jiangheng <jiangheng12@huawei.com> - 1.0.1-5
- limit lwip_alloc_pbuf size to TCP_MSS
- sending of sock last data is triggered by lstack iteself