Skip to contentSkip to conversation

Recent changes (master)

PATCH Jens Axboe 1 participant 1 message Aug 1, 2025

lore
Share & tools
lore

Jens Axboe

author
#0 lore raw

The following changes since commit 306d89868d07b98d1683585468d232703007e0da:

engines/io_uring: don't duplicate open/close file code (2025-07-23 14:22:36 -0600)

are available in the Git repository at:

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

for you to fetch changes up to 6e8c646c310219bf4026d74f02ce4652d27866ff:

eta: convert skip_eta() to ANSI C declaration (2025-07-31 11:19:21 -0400)

----------------------------------------------------------------
Tomas Winkler (2):
filesetup: make longest_existing_path() static and const-correct
eta: convert skip_eta() to ANSI C declaration

 eta.c       | 2 +-
 filesetup.c | 3 ++-
 2 files changed, 3 insertions(+), 2 deletions(-)

---

Diff of recent changes:

eta.c +1 -1
index 7d07708f..16109510 100644
@@ -381,7 +381,7 @@ bool eta_time_within_slack(unsigned int time)
  * These are the conditions under which we might be able to skip the eta
  * calculation.
  */
-static bool skip_eta()
+static bool skip_eta(void)
 {
 	if (!(output_format & FIO_OUTPUT_NORMAL) && f_out == stdout)
 		return true;
filesetup.c +2 -1
index a94d3b38..bcbd871e 100644
@@ -1002,7 +1002,8 @@ uint64_t get_start_offset(struct thread_data *td, struct fio_file *f)
 /*
  * Find longest path component that exists and return its length
  */
-int longest_existing_path(char *path) {
+static int longest_existing_path(const char *path)
+{
 	char buf[PATH_MAX];
 	bool done;
 	char *buf_pos;