]> git.proxmox.com Git - mirror_zfs-debian.git/commit
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)
commitb6ad9671acdd245385744bcc1fe6c0f21f252570
tree80363b645fdf980ba2dfb6bbeba3b03c50cae76d
parent7164d092210f122a4564ab37fb4fce476ec4485f
Add ZIL statistics.

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
include/sys/zil.h
module/zfs/zil.c