Skip to contentSkip to conversation

Recent changes (master)

PATCH Jens Axboe 1 participant 1 message Sep 19, 2025

lore
Share & tools
lore

Jens Axboe

author
#0 lore raw

The following changes since commit 80d72cb05a6c54ea1b256dcd69e3e4fdc9294f4f:

t/io_uring: Vectored fixed buffer test support for nvme passthrough path (2025-09-17 07:19:51 -0600)

are available in the Git repository at:

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

for you to fetch changes up to f2c1d8f9d0c80d9e882a74c1e74fba7dfe1cd9f1:

Merge branch 'sprandom-log-fix' of https://github.com/tomas-winkler-sndk/fio (2025-09-18 11:42:56 -0400)

----------------------------------------------------------------
Tomas Winkler (2):
tests: add sprandom test cases
sprandom: fix warning: comparison will always evaluate as true

Vincent Fu (2):
Merge branch 'sprandom-tests' of https://github.com/tomas-winkler-sndk/fio
Merge branch 'sprandom-log-fix' of https://github.com/tomas-winkler-sndk/fio

 sprandom.c         |  12 ++--
 t/run-fio-tests.py |   8 +++
 t/sprandom.py      | 158 +++++++++++++++++++++++++++++++++++++++++++++++++++++
 3 files changed, 172 insertions(+), 6 deletions(-)
 create mode 100755 t/sprandom.py

---

Diff of recent changes:

sprandom.c +6 -6
index 7262eee3..5565b1a1 100644
@@ -120,11 +120,11 @@ static void print_d_array(const char *hdr, double *darray, size_t len)
 
 	buf_output_init(&out);
 
-	log_buf(&out, "[");
+	__log_buf(&out, "[");
 	for (i = 0; i < len - 1; i++)
-		log_buf(&out, "%.2f, ", darray[i]);
+		__log_buf(&out, "%.2f, ", darray[i]);
 
-	log_buf(&out, "%.2f]\n", darray[len - 1]);
+	__log_buf(&out, "%.2f]\n", darray[len - 1]);
 	if (hdr)
 		dprint(FD_SPRANDOM, "%s: ", hdr);
 
@@ -139,11 +139,11 @@ static void print_d_points(struct point *parray, size_t len)
 
 	buf_output_init(&out);
 
-	log_buf(&out, "[");
+	__log_buf(&out, "[");
 	for (i = 0; i < len - 1; i++)
-		log_buf(&out, "(%.2f %.2f), ", parray[i].x, parray[i].y);
+		__log_buf(&out, "(%.2f %.2f), ", parray[i].x, parray[i].y);
 
-	log_buf(&out, "(%.2f %.2f)]\n", parray[len - 1].x, parray[len - 1].y);
+	__log_buf(&out, "(%.2f %.2f)]\n", parray[len - 1].x, parray[len - 1].y);
 	dprint(FD_SPRANDOM, "%s", out.buf);
 	buf_output_free(&out);
 }
t/run-fio-tests.py +8 -0
index b4863297..363f2058 100755
@@ -1123,6 +1123,14 @@ TEST_LIST = [
         'success':          SUCCESS_DEFAULT,
         'requirements':     [Requirements.linux],
     },
+    {
+        'test_id':          1019,
+        'test_class':       FioExeTest,
+        'exe':              't/sprandom.py',
+        'parameters':       ['-f', '{fio_path}'],
+        'success':          SUCCESS_DEFAULT,
+        'requirements':     [Requirements.linux, Requirements.libaio],
+    },
 ]
 
 
t/sprandom.py new file +158 -0

158 lines not on this page · raw message