+2
−1
+13
−2
+1
−1
+11
−2
Loading
In current implementation of resetting stats explicit bdev_reset_iostat call is needed. It is not optimal for usecases when stat is obtained periodically and then resetted, because some stats may be lost in between of get and reset. Introduce new option for bdev_get_iostat that allows to reset stat right after obtaining it. Fixes #3525 Change-Id: I77a5ea9310718c25e678336e2450a04fb582c050 Signed-off-by:Vasilii Ivanov <iwanovvvasilij@gmail.com> Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/24900 Community-CI: Mellanox Build Bot Reviewed-by:
Jim Harris <jim.harris@samsung.com> Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com> Reviewed-by:
Shuhei Matsumoto <smatsumoto@nvidia.com> Reviewed-by:
Konrad Sztyber <konrad.sztyber@intel.com> Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com>