]> www.infradead.org Git - users/hch/fsqual.git/commitdiff
Correct wrong sense of more reporting (size-changing is when pretrucate==false)
authorAvi Kivity <avi@scylladb.com>
Mon, 28 Dec 2020 15:43:52 +0000 (17:43 +0200)
committerAvi Kivity <avi@scylladb.com>
Mon, 28 Dec 2020 15:43:52 +0000 (17:43 +0200)
fsqual.cc

index fcc9566ffbdc20673a6c2a357476ae6aa31ba5db..4aeb3fc2939741d1af281d82be7cf7107cea23ee 100644 (file)
--- a/fsqual.cc
+++ b/fsqual.cc
@@ -81,7 +81,7 @@ void test_concurrent_append(io_context_t ioctx, int fd, unsigned iodepth, size_t
     }
     auto rate = float(ctxsw) / nr;
     auto verdict = rate < 0.1 ? "GOOD" : "BAD";
-    auto mode = std::string(pretruncate ? "size-changing" : "size-unchanging");
+    auto mode = std::string(pretruncate ? "size-unchanging" : "size-changing");
     if (prezero) {
         mode += ", prezero";
     }