Sign in
Sign up
Explore
Enterprise
Education
Search
Help
Terms of use
About Us
Explore
Enterprise
Education
Gitee Premium
Gitee AI
AI teammates
Sign in
Sign up
Fetch the repository succeeded.
Donate
Please sign in before you donate.
Cancel
Sign in
Scan WeChat QR to Pay
Cancel
Complete
Prompt
Switch to Alipay.
OK
Cancel
Watch
Unwatch
Watching
Releases Only
Ignoring
6
Star
0
Fork
19
src-openEuler
/
sg3_utils
Code
Issues
0
Pull Requests
0
Wiki
Insights
Pipelines
Service
JavaDoc
PHPDoc
Quality Analysis
Jenkins for Gitee
Tencent CloudBase
Tencent Cloud Serverless
悬镜安全
Aliyun SAE
Codeblitz
SBOM
Don’t show this again
Update failed. Please try again later!
Remove this flag
Content Risk Flag
This task is identified by
as the content contains sensitive information such as code security bugs, privacy leaks, etc., so it is only accessible to contributors of this repository.
分析回合上游社区针对rescan-scsi-bus脚本的优化补丁
Done
#I5Z6M0
Task
Wenchao Hao
Opened this issue
2022-11-03 09:40
## 涉及优化点如下: - 新增扫描选项解决-no-lip-scan,支持FCSAN针对指定host:channel:target:LUN扫描 - sgdevice函数优化,不遍历/dev/sgX,提高系统有大规模sg设备时的效率 - findremapped函数优化,避免每次都通过multipath命令查询,提高函数执行效率 - testonline函数优化,检查sdX是否是真是磁盘,避免对非磁盘设备下无意义的TUR命令(无意义耗时30s) ## 补丁链接如下: https://github.com/doug-gilbert/sg3_utils/commit/5a1cdabc085bc9ccaedc5aff7c49a2d0ea5d6e12 https://github.com/doug-gilbert/sg3_utils/commit/4ea97e60c544ad44ee7396c815064d87f0d25874 https://github.com/doug-gilbert/sg3_utils/commit/463fd7e3414eebfaeb541722bea244f4eec32a74 https://github.com/doug-gilbert/sg3_utils/commit/4215af6d171de0b80bdace8448a687970209cf15 上述补丁涉及changelog以及sg_logs的修改不建议带入。
## 涉及优化点如下: - 新增扫描选项解决-no-lip-scan,支持FCSAN针对指定host:channel:target:LUN扫描 - sgdevice函数优化,不遍历/dev/sgX,提高系统有大规模sg设备时的效率 - findremapped函数优化,避免每次都通过multipath命令查询,提高函数执行效率 - testonline函数优化,检查sdX是否是真是磁盘,避免对非磁盘设备下无意义的TUR命令(无意义耗时30s) ## 补丁链接如下: https://github.com/doug-gilbert/sg3_utils/commit/5a1cdabc085bc9ccaedc5aff7c49a2d0ea5d6e12 https://github.com/doug-gilbert/sg3_utils/commit/4ea97e60c544ad44ee7396c815064d87f0d25874 https://github.com/doug-gilbert/sg3_utils/commit/463fd7e3414eebfaeb541722bea244f4eec32a74 https://github.com/doug-gilbert/sg3_utils/commit/4215af6d171de0b80bdace8448a687970209cf15 上述补丁涉及changelog以及sg_logs的修改不建议带入。
Comments (
2
)
Sign in
to comment
Status
Done
Backlog
Doing
Done
Declined
Assignees
Not set
Wenchao Hao
wenchao-hao
Assignee
Collaborator
+Assign
+Mention
Labels
sig/Storage
Not set
Projects
Unprojected
Unprojected
Milestones
No related milestones
No related milestones
Pull Requests
None yet
None yet
Successfully merging a pull request will close this issue.
Branches
No related branch
Branches (29)
Tags (24)
master
openEuler-22.03-LTS-SP3
openEuler-22.03-LTS-SP4
openEuler-20.03-LTS-SP4
openEuler-25.03
openEuler-24.03-LTS
openEuler-24.03-LTS-Next
openEuler-24.03-LTS-SP3
openEuler-24.03-LTS-SP2
openEuler-25.09
openEuler-24.03-LTS-SP1
openEuler-20.03-LTS-SP1
openEuler-24.09
openEuler-20.03-LTS-SP3
openEuler-22.03-LTS-Next
openEuler-22.03-LTS-SP1
openEuler-22.03-LTS-SP2
openEuler-22.03-LTS
openEuler-23.03
openEuler-23.09
openEuler-22.09
openEuler-20.03-LTS-SP2
openEuler-20.03-LTS
openEuler-20.03-LTS-Next
openEuler-21.03
openEuler-21.09
openEuler-20.09
openEuler1.0
openEuler1.0-base
openEuler-25.09-release
openEuler-24.03-LTS-SP2-release
openEuler-25.03-release
openEuler-24.03-LTS-SP1-release
openEuler-22.03-LTS-SP4-release
openEuler-24.09-release
openEuler-24.03-LTS-release
openEuler-22.03-LTS-SP3-release
openEuler-23.09-rc5
openEuler-22.03-LTS-SP1-release
openEuler-22.09-release
openEuler-22.09-rc5
openEuler-22.09-20220829
openEuler-22.03-LTS-20220331
openEuler-22.03-LTS-round5
openEuler-22.03-LTS-round3
openEuler-22.03-LTS-round2
openEuler-22.03-LTS-round1
openEuler-20.03-LTS-SP3-release
openEuler-20.03-LTS-SP2-20210624
openEuler-21.03-20210330
openEuler-20.09-20200929
openEuler-20.03-LTS-20200606
openEuler-20.03-LTS-tag
Planed to start   -   Planed to end
-
Top level
Not Top
Top Level: High
Top Level: Medium
Top Level: Low
Priority
Not specified
Serious
Main
Secondary
Unimportant
Duration
(hours)
参与者(1)
1
https://gitee.com/src-openeuler/sg3_utils.git
git@gitee.com:src-openeuler/sg3_utils.git
src-openeuler
sg3_utils
sg3_utils
Going to Help Center
Search
Git 命令在线学习
如何在 Gitee 导入 GitHub 仓库
Git 仓库基础操作
企业版和社区版功能对比
SSH 公钥设置
如何处理代码冲突
仓库体积过大,如何减小?
如何找回被删除的仓库数据
Gitee 产品配额说明
GitHub仓库快速导入Gitee及同步更新
什么是 Release(发行版)
将 PHP 项目自动发布到 packagist.org
Repository Report
Back to the top
Login prompt
This operation requires login to the code cloud account. Please log in before operating.
Go to login
No account. Register