Skip to contentSkip to conversation

Recent changes (master)

PATCH Jens Axboe 1 participant 1 message Jan 31

lore
Share & tools
lore

Jens Axboe

author
#0 lore raw

The following changes since commit 2d953029b289b778e18c9418f7d596bd12232215:

Merge branch 'job-process-comm' of https://github.com/robertbaldyga/fio (2026-01-28 05:22:30 -0700)

are available in the Git repository at:

git://git.kernel.dk/fio.git master

for you to fetch changes up to a50d7ce532510ab467d307c1ee010386e20ee652:

Merge branch 'fix-fork-memleak' of https://github.com/malikoyv/fio (2026-01-30 08:03:56 -0700)

----------------------------------------------------------------
Jens Axboe (1):
Merge branch 'fix-fork-memleak' of https://github.com/malikoyv/fio

Yehor Malikov (1):

      backend: remove premature free of td->eo in parent process
 backend.c | 3 ---
 1 file changed, 3 deletions(-)

---

Diff of recent changes:

backend.c +0 -3
index 3a000464..568f306c 100644
@@ -2610,9 +2610,7 @@ reap:
 							strerror(ret));
 			} else {
 				pid_t pid;
-				void *eo;
 				dprint(FD_PROCESS, "will fork\n");
-				eo = td->eo;
 				read_barrier();
 				pid = fork();
 				if (!pid) {
@@ -2625,7 +2623,6 @@ reap:
 					_exit(ret);
 				} else if (__td_index == fio_debug_jobno)
 					*fio_debug_jobp = pid;
-				free(eo);
 				free(fd);
 				fd = NULL;
 			}