(no title)
jpfr | 7 months ago
At the same time, the tooling has gotten much better in the last years.
Clang-analyzer is fast enough to run as part of the CI. Newer gcc also give quite a few more warnings for unused results.
My recommendation to the project is to
- Remove all compiler warnings and enable warning-as-error
- Increase the coverage of unit tests to >80%
That is a lot of work. But that's what is required for high-criticality systems engineering.
rollcat|7 months ago
Side note: OpenZFS already has an extensive test suite. Merely hitting a code branch wouldn't have caught this one.