TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

ZFS 2.2.0 (RC): Block Cloning merged

286 点作者 turrini将近 2 年前

15 条评论

albertzeyer将近 2 年前
Also see this issue: <a href="https:&#x2F;&#x2F;github.com&#x2F;openzfs&#x2F;zfs&#x2F;issues&#x2F;405">https:&#x2F;&#x2F;github.com&#x2F;openzfs&#x2F;zfs&#x2F;issues&#x2F;405</a><p>&gt; It is in FreeBSD main branch now, but disabled by default just to be safe till after 14.0 released, where it will be included. Can be enabled with loader tunable there.<p>&gt; more code is needed on the ZFS side for Linux integration. A few people are looking at it AFAIK.
tecleandor将近 2 年前
I also see, VERY interesting:<p><pre><code> - Linux container support (So overlayfs is ZFS aware) - BLAKE3 checksums (So faster checksums) - Zstd early abort (I though Zstd already had early abort! This means you can enable Zstd compression by default, and if the data isn&#x27;t compressible, it aborts the operation and stores it uncompressed, avoiding the extra CPU use. - Fully adaptive ARC eviction (Separate adaptive ARC for data and for metadata. Until now metadata ARC was almost FIFO and not efficient) - Prefetch improvements (That&#x27;s always nice)</code></pre>
评论 #36605353 未加载
ludde将近 2 年前
A M A Z I N G<p>Have been looking forward to this for years!<p>This is so much better than automatically doing dedup and the RAM overhead that entails.<p>Doing offline&#x2F;RAM+in memory dedup size optimizations seem like a really good optimization path. In the spirit of also paying only what you use and not the rest.<p>Edit: What&#x27;s the RAM overhead of this? Is it ~64B per 128kB deduped block or what&#x27;s the magnitude of things?
评论 #36592882 未加载
评论 #36771386 未加载
lockhouse将近 2 年前
Anyone here using ZFS in production these days? If so what OS and implementation? What have been your experiences or gotchas you experienced?
评论 #36589637 未加载
评论 #36589424 未加载
评论 #36589408 未加载
评论 #36590085 未加载
评论 #36596476 未加载
评论 #36593143 未加载
评论 #36589446 未加载
评论 #36589769 未加载
评论 #36589984 未加载
评论 #36590416 未加载
评论 #36592794 未加载
评论 #36589844 未加载
评论 #36591770 未加载
评论 #36593093 未加载
评论 #36589791 未加载
评论 #36593996 未加载
评论 #36596326 未加载
评论 #36590005 未加载
评论 #36597542 未加载
评论 #36597608 未加载
评论 #36592977 未加载
评论 #36589934 未加载
评论 #36594883 未加载
评论 #36590037 未加载
miohtama将近 2 年前
What are applications that benefit from block cloning?
评论 #36588779 未加载
评论 #36588754 未加载
评论 #36588954 未加载
评论 #36588737 未加载
评论 #36589502 未加载
评论 #36593100 未加载
评论 #36589081 未加载
评论 #36588953 未加载
GauntletWizard将近 2 年前
&gt; Note: currently it is not possible to clone blocks between encrypted datasets, even if those datasets use the same encryption key (this includes snapshots of encrypted datasets). Cloning blocks between datasets that use the same keys should be possible and should be implemented in the future.<p>Once this is ready, I am going to subdivide my user homedir much more than it already is. The biggest obstacle in the way of this has been that it would waste a bunch of space until the snapshots were done rolling over, which for me is a long time (I keep weekly snapshots of my homedir for a year).
评论 #36598151 未加载
评论 #36590108 未加载
XorNot将近 2 年前
Finally! This is exactly what I want for handling photos and media on my home server. We have phone&#x27;s dumping their camera rolls onto the machine via Syncthing, but the easiest way to share content safely is just to make copies of the file and go &quot;storage is cheap&quot;. But the reality has always been closer to &quot;storage should handle deduplication&quot; - with this feature landing that can finally be a reality.<p>EDIT: Not to mention, this should make ZFS best-in-class for handling container filesystems. Deduplicating all the files in the individual layers means you can pretty much dispense with awkwardly trying to maintain inheritance trees.
评论 #36598182 未加载
评论 #36594667 未加载
rossmohax将近 2 年前
Does ZFS or any other FS offer special operations which DB engine like RocksDB, SQLite or PostgreSQL could benefit from if they decided to target that FS specifically?
评论 #36591865 未加载
评论 #36598250 未加载
dark-star将近 2 年前
Wow, I was under the impression that this had long been implemented already (as it&#x27;s already in btrfs and other commercial file systems)<p>Awesome!
评论 #36592201 未加载
评论 #36603413 未加载
Pxtl将近 2 年前
Filesystem-level de-duplication is scary as hell as a concept, but also sounds amazing, especially doing it at copy-time so you don&#x27;t have to opt-in to scanning to deduplicate. Is this common in filesystems? Or is ZFS striking out new ground here? I&#x27;m not really an under-the-OS-hood kinda guy.
评论 #36591898 未加载
评论 #36590349 未加载
uvatbc将近 2 年前
Technically, yes: through the use of Truenas that gives us API access to iscsi on ZFS.
评论 #36603492 未加载
renewiltord将近 2 年前
Is the overlayfs&#x2F;ZFS integration first-class? (i.e. COW on overlayfs is implemented at block layer on ZFS?)
girishso将近 2 年前
Pardon my ignorance, but isn’t this same as btrfs snapshots? Any advantage of using zfs over btrfs?
评论 #36598879 未加载
vlovich123将近 2 年前
Do Btrfs or ext4 offer this?
评论 #36588962 未加载
评论 #36588992 未加载
评论 #36588910 未加载
KirillPanov将近 2 年前
Didn&#x27;t btrfs have this like a ~decade ago?
评论 #36596164 未加载