projects
/
fio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
c6cc1cf
)
client: fix nr_samples
author
Jeff Furlong
<jeff.furlong@wdc.com>
Fri, 31 Aug 2018 18:26:05 +0000
(18:26 +0000)
committer
Jens Axboe
<axboe@kernel.dk>
Fri, 31 Aug 2018 18:43:59 +0000
(12:43 -0600)
In convert_iolog_gz() a 32 bit variable is created to store struct cmd_iolog_pdu's 64 bit member.
Signed-off-by: Jens Axboe <axboe@kernel.dk>
client.c
patch
|
blob
|
blame
|
history
diff --git
a/client.c
b/client.c
index a868e3afec8a339e84cc3f9c4120758b51c3bff3..31c7c6495790e91018cface694803ff9bfcefa1e 100644
(file)
--- a/
client.c
+++ b/
client.c
@@
-1539,7
+1539,7
@@
static struct cmd_iolog_pdu *convert_iolog_gz(struct fio_net_cmd *cmd,
#ifdef CONFIG_ZLIB
struct cmd_iolog_pdu *ret;
z_stream stream;
- uint
32
_t nr_samples;
+ uint
64
_t nr_samples;
size_t total;
char *p;