fsx: support 64-bit operation counts
authorDarrick J. Wong <darrick.wong@oracle.com>
Wed, 5 Feb 2020 00:02:13 +0000 (16:02 -0800)
committerEryu Guan <guaneryu@gmail.com>
Sun, 9 Feb 2020 15:56:09 +0000 (23:56 +0800)
commit05730e20c354a289853ace9867ef83e29688c9f3
tree9aff3480bed578d214ee52005060346128611ae9
parent1f3f20c52f0a1bbddcfd45dbf589948d745c09e4
fsx: support 64-bit operation counts

Support 64-bit operation counts so that we can run long-soak tests for
more than 2 billion fsxops.

I figured that testcalls and simulatedopcount should both be signed
because numops is also signed.  Granted, I guess numops is signed so
that we can set it to the magic value -1 and have fsx run "forever".

[Eryu: add Darrick's explanation about why we change testcalls to a
signed value.]

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Eryu Guan <guaneryu@gmail.com>
Signed-off-by: Eryu Guan <guaneryu@gmail.com>
ltp/fsx.c