Matthew Ahrens 330847ff36 Illumos #3537
3537 want pool io kstats

Reviewed by: George Wilson <george.wilson@delphix.com>
Reviewed by: Adam Leventhal <ahl@delphix.com>
Reviewed by: Eric Schrock <eric.schrock@delphix.com>
Reviewed by: Sa?o Kiselkov <skiselkov.ml@gmail.com>
Reviewed by: Garrett D'Amore <garrett@damore.org>
Reviewed by: Brendan Gregg <brendan.gregg@joyent.com>
Approved by: Gordon Ross <gwr@nexenta.com>

References:
  http://www.illumos.org/issues/3537
  illumos/illumos-gate@c3a6601

Ported by: Cyril Plisko <cyril.plisko@mountall.com>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>

Porting Notes:

1. The patch was restructured to take advantage of the existing
   spa statistics infrastructure.  To accomplish this the kstat
   was moved in to spa->io_stats and the init/destroy code moved
   to spa_stats.c.

2. The I/O kstat was simply named <pool> which conflicted with the
   pool directory we had already created.  Therefore it was renamed
   to <pool>/io

3. An update handler was added to allow the kstat to be zeroed.
2013-10-31 09:16:03 -07:00
..
2013-10-30 14:51:27 -07:00
2013-09-04 16:01:24 -07:00
2013-09-04 16:01:24 -07:00
2013-07-02 13:34:31 -07:00
2013-10-25 13:59:40 -07:00
2013-10-25 13:59:40 -07:00
2013-09-04 16:01:24 -07:00
2010-08-31 13:41:58 -07:00
2013-10-30 14:51:27 -07:00
2013-09-04 16:01:24 -07:00
2013-10-25 13:57:25 -07:00
2012-08-27 12:01:37 -07:00
2013-10-30 14:51:27 -07:00
2013-09-04 16:01:24 -07:00
2013-09-04 16:01:24 -07:00
2013-10-30 14:51:27 -07:00
2013-09-04 16:01:24 -07:00
2013-09-04 16:01:24 -07:00
2013-10-25 13:57:25 -07:00
2013-09-25 15:44:22 -07:00
2013-10-30 14:51:27 -07:00
2013-09-04 16:01:24 -07:00
2012-10-15 16:01:54 -07:00
2010-08-31 08:38:46 -07:00
2013-10-22 10:12:39 -07:00
2013-10-30 14:51:27 -07:00
2013-10-25 13:59:40 -07:00
2013-10-18 14:34:01 -07:00
2013-09-04 16:01:24 -07:00
2013-09-25 15:44:22 -07:00
2013-10-30 14:51:27 -07:00
2010-08-31 13:41:59 -07:00
2010-08-31 13:41:58 -07:00
2010-08-31 13:41:58 -07:00
2013-10-25 13:57:25 -07:00
2013-10-31 09:16:03 -07:00
2013-10-30 14:51:27 -07:00
2013-09-04 16:01:24 -07:00
2013-10-25 13:57:25 -07:00
2012-08-27 12:01:37 -07:00
2012-08-27 12:01:37 -07:00
2013-01-08 10:35:42 -08:00
2013-10-31 09:16:03 -07:00
2013-10-30 14:51:27 -07:00
2012-09-05 08:44:58 -07:00
2013-06-19 15:14:10 -07:00
2013-06-19 15:14:10 -07:00
2013-10-29 14:54:26 -07:00
2010-08-31 13:41:58 -07:00
2013-09-04 16:01:24 -07:00
2013-04-19 15:43:16 -07:00
2013-05-01 17:05:52 -07:00
2013-10-30 14:51:27 -07:00
2013-10-30 14:51:27 -07:00
2013-09-25 15:44:22 -07:00
2013-06-19 15:14:10 -07:00
2013-10-29 14:54:26 -07:00
2013-10-30 14:51:27 -07:00
2013-09-13 13:31:24 -07:00
2013-09-04 16:01:24 -07:00
2013-05-01 17:05:52 -07:00
2013-08-15 16:19:07 -07:00
2013-10-29 14:54:26 -07:00
2013-10-29 14:54:26 -07:00
2013-10-29 14:54:26 -07:00
2010-09-17 16:24:15 -07:00
2013-09-04 16:01:24 -07:00