23.08.2023 20:55, Eric Blake wrote:
On Wed, Aug 23, 2023 at 08:51:53AM +0300, Michael Tokarev wrote:
Signed-off-by: Michael Tokarev <m...@tls.msk.ru>
---

+++ b/tests/qemu-iotests/298
@@ -142,5 +142,5 @@ class TestTruncate(iotests.QMPTestCase):
# Probably we'll want preallocate filter to keep align to cluster when
-        # shrink preallocation, so, ignore small differece
+        # shrink preallocation, so, ignore small difference

The sentence as a whole still comes across awkwardly; maybe shorten and reword 
to:

Yeah. I especially didn't tweak wording, - there are a LOT of places
which needs additional tweaking, and the patch set is already way too
large...  It was tempting to tweak some of these but I decided to draw
the line somewhere.

The preallocate filter may keep cluster alignment when shrinking, so
ignore small differences

Hwell :)


+++ b/tests/unit/test-throttle.c
@@ -136,5 +136,5 @@ static void test_compute_wait(void)
          g_assert(double_cmp(bkt.level, (i + 1) * (bkt.max - bkt.avg) / 10));
          /* We can do bursts for the 2 seconds we have configured in
-         * burst_length. We have 100 extra miliseconds of burst
+         * burst_length. We have 100 extra milliseconds of burst
           * because bkt.level has been leaking during this time.
           * After that, we have to wait. */
@@ -380,5 +380,5 @@ static void test_is_valid(void)
      /* zero are valids */
      test_is_valid_for_value(0, true);
-    /* positives numers are valids */
+    /* positives numbers are valids */

Multiple grammar errors in this function.  Should be:

/* negative numbers are invalid */
/* zero is valid */
/* positive numbers are valid */

Actually I missed this "valids" somehow, even after additional
re-reading of the changes.

Still, these are *grammar* errors, not spelling errors, so the
subject line does not fit anymore :)

All other changes in this patch look good.  With additional tweaks,

Reviewed-by: Eric Blake <ebl...@redhat.com>

Adding extra comment about the grammar changes to the commit message :)

Thank you!

/mjt

Reply via email to