+83
−84
Loading
The bdev_get_iostat RPC uses two types of contexts, one to manage the progress of the bdev_get_iostat RPC and another to call spdk_bdev_get_device_stat(). However, this was hard to find from the source code. To make us easier to find this, rename the former by rpc_ctx and the latter by bdev_ctx. Then rename related functions and variables accordingly. Furthermore, relocate request and decoder declaration to improve readability. Signed-off-by:Shuhei Matsumoto <smatsumoto@nvidia.com> Change-Id: I3472c87fe4ec1f5981a49ef79148534fbb1d46c4 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/15349 Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by:
Aleksey Marchuk <alexeymar@nvidia.com> Reviewed-by:
Jim Harris <james.r.harris@intel.com>