Spdk/scripts/rpc
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
..
__init__.py rpc: Add option to get_rpc_methods RPC to output only currently usable RPCs 2018-05-04 17:45:48 +00:00
app.py scripts/rpc.py: pass client as separate parameter 2018-03-30 16:48:47 -04:00
bdev.py bdev: a new public function to get the I/O statistics of bdev 2018-05-23 17:49:21 +00:00
client.py scripts/rpc.py: Handle socket connection error 2018-04-12 11:24:04 -04:00
iscsi.py scripts/rpc.py: pass client as separate parameter 2018-03-30 16:48:47 -04:00
log.py scripts/rpc.py: pass client as separate parameter 2018-03-30 16:48:47 -04:00
lvol.py lvol: add destroy_lvol_bdev RPC method 2018-04-24 21:33:56 +00:00
nbd.py scripts/rpc.py: pass named args to nbd.py 2018-03-30 16:48:47 -04:00
net.py scripts/rpc.py: pass client as separate parameter 2018-03-30 16:48:47 -04:00
nvmf.py nvmf: add capability to add namespaces dynamically during active connection 2018-03-30 19:24:29 -04:00
pmem.py rpc: truncate num_blocks in create_pmem_pool 2018-05-03 19:46:28 +00:00
subsystem.py scripts/rpc.py: pass named args to subsystem.py 2018-03-30 16:48:47 -04:00
vhost.py rpc/vhost_nvme: add rpc support for vhost-nvme target 2018-04-20 15:24:50 -04:00