+1
−1
Loading
When bdev_get_iostat comes with the reset option, we should reset the channel or bdev's stat memory area, not that stat memory area temporarily allocated for rpc output. Fixes: 63e0c25d ("bdev: add reset_mode to bdev_get_iostat") Change-Id: I32caaca48c84600b6c3c403ae647d6d3ce6cd5ae Signed-off-by:Yao Liu <liuy35@chinatelecom.cn> Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/25441 Community-CI: Mellanox Build Bot Reviewed-by:
Shuhei Matsumoto <smatsumoto@nvidia.com> Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com> Reviewed-by:
GangCao <gang.cao@intel.com> Community-CI: Community CI Samsung <spdk.community.ci.samsung@gmail.com> Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by:
Changpeng Liu <changpeliu@tencent.com> Reviewed-by:
Konrad Sztyber <konrad.sztyber@intel.com>