]> www.infradead.org Git - users/hch/fsqual.git/commitdiff
Drop the word "mode" from the report
authorAvi Kivity <avi@scylladb.com>
Tue, 5 Jan 2021 11:20:00 +0000 (13:20 +0200)
committerAvi Kivity <avi@scylladb.com>
Tue, 5 Jan 2021 11:20:00 +0000 (13:20 +0200)
It doesn't do anything.

fsqual.cc

index 8b13bc00c050827bf5e7e79639a74fdd27fbdc2c..b65da029921ca533d11e05f75b4528965abc5f7b 100644 (file)
--- a/fsqual.cc
+++ b/fsqual.cc
@@ -102,7 +102,7 @@ void run_test(unsigned iodepth, size_t bufsize, bool pretruncate, bool prezero,
     if (dsync) {
         mode += ", O_DSYNC";
     }
-    std::cout << "context switch per io (mode " << mode << ", iodepth " << iodepth << "): " << rate
+    std::cout << "context switch per io (" << mode << ", iodepth " << iodepth << "): " << rate
           << " (" << verdict << ")\n";
     auto ptr = mmap(nullptr, nr * 4096, PROT_READ|PROT_WRITE, MAP_SHARED, fd, 0);
     auto incore = std::vector<uint8_t>(nr);