TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Understanding ZFS Channel Programs

88 pointsby rodrigo975over 3 years ago

6 comments

Rygianover 3 years ago
I find it surprising that a filesystem feature is so tightly coupled to a specific programming language. Why is it not an API that lets you begin/commit a "channel program" from any language, then execute zfs commands within session? Surely speed of execution is not so big of a constraint.
评论 #28472874 未加载
评论 #28471892 未加载
评论 #28472002 未加载
评论 #28472357 未加载
评论 #28478463 未加载
openasocketover 3 years ago
I have a special place in my heart for these sort of "weird" features, which seem really exotic compared to the standard POSIX APIs we're all used to. I just enjoy thinking about alternatives and new ways of doing and architecting things. Even if I can't think of a practical use for such a feature, I always appreciate the novelty. It makes me wonder about the future. Are the typical POSIX-style APIs still going to be dominant 50 or 100 years from now, or will new APIs and ideas start to replace them?
评论 #28477197 未加载
IshKebabover 3 years ago
Does this mean there's a Lua interpreter in ZFS? That's pretty wild!
评论 #28474796 未加载
评论 #28473695 未加载
gbrown_over 3 years ago
&gt; kernel operations are faster than userland operations<p>Call me a pedant but this grinds my gears. The speed my CPU will carry out instructions is not determined by if it&#x27;s in a kernel or user context. Avoiding making switches between those contexts certainly means less work though.
评论 #28481201 未加载
评论 #28476927 未加载
rbanffyover 3 years ago
Not to be confused with <a href="https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Channel_I&#x2F;O#Channel_program" rel="nofollow">https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Channel_I&#x2F;O#Channel_program</a>
评论 #28472889 未加载
neonateover 3 years ago
<a href="http:&#x2F;&#x2F;web.archive.org&#x2F;web&#x2F;20210908231536&#x2F;https:&#x2F;&#x2F;klarasystems.com&#x2F;articles&#x2F;understanding-zfs-channel-programs&#x2F;" rel="nofollow">http:&#x2F;&#x2F;web.archive.org&#x2F;web&#x2F;20210908231536&#x2F;https:&#x2F;&#x2F;klarasyste...</a>