X-Git-Url: https://git.kernel.dk/?a=blobdiff_plain;f=io_u.c;h=404c75b382ab5e187a23ea33134092e05b40f2a8;hb=bb36ebad32a8fc50cb11f5bb661064754cc0e54e;hp=6083eaa92eec4bfdfa485379367e92c458bb92cf;hpb=b2b3eefe6db21daac41f162a102c0a7c5241acfd;p=fio.git diff --git a/io_u.c b/io_u.c index 6083eaa9..404c75b3 100644 --- a/io_u.c +++ b/io_u.c @@ -1994,7 +1994,7 @@ static void io_completed(struct thread_data *td, struct io_u **io_u_ptr, } if (ddir_sync(ddir)) { - td->last_was_sync = 1; + td->last_was_sync = true; if (f) { f->first_write = -1ULL; f->last_write = -1ULL; @@ -2004,7 +2004,7 @@ static void io_completed(struct thread_data *td, struct io_u **io_u_ptr, return; } - td->last_was_sync = 0; + td->last_was_sync = false; td->last_ddir = ddir; if (!io_u->error && ddir_rw(ddir)) {