X-Git-Url: https://git.kernel.dk/?p=fio.git;a=blobdiff_plain;f=blktrace.c;h=e18047658953f718fdded2212bee42237c42ac9a;hp=00e5f9a9b7d2b621b80bc50008b1b8f391f6ee76;hb=HEAD;hpb=e4d384755e4831cf5bbaa97e0c5b79a3598efbc4 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; }