News for hackers. Stuff that matters.
Re:Introduce ZSTD compression to ZFS by georgyo on Sunday May 17, 2020 @06:51AM (#23211106)
For one thing, kernel models don't link against libraries. So a new implementation is almost always written.
Re:Introduce ZSTD compression to ZFS by Someone on Sunday May 17, 2020 @07:10AM (#23211176)
This incorporates the zstd source code ‘as is’. FTA:

Frequently Asked Questions

“Q: Why is it so many lines of code, I can't review all of that...

A: Most of this code is the ZSTD library, which has not been altered.”

One reason this needs testing because this is a file system. If it breaks, it can lose you much more data than the file being worked on.

There also may be serious performance degradation on hardware or configurations the developers didn’t look at.

There also is some new code added to call the zstd library.