X-Git-Url: https://git.kernel.dk/?a=blobdiff_plain;f=io_u.c;h=518d884f867565cd70b398281797712d0be84755;hb=ce35b1ece06ce27ebff111e47c2a6610c311a92b;hp=ea6c251859969b3e86775ea2ba4260de73d00194;hpb=3e260a46ea9a8de224c3d0a29a608da3440f284a;p=fio.git diff --git a/io_u.c b/io_u.c index ea6c2518..518d884f 100644 --- a/io_u.c +++ b/io_u.c @@ -1770,7 +1770,9 @@ void io_u_queued(struct thread_data *td, struct io_u *io_u) void fill_io_buffer(struct thread_data *td, void *buf, unsigned int min_write, unsigned int max_bs) { - if (!td->o.zero_buffers) { + if (td->o.buffer_pattern_bytes) + fill_buffer_pattern(td, buf, max_bs); + else if (!td->o.zero_buffers) { unsigned int perc = td->o.compress_percentage; if (perc) {