numam-spdk/lib
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
..
bdev bdev: a new public function to get the I/O statistics of bdev 2018-05-23 17:49:21 +00:00
blob blob: remove deprecated bs_io_*_blob functions 2018-05-11 23:58:48 +00:00
blobfs blobfs: sync length if append occurs after cache eviction 2018-04-11 16:03:14 -04:00
conf conf: don't strdup name if section already exist 2018-05-17 17:13:19 +00:00
copy copy/ioat: reduce log level of informational messages 2018-04-06 18:31:54 -04:00
cunit include: Move the remainder of the code base to stdinc.h 2017-05-08 13:20:36 -07:00
env_dpdk env_dpdk: handle RTE_BAD_IOVA correctly in vtophys_get_paddr_pagemap 2018-05-17 17:07:44 +00:00
event iscsi: Add JSON config dump for iSCSI subsystem 2018-05-09 17:18:30 +00:00
ioat scripts/check_format: check for spaces before tabs 2018-03-05 11:09:13 -05:00
iscsi iscsi: Fix two bugs of JSON config dump 2018-05-17 23:06:11 +00:00
json json: add va_arg versions for write_string and write_named_string 2018-02-23 15:27:16 -05:00
jsonrpc jsonrpc: make "jsonrpc" request field optional 2018-05-22 21:05:17 +00:00
log log: Make log_level and trace related RPCs callable during SPDK startup 2018-05-04 17:45:48 +00:00
lvol lvol: Creating 2 lvols simultaneously with same name 2018-04-17 14:03:22 -04:00
nbd nbd/rpc: make get_nbd_disks nbd_device param optional 2018-05-22 23:03:30 +00:00
net rpc: Add state_mask to each RPC method to make sets of RPCs 2018-05-03 19:48:15 +00:00
nvme nvme: make AER callback per-process 2018-05-22 18:17:43 +00:00
nvmf nvmf/rdma: Update handling of RDMA_CM_EVENTS 2018-05-22 21:48:04 +00:00
rocksdb rocksdb: remove nonsensical fallocate #ifdef 2018-03-27 12:41:12 -04:00
rpc rpc: Add option to get_rpc_methods RPC to output only currently usable RPCs 2018-05-04 17:45:48 +00:00
scsi rpc: Add state_mask to each RPC method to make sets of RPCs 2018-05-03 19:48:15 +00:00
trace app,lib: fix checking mmap return value 2018-03-30 16:18:34 -04:00
ut_mock test/mock: add pthread_self 2017-09-19 17:15:15 -04:00
util io_channel: add asserts in spdk_io_device_register 2018-04-18 12:33:25 -04:00
vhost vhost/scsi: remove the support of "Dev" for configuration file 2018-05-10 19:39:45 +00:00
virtio bdev/virtio: Abort on bad index in virtio_dev_queue_get_thread 2018-04-19 15:48:36 -04:00
Makefile virtio: add new library virtio 2017-12-26 13:03:29 -05:00