engines/http: set FIO_SYNCIO flag
PATCH 1/1 engines/http: set FIO_SYNCIO flag
From: Vincent Fu <[email protected]>
This ioengine carries out synchronous operations. So the FIO_SYNCIO flag needs to be set in order for latencies to be calculated correctly.
--- engines/http.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
engines/http.c +1 -1
@@ -642,7 +642,7 @@ static int fio_http_invalidate(struct thread_data *td, struct fio_file *f)static struct ioengine_ops ioengine = { .name ="http" , .version =FIO_IOOPS_VERSION , - .flags =FIO_DISKLESSIO , + .flags =FIO_DISKLESSIO |FIO_SYNCIO , .setup = fio_http_setup, .queue = fio_http_queue, .getevents = fio_http_getevents,
Signature · 1 line
2.17.1
Jens Axboe
AppliedQuoted 4 lines · On 7/9/19 8:54 AM, [email protected] wrote:
From: Vincent Fu <[email protected]>
This ioengine carries out synchronous operations. So the
FIO_SYNCIOflag needs to be set in order for latencies to be calculated correctly.
Applied, thanks.
Signature · 1 line
Jens Axboe