ZFS source tour
Whilst reading another highly interesting and cognitive post about ZFS SLOG from Brendan Gregg I came across a valuable link that holds a brief overview of ZFS related source code.
Devote a little part of your time to familiarize with ZFS structure and its main building blocks. It’s definitely worth that and, who knows, may be one day the time you spent will be repaid with interest.