登录
注册
开源
企业版
高校版
搜索
帮助中心
使用条款
关于我们
开源
企业版
高校版
私有云
模力方舟
我知道了
查看详情
登录
注册
Gitee Talk | 模力方舟 AI 应用开发沙龙第六站 · 8月23日 广州集结中!
代码拉取完成,页面将自动刷新
开源项目
>
其他开源
>
操作系统
&&
捐赠
捐赠前请先登录
取消
前往登录
扫描微信二维码支付
取消
支付完成
支付提示
将跳转至支付宝完成支付
确定
取消
Watch
不关注
关注所有动态
仅关注版本发行动态
关注但不提醒动态
438
Star
1.6K
Fork
1.7K
GVP
openEuler
/
kernel
代码
Issues
1554
Pull Requests
2464
Wiki
统计
流水线
服务
Gitee Pages
质量分析
Jenkins for Gitee
腾讯云托管
腾讯云 Serverless
悬镜安全
阿里云 SAE
Codeblitz
SBOM
我知道了,不再自动展开
121
add late free dictionary for f2fs decompression and some optimizations
已关闭
Gewus:compreePlugin
openEuler:master
Gewus
创建于 2022-09-21 20:59
克隆/下载
HTTPS
SSH
复制
下载 Email Patch
下载 Diff 文件
Because the decompression needs to be performed when reading the compressed block, and the space of the dictionary needs to be released after the decompression is completed to reduce the space occupation caused by the decompression. In some cases, when we read and decompress the cluster, other tasks are using the current dictionary, so the space of the dictionary should not be released immediately, but the dictionary should be released when no tasks refer to the current dictionary. This patch Add dictionary delayed release function. in compress.c : add `f2fs_late_free_dic` function : Lazy free dictionary during read。 Added in_task parameter:add in_tack parameter in some function, such as f2fs_decompress_cluster, `f2fs_decompress_end_io`, `f2fs_put_dic` eg. Modify the f2fs_read_end_io function to determine whether a task is in progress when reading data: When intask() is true: 1. The current execution context is not in the NMI context; 2. Not in IRQ context; 3. Not in softirq context Chinese; Other optimizations: 1. Compression judgment logic of the cache array: When the compression process initializes the page array cache, add the judgment of whether the current file system super block has the compression function to prevent the wrong logical path: Add the judgment of f2fs_sb_has_compression in the f2fs_init_page_array_cache function; 2. Consistency check when writing back cache pages: In the f2fs_all_cluster_page_ready function, after checking whether all pages in the cluster are loaded, you need to try to check whether all pages in the cluster are up-to-date. 1. When uptodate is set to true, try to check that all pages in the cluster are up to date. 2. When writing back the cachepage from the disk, the old data of the cached page may be inconsistent with the current decompression dictionary, resulting in a decompression error.
怎样手动合并此 Pull Request
git checkout master
git pull https://gitee.com/gewus/kernel.git compreePlugin
git push origin master
评论
14
提交
5
文件
4
检查
代码问题
0
批量操作
展开设置
折叠设置
审查
Code Owner
审查人员
jiaoff
jiaoff
刘勇强
LiuYongQiang0816
wangxiongfeng
wangxiongfeng
朱科潜
kevinzhu1
WangShaoBo
jentlestea
lujialin
lujialin2
Xu Kuohai
xukuohai
冷嘲啊
lengchao
Lingmingqiang
alvin-ling
yuzenghui
yuzenghui
juntian
juntianlinux
OSSIM
chenguangli
陈结松
gasonchen
whoisxxx
whoisxxx
koulihong
koulihong
刘恺
kailiu42
hanjun-guo
hanjun-guo
woqidaideshi
woqidaideshi
Chiqijun
chiqijun
Kefeng
wkfxxx
ThunderTown
thundertown
AlexGuo
guohaocs2c
kylin-mayukun
kylin-mayukun
柳歆
liuxinux
Jackie Liu
newbeats
zhujianwei001
zhujianwei001
郑振鹏
zhenpengzheng
SuperSix173
SuperSix173
colyli
colyli
Zhang Yi
zhangyi089
htforge
htforge
Yuehaibing
yuehaibing_planb
xiehaocheng
haochengxie
CTC-Xibo.Wang
CTC-XiboWang
zhanghongchen
Hongchen_Zhang
chen wei
chenwei_kernel
Jason Zeng
x56Jason
苟浩
gouhao2022
DuanqiangWen
duanqiangwen
georgeguo
georgeguo
毛泓博
mao-hongbo
AllenShi
allen-shi
Wei Li
stkid
tcc@hello
hellotcc
谭小飞
hunan4222
Fred Kimmy
kongzizaixian
LiYihang
LiYihang226
young1c
young1c
WangBoe2022
wangboe2022
chenke
chenke1978
李力军
JerryHZ
Yang Shen
youngersun
wsoydl
wsoydl
sanglipeng
sanglipeng
zhangchangzhong
zhang-changzhong
jimmy_hero
jimmy_hero
Yanze
ygn-ndwd-official
Mingzheng Xing
xingmz
maobibo
maobibo
lixuefeng_loongson
lixuefeng-loongson
chenweilong
qinirao
hitmoon
hitmoon
yunshenglin
yunshenglin
hucz
hu-chunzhi
giree2
giree2
Lostway
Lostwayzxc
Jianhua Zhang
chris_zjh
gaojuxin
gaojuxin09
yeweihua999
yeweihua999
hanliyang
hanliyang
Yuan can
markyuan4ta2
kile2009
kile2009
Li Nan
linan888
hu.yong
flyingrunsnail
李辉松
li-huisong
liulongfang
liulongfang
Zhang Qiao
zqiao216
Tengda Wu
stavewu
guzitao
guzitao
sming56
sming56_admin
Frank_Sae
Frank_Sae
koishimind
koishimind
MendeZ
shuaijiakun
Xie XiuQi
xiexiuqi
zhengzengkai
zhengzengkai
未设置
最少人数
0
测试
jiaoff
jiaoff
刘勇强
LiuYongQiang0816
wangxiongfeng
wangxiongfeng
朱科潜
kevinzhu1
WangShaoBo
jentlestea
lujialin
lujialin2
Xu Kuohai
xukuohai
冷嘲啊
lengchao
Lingmingqiang
alvin-ling
yuzenghui
yuzenghui
juntian
juntianlinux
OSSIM
chenguangli
陈结松
gasonchen
whoisxxx
whoisxxx
koulihong
koulihong
刘恺
kailiu42
hanjun-guo
hanjun-guo
woqidaideshi
woqidaideshi
Chiqijun
chiqijun
Kefeng
wkfxxx
ThunderTown
thundertown
AlexGuo
guohaocs2c
kylin-mayukun
kylin-mayukun
柳歆
liuxinux
Jackie Liu
newbeats
zhujianwei001
zhujianwei001
郑振鹏
zhenpengzheng
SuperSix173
SuperSix173
colyli
colyli
Zhang Yi
zhangyi089
htforge
htforge
Yuehaibing
yuehaibing_planb
xiehaocheng
haochengxie
CTC-Xibo.Wang
CTC-XiboWang
zhanghongchen
Hongchen_Zhang
chen wei
chenwei_kernel
Jason Zeng
x56Jason
苟浩
gouhao2022
DuanqiangWen
duanqiangwen
georgeguo
georgeguo
毛泓博
mao-hongbo
AllenShi
allen-shi
Wei Li
stkid
tcc@hello
hellotcc
谭小飞
hunan4222
Fred Kimmy
kongzizaixian
LiYihang
LiYihang226
young1c
young1c
WangBoe2022
wangboe2022
chenke
chenke1978
李力军
JerryHZ
Yang Shen
youngersun
wsoydl
wsoydl
sanglipeng
sanglipeng
zhangchangzhong
zhang-changzhong
jimmy_hero
jimmy_hero
Yanze
ygn-ndwd-official
Mingzheng Xing
xingmz
maobibo
maobibo
lixuefeng_loongson
lixuefeng-loongson
chenweilong
qinirao
hitmoon
hitmoon
yunshenglin
yunshenglin
hucz
hu-chunzhi
giree2
giree2
Lostway
Lostwayzxc
Jianhua Zhang
chris_zjh
gaojuxin
gaojuxin09
yeweihua999
yeweihua999
hanliyang
hanliyang
Yuan can
markyuan4ta2
kile2009
kile2009
Li Nan
linan888
hu.yong
flyingrunsnail
李辉松
li-huisong
liulongfang
liulongfang
Zhang Qiao
zqiao216
Tengda Wu
stavewu
guzitao
guzitao
sming56
sming56_admin
Frank_Sae
Frank_Sae
koishimind
koishimind
MendeZ
shuaijiakun
Xie XiuQi
xiexiuqi
zhengzengkai
zhengzengkai
未设置
最少人数
0
优先级
不指定
严重
主要
次要
不重要
标签
openeuler-cla/no
ci_failed
sig/Kernel
stat/needs-squash
关联 Issue
未关联
Pull Request 合并后将关闭上述关联 Issue
里程碑
未关联里程碑
openEuler-1.0-LTS-kernel-static-check-202109
22.03-LTS-Kernel-Update
23.03-Kernel-Release
20.03-SP3-Kernel-Update
20.03-SP3-Kernel-Defect
25.09
24.03-Update
25.03
24.03-SP2
24.03-SP1
参与者
(5)
Cherry-pick 提交
Cherry-pick 可以将
特定提交(Commit)
从某个分支挑选并应用到另一个分支,实现快速集成特定更改,而无需合并整个分支。
请选择应用 Cherry-pick 提交 (Commit) 的目标分支
新建分支
当前账号不存在 Fork 仓库,建议 cherry-pick 到 Fork 仓库。
Fork 仓库
提交列表
Commit SHA
Commit Message
基于 Cherry-pick 后的分支发起 Pull Request
取消
Cherry-pick
C
1
https://gitee.com/openeuler/kernel.git
git@gitee.com:openeuler/kernel.git
openeuler
kernel
kernel
点此查找更多帮助
搜索帮助
Git 命令在线学习
如何在 Gitee 导入 GitHub 仓库
Git 仓库基础操作
企业版和社区版功能对比
SSH 公钥设置
如何处理代码冲突
仓库体积过大,如何减小?
如何找回被删除的仓库数据
Gitee 产品配额说明
GitHub仓库快速导入Gitee及同步更新
什么是 Release(发行版)
将 PHP 项目自动发布到 packagist.org
仓库举报
回到顶部
登录提示
该操作需登录 Gitee 帐号,请先登录后再操作。
立即登录
没有帐号,去注册