标签 erofs 下的文章

转:EROFS pcluster 模式分析

原文链接:https://mp.weixin.qq.com/s/PQb_PwgxzyeeFZyz3FsO6wEROFS pluster 模式的用处:It's used to judge whether inplace I/O can be used due to the current status of pclusters in the chain.有四种:INFLIG...阅读全文

转:EROFS 碎片去重实践

碎片去重已经实现了,参见 [PATCH v7] erofs-utils: mkfs: support fragment deduplication,其主要逻辑就是在压缩前去重以防把重复的部分写入 packed inode,去重成功后如果 pcluster 没压满,就再读碎片尝试修复。主要围绕查找碎片、何时修复碎片、开始修复碎片、生成碎片extent、提交碎片这几块来说明。...阅读全文

转:EROFS ztailpacking 特性实现详解

EROFS ztailpacking 是 Linux kernel 5.17 合入的一个新特性,它完成了 tail-packing inline 对压缩文件的支持,从而节省更多空间提升性能。这篇文章主要介绍此特性的实现过程,包括 mkfs 侧 和 Kernel 侧。阅读全文

EROFS on-disk compact index 生成分析

compact index是EROFS默认使用的压缩布局,内核提交描述如下: staging: erofs: add compacted ondisk compression indexes This patch introduces new compacted compression indexes. In contract to legacy...阅读全文

分析erofs-utils canned fs_config查找失败问题

H的erofs已经支持Android,QC/droid 10下生成镜像有如下错误:failed to find [app] in canned fs_configcode在system/core/libcutils/canned_fs_config.cpp:void canned_fs_config(const char* path, int dir, const cha...阅读全文

如何制作和挂载erofs格式vendor镜像

Android P环境,mkfs.erofs is required firstly. Let's build vendor.img with erofs format.build process for vendor with ext4看下vendor image with ext4过程:core/main.mk:1111:vendorimage: $(INSTALLE...阅读全文

erofs代码分析: on-disk inode layout

参考staging erofs,on-disk inode layout相关实现是erofs_fs.h + super.c + inode.c。data mappings先看文档介绍:- Metadata & data could be mixed by design;Different from other read-only file systems, an EROF...阅读全文

最新文章

最近回复

  • tj: 我等下发邮件给你吧。
  • bbingo: 你好 我付费查看你这...
  • liujinqing: 好的 已经在gith...
  • tj: 这个不难吧,搜下就是...
  • liujinqing: 你好,能否帮忙发一下...
  • 习大大: 写的太简略了。
  • tj: 现在不搞这些了。
  • didiaoing: 有些设备即便通过90...
  • tj: android ge...
  • 冬哥: 请问谷歌的patch...

分类

归档

标签