bdevperf: change type of io_completed to uint64_t

Reason: If test a very long time, it will overflow
when we use int

Change-Id: I729e8cb5862ab78808da5121666b41e599e1dddb
Signed-off-by: Ziye Yang <optimistyzy@gmail.com>
Reviewed-on: https://review.gerrithub.io/392122
Tested-by: SPDK Automated Test System <sys_sgsw@intel.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
Reviewed-by: Daniel Verkamp <daniel.verkamp@intel.com>
This commit is contained in:
Ziye Yang 2017-12-18 15:15:32 +08:00 committed by Jim Harris
parent 13ece6a735
commit 65a7fb47ff

View File

@ -84,7 +84,7 @@ struct io_target {
struct spdk_io_channel *ch;
struct io_target *next;
unsigned lcore;
int io_completed;
uint64_t io_completed;
int current_queue_depth;
uint64_t size_in_ios;
uint64_t offset_in_ios;