]> www.infradead.org Git - users/hch/fsqual.git/commitdiff
Report blocksize
authorAvi Kivity <avi@scylladb.com>
Mon, 28 Dec 2020 15:49:13 +0000 (17:49 +0200)
committerAvi Kivity <avi@scylladb.com>
Mon, 28 Dec 2020 15:49:13 +0000 (17:49 +0200)
Some tests are exactly the same except for the block size.

fsqual.cc

index 4aeb3fc2939741d1af281d82be7cf7107cea23ee..44903491c55d31a199565545e5cc076483ea0d69 100644 (file)
--- a/fsqual.cc
+++ b/fsqual.cc
@@ -85,6 +85,7 @@ void test_concurrent_append(io_context_t ioctx, int fd, unsigned iodepth, size_t
     if (prezero) {
         mode += ", prezero";
     }
+    mode += ", blocksize " + std::to_string(bufsize);
     std::cout << "context switch per appending io (mode " << mode << ", iodepth " << iodepth << "): " << rate
           << " (" << verdict << ")\n";
     auto ptr = mmap(nullptr, nr * 4096, PROT_READ|PROT_WRITE, MAP_SHARED, fd, 0);