Skip to contentSkip to conversation

Recent changes (master)

PATCH Jens Axboe 1 participant 1 message Dec 1, 2022

lore
Share & tools
lore

Jens Axboe

author
#0 lore raw

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:

backend.c +2 -1
index ba954a6b..928e524a 100644
@@ -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;
blktrace.c +2 -1
index 00e5f9a9..d5c8aee7 100644
@@ -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;
 	}
iolog.c +2 -1
index aa9c3bb1..62f2f524 100644
@@ -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;
 	}