summaryrefslogtreecommitdiff
path: root/server.c
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2017-11-30 16:43:18 -0700
committerJens Axboe <axboe@kernel.dk>2017-11-30 16:43:18 -0700
commitc8caba48e826fbc5f4e6ea62f67dceec6269b307 (patch)
tree6ef42e52b6b61303a07af60f9138e2d500b0405b /server.c
parent785a0e210147557902a8cbef9698d7de20aa816a (diff)
downloadfio-c8caba48e826fbc5f4e6ea62f67dceec6269b307.tar.gz
fio-c8caba48e826fbc5f4e6ea62f67dceec6269b307.tar.bz2
steadystate: make flags conform to usual fio standard
__VAL are usually bit shift values, with VAL being the proper mask. For some reason, the steadystate code uses both as masks, fix that up. Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'server.c')
-rw-r--r--server.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/server.c b/server.c
index 0323125e..76d662d4 100644
--- a/server.c
+++ b/server.c
@@ -1556,7 +1556,7 @@ void fio_server_send_ts(struct thread_stat *ts, struct group_run_stats *rs)
convert_gs(&p.rs, rs);
dprint(FD_NET, "ts->ss_state = %d\n", ts->ss_state);
- if (ts->ss_state & __FIO_SS_DATA) {
+ if (ts->ss_state & FIO_SS_DATA) {
dprint(FD_NET, "server sending steadystate ring buffers\n");
ss_buf = malloc(sizeof(p) + 2*ts->ss_dur*sizeof(uint64_t));