Loading
bdevperf: Set timeout to detect starved I/O and count timeout I/Os
The following patches will abort the timeout I/O in bdevperf tool. This is a preparation. Add CLI option to set timeout to detect starved I/O and add count of timeout I/Os to stats. spdk_bdev_set_timeout() disables timeout if timeout value is zero. Hence we do not have to check if g_timeout_in_sec is not zero. Signed-off-by:Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Change-Id: I201682acd321ecd414cfbfd9f5445bf3dc934b41 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/2625 Community-CI: Mellanox Build Bot Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by:
Aleksey Marchuk <alexeymar@mellanox.com> Reviewed-by:
Jim Harris <james.r.harris@intel.com>