X-Git-Url: https://git.kernel.dk/?a=blobdiff_plain;f=blktrace.c;h=ef9ce6bffd8686e1e5f5e7bf4f00828490495c2c;hb=79201772c8091386077bf3bdc31f53211a0e020d;hp=00e5f9a9b7d2b621b80bc50008b1b8f391f6ee76;hpb=e4d384755e4831cf5bbaa97e0c5b79a3598efbc4;p=fio.git diff --git a/blktrace.c b/blktrace.c index 00e5f9a9..ef9ce6bf 100644 --- a/blktrace.c +++ b/blktrace.c @@ -5,6 +5,7 @@ #include #include #include +#include #include "flist.h" #include "fio.h" @@ -545,7 +546,8 @@ bool read_blktrace(struct thread_data* td) td->o.max_bs[DDIR_TRIM] = max(td->o.max_bs[DDIR_TRIM], rw_bs[DDIR_TRIM]); io_u_quiesce(td); free_io_mem(td); - init_io_u_buffers(td); + if (init_io_u_buffers(td)) + return false; } return true; }