HomeFreeBSD

Introduce read/write kstats per dataset

Description

Introduce read/write kstats per dataset

The following patch introduces a few statistics on reads and writes
grouped by dataset. These statistics are implemented as kstats
(backed by aggregate sums for performance) and can be retrieved by
using the dataset objset ID number. The motivation for this change is
to provide some preliminary analytics on dataset usage/performance.

Reviewed-by: Richard Elling <Richard.Elling@RichardElling.com>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed by: Matthew Ahrens <mahrens@delphix.com>
Signed-off-by: Serapheim Dimitropoulos <serapheim@delphix.com>
Closes #7705

Details

Provenance
Serapheim Dimitropoulos <serapheimd@gmail.com>Authored on Aug 20 2018, 4:52 PM
Brian Behlendorf <behlendorf1@llnl.gov>Committed on Aug 20 2018, 4:52 PM
Parents
rGfa84714abbb9: ZTS: events path cleanup
Branches
Unknown
Tags
Unknown

Event Timeline

Brian Behlendorf <behlendorf1@llnl.gov> committed rGa448a2557ec4: Introduce read/write kstats per dataset (authored by Serapheim Dimitropoulos <serapheimd@gmail.com>).Aug 20 2018, 4:52 PM