因为 EROFS 就是奔着取代 SquashFS 去的(should be),之前我们已经添加了碎片的支持,但是不支持去重。先大概看下 SquashFS 碎片去重是怎么做的。知己知彼,才能百战百胜。Check SquashFS 碎片去重参考 squashfs-tools 4.5.1/* hash tables used to do fast duplicate searc...阅读全文
有人说过写代码就像弹棉花(^_^),不好意思,说错了,是弹piano。我觉得写代码就像写文章,文章写出来是要给人看的(不排除自lian型),词不达意,肯定不是好文章。能做到信达雅,那都是高高手。“金山银山就是绿水青山”,抬头看看这高度!只有好文章才能被收录(like upstream Linux kernel),rt? 再看看老外金句:There are only two...阅读全文
EROFS 文件系统刚提交了压缩去重特性提升压缩率,一起来看下。rolling hash 基础dedup 用到了 rolling hash,先了解下。wikipedia 的定义是:A hash function is any function that can be used to map data of arbitrary size to fixed-size valu...阅读全文