Add ZIL statistics.
authorEtienne Dechamps <etienne.dechamps@ovh.net>
Fri, 15 Jun 2012 14:22:14 +0000 (16:22 +0200)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Fri, 29 Jun 2012 16:56:51 +0000 (09:56 -0700)
The performance of the ZIL is usually the main bottleneck when dealing with
synchronous, write-heavy workloads (e.g. databases). Understanding the
behavior of the ZIL is required to diagnose performance issues for these
workloads, and to tune ZIL parameters (like zil_slog_limit) accordingly.

This commit adds a new kstat page dedicated to the ZIL with some counters
which, hopefully, scheds some light into what the ZIL is doing, and how it is
doing it.

Currently, these statistics are available in /proc/spl/kstat/zfs/zil.
A description of the fields can be found in zil.h.

Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #786


No differences found