The following changes since commit 967c5441fa3d3932ec50ea5623411cc6e8589463: docs: description for experimental_verify (2022-11-29 17:09:41 -0500) are available in the Git repository at: git://git.kernel.dk/fio.git master for you to fetch changes up to 6d8fe6e847bb43cf7db5eee4cf58fd490f12be47: backend: respect return value of init_io_u_buffers (2022-11-30 19:58:34 -0700) ---------------------------------------------------------------- Shin'ichiro Kawasaki (1): backend: respect return value of init_io_u_buffers backend.c | 3 ++- blktrace.c | 3 ++- iolog.c | 3 ++- 3 files changed, 6 insertions(+), 3 deletions(-) --- Diff of recent changes: diff --git a/backend.c b/backend.c index ba954a6b..928e524a 100644 --- a/backend.c +++ b/backend.c @@ -1301,7 +1301,8 @@ static int init_io_u(struct thread_data *td) } } - init_io_u_buffers(td); + if (init_io_u_buffers(td)) + return 1; if (init_file_completion_logging(td, max_units)) return 1; diff --git a/blktrace.c b/blktrace.c index 00e5f9a9..d5c8aee7 100644 --- a/blktrace.c +++ b/blktrace.c @@ -545,7 +545,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; } diff --git a/iolog.c b/iolog.c index aa9c3bb1..62f2f524 100644 --- a/iolog.c +++ b/iolog.c @@ -620,7 +620,8 @@ static bool read_iolog(struct thread_data *td) { io_u_quiesce(td); free_io_mem(td); - init_io_u_buffers(td); + if (init_io_u_buffers(td)) + return false; } return true; }