i have been dealing with my own drive resets.
think i found my issue and my fix
i have also stumbled upon another possibility.
this article
is talking about needed to turn off Native Command Queuing for all his WD gold 16tb drives by setting the queue depth to 1, and it has links to other articles and discussions about flawed NCQ in WD Golds in ZFS github from 2020…
I am using WD Gold 18TB drives…
i am going to use this script to set the queue length to a value of 1 for ONLY my WD gold 18TB drives. this will leave my micron 1.92TB SSD…
for me (so far) the fix was to surprisingly change the disk queue depth from the default of 32 to a value of 1. i still have lots more testing to go, but it has so far fixed my issues.
are you using WD gold drives by chance?