This is an old revision of the document!
Debugging of suspected ZFS deadlocks
The best first step is to capture stack traces of all threads in one of the following ways:
procstat -kk -ain userland if it is still responsive and you are able to save the output somehowalltracein ddbthread apply all btin kgdb