Spdk/lib/bdev
Yanbo Zhou 64ccd4b95b bdev: a new public function to get the I/O statistics of bdev
Add a new function and its RPC caller. By using it, we can
get the statistics of all the bdevs or the specified bdev.

Meanwhile, with this patch, the open source tool 'sysstat/iostat'
can support for SPDK. The 'iostat' tool can call this function to
get the statistics of all the SPDK managed devices via the rpc
interface.

Change-Id: I135a7bbd49d923014bdf93720f78dd5a588d7afa
Signed-off-by: Yanbo Zhou <yanbo.zhou@intel.com>
Reviewed-on: https://review.gerrithub.io/393130
Tested-by: SPDK Automated Test System <sys_sgsw@intel.com>
Reviewed-by: Dariusz Stojaczyk <dariuszx.stojaczyk@intel.com>
Reviewed-by: Daniel Verkamp <daniel.verkamp@intel.com>
Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
2018-05-23 17:49:21 +00:00
..
aio rpc: Add state_mask to each RPC method to make sets of RPCs 2018-05-03 19:48:15 +00:00
error rpc: Add state_mask to each RPC method to make sets of RPCs 2018-05-03 19:48:15 +00:00
gpt bdev/gpt: allocate buffer with correct alignment 2018-04-24 16:19:04 +00:00
iscsi bdev/iscsi: save initiator iqn name 2018-05-17 17:11:59 +00:00
lvol bdev/lvol: inherit need_aligned_buffer of base bdev 2018-05-22 23:08:11 +00:00
malloc rpc: Add state_mask to each RPC method to make sets of RPCs 2018-05-03 19:48:15 +00:00
null rpc: Add state_mask to each RPC method to make sets of RPCs 2018-05-03 19:48:15 +00:00
nvme bdev/nvme: check passthru cmd size against MDTS 2018-05-09 17:20:11 +00:00
passthru bdev/passthru: remove trailing space in config dump 2018-05-21 19:44:30 +00:00
pmem rpc: Add state_mask to each RPC method to make sets of RPCs 2018-05-03 19:48:15 +00:00
rbd rpc: Add state_mask to each RPC method to make sets of RPCs 2018-05-03 19:48:15 +00:00
rpc bdev: a new public function to get the I/O statistics of bdev 2018-05-23 17:49:21 +00:00
split bdev/split: free req in destruct_split_vbdev RPC call 2018-05-17 17:38:02 +00:00
virtio bdev/virtio_blk: fix double free on init failure 2018-05-22 23:08:40 +00:00
bdev.c bdev: a new public function to get the I/O statistics of bdev 2018-05-23 17:49:21 +00:00
Makefile bdev/pmem: change all NVML strings to PMDK 2018-04-07 00:07:57 -04:00
part.c bdev: Wait for io device to unregister in bdev_part 2018-04-17 11:47:09 -04:00
scsi_nvme.c nvme_spec: remove SGL Sub Type Invalid status code 2017-09-22 17:11:53 -04:00
vtune.c bdev: disable new GCC 7 warning in VTune code 2018-03-19 15:58:15 -04:00