Get the latest tech news
An almost catastrophic OpenZFS bug and the humans that made it
A couple of weeks ago I fixed a nasty bug in this function in OpenZFS:
I actually found it while testing a new feature I’m working on for a client, with some pretty aggressive allocator fragmentation settings in place, and I started getting weird errors, and wondered what I’d broken. Static analysers do notice that psize is computed but never used, but those tools aren’t usually part of an everyday workflow for C because they tend to be expensive to run and easily find false positives (and we have a lot of them). I am well past the point in my life where I engage with that sort of noise in any good faith, because if your answer to any perceived failing in a person is “just try harder”, you are either woefully inexperienced or a just a dick.
Or read this on Hacker News