Whamcloud - gitweb
LU-4259 osd-zfs: Add brw_stats collection and display 67/11467/4
authorNathaniel Clark <nathaniel.l.clark@intel.com>
Tue, 16 Dec 2014 15:11:09 +0000 (10:11 -0500)
committerOleg Drokin <oleg.drokin@intel.com>
Sat, 3 Jan 2015 03:22:29 +0000 (03:22 +0000)
commitefdacb72afa55fc8b5ad155c479aa34ef0af118a
tree8f2cfc6e727773f54e99363997af8be95557517e
parent4757bb778feedce8cc5e4cb54a216959837d706b
LU-4259 osd-zfs: Add brw_stats collection and display

Collect stats consistant with brw_stats where possible for osd-zfs.
The supported stats are: (prefixed with BRW_R and BRW_W)
 * PAGES
 * RPC_HIST
 * IO_TIME (reads only)
 * DISK_IOSIZE
 * DISCONTINOUS PAGES (only meaningful for writes, always single
buffer for reads)

Signed-off-by: Nathaniel Clark <nathaniel.l.clark@intel.com>
Change-Id: Icd0d703d3cf31487cdfa524613cfc550db228dba
Reviewed-on: http://review.whamcloud.com/11467
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Reviewed-by: James Simmons <uja.ornl@gmail.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/osd-zfs/osd_internal.h
lustre/osd-zfs/osd_io.c
lustre/osd-zfs/osd_lproc.c