Spdk/lib/bdev
Daniel Verkamp 2ee95af0fd bdev: stop zeroing data in spdk_bdev_get_io_stat()
This will allow multiple independent callers to request I/O statistics
without stepping on each other (previously the stats would be reset on
each request, which only works with a single caller).

This also means that we can now allow requesting stats while the VTune
integration is enabled.

Change-Id: Ia9d4d6fd37fa66b3671cd33b3183c90524f955bd
Signed-off-by: Daniel Verkamp <daniel.verkamp@intel.com>
Reviewed-on: https://review.gerrithub.io/412257
Tested-by: SPDK Automated Test System <sys_sgsw@intel.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
Reviewed-by: Changpeng Liu <changpeng.liu@intel.com>
Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
2018-05-24 22:05:48 +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 lvol: add lvol inflate RPC call 2018-05-23 18:12:52 +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: stop zeroing data in spdk_bdev_get_io_stat() 2018-05-24 22:05:48 +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