My home NAS runs mdraid RAID1 on top of two HDDs, each of which is covered by dm-integrity to guard against silent data corruption. Due to how dm-integrity lays out its data, the read-write performance is about half of what the hardware is capable of. I moved dm-integrity tags onto a separate disk to improve the situation, and bumped into a few problems along the way. More details in my blog: https://blog.tty8.org/posts/2025-04-02-moving-dm-integrity-tags-off-the-hdd-to-speed-up-raid.html