I currently have a secondary pool (with raidz2) that I was originally going to use for my important documents, such as storage for Paperless-ngx, as raidz offers corruption detection and repair. The pool is encrypted.
However, I’m concerned about rebuild times (it’s a pool of 4 22TB drives). Is btrfs a better choice for this use case, or should I just go with raidz like I originally planned?


Maybe you could switch to a raid10 (mirrored striped vdevs) for faster rebuild time.
BTRFS is relatively similar to ZFS when it comes to their raid implementation, though using raid5 or raid6 comes with some caveats.
I would absolutely not trust BTRFS’s implementation. Maybe things are better now but it earned the backronym Bro The RAID Fuckin Sucks for a reason.