numam-spdk/include/spdk
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
..
assert.h include: move standard includes into spdk/stdinc.h 2017-05-08 10:11:01 -07:00
barrier.h barrier: added spdk_smp_*mb to sync between cores 2017-11-29 10:51:42 -05:00
bdev.h bdev: a new public function to get the I/O statistics of bdev 2018-05-23 17:49:21 +00:00
bit_array.h include/bitarray: add comments for public APIs 2018-03-07 19:12:19 -05:00
blob_bdev.h bdev: rename spdk_bdev_module_if -> spdk_bdev_module 2018-03-13 00:55:12 -04:00
blob.h blob: remove deprecated bs_io_*_blob functions 2018-05-11 23:58:48 +00:00
blobfs.h include/blobfs.h: add comments for public APIs 2018-03-29 22:52:18 -04:00
conf.h include/conf: add comments for public APIs 2018-02-26 11:59:09 -05:00
copy_engine.h copy_engine: Support dump config text for IOAT config 2018-04-04 12:18:31 -04:00
cpuset.h include/cpuset.h: add comments for public APIs 2018-03-08 11:33:50 -05:00
crc16.h util/crc16: add crc16 library support and unit tests 2017-12-20 15:12:26 -05:00
crc32.h include: wrap header files in extern "C" for c++ 2017-12-07 19:13:47 -05:00
endian.h include: move standard includes into spdk/stdinc.h 2017-05-08 10:11:01 -07:00
env.h env: Explicitly fail calls to spdk_malloc with flags of 0 2018-05-11 16:16:38 +00:00
event.h rpc: Add start_subsystems_init RPC to start subsystems when -w option is used 2018-05-03 19:48:15 +00:00
fd.h include/fd.h: add comments for pubclic APIs 2018-01-04 12:12:10 -05:00
gpt_spec.h bdev/gpt: dump partition name 2017-07-12 18:12:52 -04:00
histogram_data.h util: enable dynamic spdk_histogram_data sizing 2017-12-29 14:20:48 -05:00
io_channel.h io_channel: add return value to pollers 2018-03-13 11:16:20 -04:00
ioat_spec.h include: move standard includes into spdk/stdinc.h 2017-05-08 10:11:01 -07:00
ioat.h include/ioat.h: add comments for public APIs 2018-03-14 13:02:06 -04:00
iscsi_spec.h iscsi: fix layout of logout request reason field 2017-09-22 16:11:11 -04:00
json.h json: add va_arg versions for write_string and write_named_string 2018-02-23 15:27:16 -05:00
jsonrpc.h rpc: Add state_mask to each RPC method to make sets of RPCs 2018-05-03 19:48:15 +00:00
likely.h include: move standard includes into spdk/stdinc.h 2017-05-08 10:11:01 -07:00
log.h include/log.h: add comments for public APIs 2018-04-09 13:13:59 -04:00
lvol.h include/lvol.h: add comments for public APIs 2018-05-22 21:12:52 +00:00
mmio.h mmio: add functions for 1 and 2 byte I/O accesses 2017-10-13 10:46:00 -04:00
nbd.h nbd: add JSON config dump 2018-04-24 21:46:42 +00:00
net.h include/net.h: remove non public functions to private header file 2018-04-11 12:10:14 -04:00
nvme_intel.h include: move standard includes into spdk/stdinc.h 2017-05-08 10:11:01 -07:00
nvme_spec.h nvme_spec: add Transport SGL Data Block descriptor 2018-04-30 17:18:40 +00:00
nvme.h nvme: add API to get maximum data transfer size 2018-05-09 17:20:11 +00:00
nvmf_spec.h scripts/check_format: check for spaces before tabs 2018-03-05 11:09:13 -05:00
nvmf.h nvmf: Statically size the subsystems arrays 2018-05-09 23:31:54 +00:00
pci_ids.h nvme: add a quirk for identify 0x2 2018-05-10 19:38:54 +00:00
queue_extras.h scripts/check_format: check for spaces before tabs 2018-03-05 11:09:13 -05:00
queue.h Add extern "C" wrapper to all public headers 2016-02-12 07:52:35 -07:00
rpc.h rpc: Add state_mask to each RPC method to make sets of RPCs 2018-05-03 19:48:15 +00:00
scsi_spec.h scripts/check_format: check for spaces before tabs 2018-03-05 11:09:13 -05:00
scsi.h scripts/check_format: check for spaces before tabs 2018-03-05 11:09:13 -05:00
sock.h sock: add sock_group abstraction 2018-02-13 19:25:22 -05:00
stdinc.h build: Automatically detect use of POSIX includes 2017-05-08 13:20:37 -07:00
string.h include/string.h: add comments for public APIs 2018-05-17 23:01:00 +00:00
trace.h lib: Return instead of exit in trace 2018-03-13 00:53:35 -04:00
util.h util: add spdk_u32_is_pow2() function 2017-08-11 19:36:30 -04:00
uuid.h include/uuid.h: add comments for public APIs 2018-04-10 15:44:17 -04:00
version.h version: SPDK 18.07-pre 2018-04-30 16:44:19 +00:00
vhost.h vhost: add JSON config dump 2018-04-16 19:27:33 -04:00