Add helper functions, bdev_iostat_ctx_alloc() and bdev_iostat_ctx_free() for the bdev_get_iostat RPC. The following patches will allocate spdk_bdev_io_stat dynamically for bdev_get_iostat_ctx. This is a preparation for that. Signed-off-by: Shuhei Matsumoto <smatsumoto@nvidia.com> Change-Id: Ib71d6fb92d8134d2282507e62874f19045b630b7 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/15442 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> Reviewed-by: Aleksey Marchuk <alexeymar@nvidia.com> |
||
---|---|---|
.. | ||
bdev_internal.h | ||
bdev_rpc.c | ||
bdev_zone.c | ||
bdev.c | ||
Makefile | ||
part.c | ||
scsi_nvme.c | ||
spdk_bdev.map | ||
vtune.c |