All of lore.kernel.org
 help / color / mirror / Atom feed
From: no-reply@patchew.org
To: kwolf@redhat.com
Cc: famz@redhat.com, qemu-block@nongnu.org, qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [PULL 00/35] Block layer patches
Date: Mon, 18 Jun 2018 11:50:00 -0700 (PDT)	[thread overview]
Message-ID: <152934779976.768.12352928157538554479@d39dc562802a> (raw)
In-Reply-To: <20180618164504.24488-1-kwolf@redhat.com>

Hi,

This series seems to have some coding style problems. See output below for
more information:

Type: series
Message-id: 20180618164504.24488-1-kwolf@redhat.com
Subject: [Qemu-devel] [PULL 00/35] Block layer patches

=== TEST SCRIPT BEGIN ===
#!/bin/bash

BASE=base
n=1
total=$(git log --oneline $BASE.. | wc -l)
failed=0

git config --local diff.renamelimit 0
git config --local diff.renames True
git config --local diff.algorithm histogram

commits="$(git log --format=%H --reverse $BASE..)"
for c in $commits; do
    echo "Checking PATCH $n/$total: $(git log -n 1 --format=%s $c)..."
    if ! git show $c --format=email | ./scripts/checkpatch.pl --mailback -; then
        failed=1
        echo
    fi
    n=$((n+1))
done

exit $failed
=== TEST SCRIPT END ===

Updating 3c8cf5a9c21ff8782164d1def7f44bd888713384
From https://github.com/patchew-project/qemu
 * [new tag]               patchew/20180618164504.24488-1-kwolf@redhat.com -> patchew/20180618164504.24488-1-kwolf@redhat.com
Switched to a new branch 'test'
261e944402 iotests: Add test for active mirroring
d3a0ca0eea block/mirror: Add copy mode QAPI interface
b764786814 block/mirror: Add active mirroring
8895e3d343 job: Add job_progress_increase_remaining()
bbf2bb9443 block/mirror: Add MirrorBDSOpaque
ba9ab133e7 block/dirty-bitmap: Add bdrv_dirty_iter_next_area
e30cbdb941 test-hbitmap: Add non-advancing iter_next tests
5e2182782b hbitmap: Add @advance param to hbitmap_iter_next()
36f4266813 block: Generalize should_update_child() rule
ba264cc757 block/mirror: Use source as a BdrvChild
063fc71753 block/mirror: Wait for in-flight op conflicts
af955a4481 block/mirror: Use CoQueue to wait on in-flight ops
997541f920 block/mirror: Convert to coroutines
b64d9ae31a block/mirror: Pull out mirror_perform()
663ef8298d block: fix QEMU crash with scsi-hd and drive_del
6c3f8c482a test-bdrv-drain: Test graph changes in drain_all section
68fc9aff1c block: Allow graph changes in bdrv_drain_all_begin/end sections
d1d3ed6904 block: ignore_bds_parents parameter for drain functions
f8c0b911e0 block: Move bdrv_drain_all_begin() out of coroutine context
a3788f4f63 block: Allow AIO_WAIT_WHILE with NULL ctx
b81b248bc3 test-bdrv-drain: Test that bdrv_drain_invoke() doesn't poll
ded108f0fe block: Defer .bdrv_drain_begin callback to polling phase
bba3bdfe5c test-bdrv-drain: Graph change through parent callback
caee2b495b block: Don't poll in parent drain callbacks
b53788a5c5 test-bdrv-drain: Test node deletion in subtree recursion
9463657eee block: Drain recursively with a single BDRV_POLL_WHILE()
7d60930932 test-bdrv-drain: Add test for node deletion
bf34a48b66 block: Remove bdrv_drain_recurse()
2b0389a675 block: Really pause block jobs on drain
f47738d5fb block: Avoid unnecessary aio_poll() in AIO_WAIT_WHILE()
b942cc966d tests/test-bdrv-drain: bdrv_drain_all() works in coroutines now
b42befd0f8 block: Don't manually poll in bdrv_drain_all()
8e5f337a97 block: Remove 'recursive' parameter from bdrv_drain_invoke()
dbe66b7ff7 block: Use bdrv_do_drain_begin/end in bdrv_drain_all()
e2fdbc78df test-bdrv-drain: bdrv_drain() works with cross-AioContext events

=== OUTPUT BEGIN ===
Checking PATCH 1/35: test-bdrv-drain: bdrv_drain() works with cross-AioContext events...
Checking PATCH 2/35: block: Use bdrv_do_drain_begin/end in bdrv_drain_all()...
Checking PATCH 3/35: block: Remove 'recursive' parameter from bdrv_drain_invoke()...
Checking PATCH 4/35: block: Don't manually poll in bdrv_drain_all()...
Checking PATCH 5/35: tests/test-bdrv-drain: bdrv_drain_all() works in coroutines now...
Checking PATCH 6/35: block: Avoid unnecessary aio_poll() in AIO_WAIT_WHILE()...
ERROR: trailing statements should be on next line
#38: FILE: block/io.c:190:
+    while (aio_poll(bs->aio_context, false));

ERROR: braces {} are necessary for all arms of this statement
#38: FILE: block/io.c:190:
+    while (aio_poll(bs->aio_context, false));
[...]

total: 2 errors, 0 warnings, 60 lines checked

Your patch has style problems, please review.  If any of these errors
are false positives report them to the maintainer, see
CHECKPATCH in MAINTAINERS.

Checking PATCH 7/35: block: Really pause block jobs on drain...
Checking PATCH 8/35: block: Remove bdrv_drain_recurse()...
Checking PATCH 9/35: test-bdrv-drain: Add test for node deletion...
Checking PATCH 10/35: block: Drain recursively with a single BDRV_POLL_WHILE()...
Checking PATCH 11/35: test-bdrv-drain: Test node deletion in subtree recursion...
WARNING: line over 80 characters
#85: FILE: tests/test-bdrv-drain.c:1034:
+    g_test_add_func("/bdrv-drain/detach/drain_subtree", test_detach_by_drain_subtree);

total: 0 errors, 1 warnings, 68 lines checked

Your patch has style problems, please review.  If any of these errors
are false positives report them to the maintainer, see
CHECKPATCH in MAINTAINERS.
Checking PATCH 12/35: block: Don't poll in parent drain callbacks...
Checking PATCH 13/35: test-bdrv-drain: Graph change through parent callback...
WARNING: line over 80 characters
#81: FILE: tests/test-bdrv-drain.c:1049:
+    child_a = bdrv_attach_child(parent_b, a, "PB-A", &child_backing, &error_abort);

total: 0 errors, 1 warnings, 142 lines checked

Your patch has style problems, please review.  If any of these errors
are false positives report them to the maintainer, see
CHECKPATCH in MAINTAINERS.
Checking PATCH 14/35: block: Defer .bdrv_drain_begin callback to polling phase...
Checking PATCH 15/35: test-bdrv-drain: Test that bdrv_drain_invoke() doesn't poll...
Checking PATCH 16/35: block: Allow AIO_WAIT_WHILE with NULL ctx...
Checking PATCH 17/35: block: Move bdrv_drain_all_begin() out of coroutine context...
WARNING: line over 80 characters
#27: FILE: block/io.c:270:
+            bdrv_do_drained_begin(bs, data->recursive, data->parent, data->poll);

total: 0 errors, 1 warnings, 41 lines checked

Your patch has style problems, please review.  If any of these errors
are false positives report them to the maintainer, see
CHECKPATCH in MAINTAINERS.
Checking PATCH 18/35: block: ignore_bds_parents parameter for drain functions...
Checking PATCH 19/35: block: Allow graph changes in bdrv_drain_all_begin/end sections...
ERROR: do not initialise globals to 0 or NULL
#123: FILE: block/io.c:477:
+unsigned int bdrv_drain_all_count = 0;

ERROR: trailing statements should be on next line
#132: FILE: block/io.c:486:
+    while (aio_poll(qemu_get_aio_context(), false));

ERROR: braces {} are necessary for all arms of this statement
#132: FILE: block/io.c:486:
+    while (aio_poll(qemu_get_aio_context(), false));
[...]

total: 3 errors, 0 warnings, 193 lines checked

Your patch has style problems, please review.  If any of these errors
are false positives report them to the maintainer, see
CHECKPATCH in MAINTAINERS.

Checking PATCH 20/35: test-bdrv-drain: Test graph changes in drain_all section...
Checking PATCH 21/35: block: fix QEMU crash with scsi-hd and drive_del...
Checking PATCH 22/35: block/mirror: Pull out mirror_perform()...
Checking PATCH 23/35: block/mirror: Convert to coroutines...
Checking PATCH 24/35: block/mirror: Use CoQueue to wait on in-flight ops...
Checking PATCH 25/35: block/mirror: Wait for in-flight op conflicts...
Checking PATCH 26/35: block/mirror: Use source as a BdrvChild...
Checking PATCH 27/35: block: Generalize should_update_child() rule...
Checking PATCH 28/35: hbitmap: Add @advance param to hbitmap_iter_next()...
Checking PATCH 29/35: test-hbitmap: Add non-advancing iter_next tests...
Checking PATCH 30/35: block/dirty-bitmap: Add bdrv_dirty_iter_next_area...
Checking PATCH 31/35: block/mirror: Add MirrorBDSOpaque...
Checking PATCH 32/35: job: Add job_progress_increase_remaining()...
Checking PATCH 33/35: block/mirror: Add active mirroring...
Checking PATCH 34/35: block/mirror: Add copy mode QAPI interface...
Checking PATCH 35/35: iotests: Add test for active mirroring...
WARNING: added, moved or deleted file(s), does MAINTAINERS need updating?
#14: 
new file mode 100755

total: 0 errors, 1 warnings, 132 lines checked

Your patch has style problems, please review.  If any of these errors
are false positives report them to the maintainer, see
CHECKPATCH in MAINTAINERS.
=== OUTPUT END ===

Test command exited with code: 1


---
Email generated automatically by Patchew [http://patchew.org/].
Please send your feedback to patchew-devel@redhat.com

  parent reply	other threads:[~2018-06-18 18:50 UTC|newest]

Thread overview: 49+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-06-18 16:44 [Qemu-devel] [PULL 00/35] Block layer patches Kevin Wolf
2018-06-18 16:44 ` [Qemu-devel] [PULL 01/35] test-bdrv-drain: bdrv_drain() works with cross-AioContext events Kevin Wolf
2018-06-18 16:44 ` [Qemu-devel] [PULL 02/35] block: Use bdrv_do_drain_begin/end in bdrv_drain_all() Kevin Wolf
2018-06-18 16:44 ` [Qemu-devel] [PULL 03/35] block: Remove 'recursive' parameter from bdrv_drain_invoke() Kevin Wolf
2018-06-18 16:44 ` [Qemu-devel] [PULL 04/35] block: Don't manually poll in bdrv_drain_all() Kevin Wolf
2018-06-18 16:44 ` [Qemu-devel] [PULL 05/35] tests/test-bdrv-drain: bdrv_drain_all() works in coroutines now Kevin Wolf
2018-06-18 16:44 ` [Qemu-devel] [PULL 06/35] block: Avoid unnecessary aio_poll() in AIO_WAIT_WHILE() Kevin Wolf
2018-06-18 16:44 ` [Qemu-devel] [PULL 07/35] block: Really pause block jobs on drain Kevin Wolf
2018-06-18 16:44 ` [Qemu-devel] [PULL 08/35] block: Remove bdrv_drain_recurse() Kevin Wolf
2018-06-18 16:44 ` [Qemu-devel] [PULL 09/35] test-bdrv-drain: Add test for node deletion Kevin Wolf
2018-06-18 16:44 ` [Qemu-devel] [PULL 10/35] block: Drain recursively with a single BDRV_POLL_WHILE() Kevin Wolf
2018-06-18 16:44 ` [Qemu-devel] [PULL 11/35] test-bdrv-drain: Test node deletion in subtree recursion Kevin Wolf
2018-06-18 16:44 ` [Qemu-devel] [PULL 12/35] block: Don't poll in parent drain callbacks Kevin Wolf
2018-06-18 16:44 ` [Qemu-devel] [PULL 13/35] test-bdrv-drain: Graph change through parent callback Kevin Wolf
2018-06-18 16:44 ` [Qemu-devel] [PULL 14/35] block: Defer .bdrv_drain_begin callback to polling phase Kevin Wolf
2018-06-18 16:44 ` [Qemu-devel] [PULL 15/35] test-bdrv-drain: Test that bdrv_drain_invoke() doesn't poll Kevin Wolf
2018-06-18 16:44 ` [Qemu-devel] [PULL 16/35] block: Allow AIO_WAIT_WHILE with NULL ctx Kevin Wolf
2018-06-18 16:44 ` [Qemu-devel] [PULL 17/35] block: Move bdrv_drain_all_begin() out of coroutine context Kevin Wolf
2018-06-18 16:44 ` [Qemu-devel] [PULL 18/35] block: ignore_bds_parents parameter for drain functions Kevin Wolf
2018-06-18 16:44 ` [Qemu-devel] [PULL 19/35] block: Allow graph changes in bdrv_drain_all_begin/end sections Kevin Wolf
2018-06-18 16:44 ` [Qemu-devel] [PULL 20/35] test-bdrv-drain: Test graph changes in drain_all section Kevin Wolf
2018-06-18 16:44 ` [Qemu-devel] [PULL 21/35] block: fix QEMU crash with scsi-hd and drive_del Kevin Wolf
2018-08-06 22:04   ` Eric Blake
2018-08-07 19:57     ` Eric Blake
2018-08-08  9:33       ` Vladimir Sementsov-Ogievskiy
2018-08-08 14:32         ` Vladimir Sementsov-Ogievskiy
2018-08-08 14:53           ` Eric Blake
2018-08-08 11:40       ` Vladimir Sementsov-Ogievskiy
2018-08-08 12:53         ` Eric Blake
2018-06-18 16:44 ` [Qemu-devel] [PULL 22/35] block/mirror: Pull out mirror_perform() Kevin Wolf
2018-06-18 16:44 ` [Qemu-devel] [PULL 23/35] block/mirror: Convert to coroutines Kevin Wolf
2018-06-18 16:44 ` [Qemu-devel] [PULL 24/35] block/mirror: Use CoQueue to wait on in-flight ops Kevin Wolf
2018-06-18 16:44 ` [Qemu-devel] [PULL 25/35] block/mirror: Wait for in-flight op conflicts Kevin Wolf
2018-06-18 16:44 ` [Qemu-devel] [PULL 26/35] block/mirror: Use source as a BdrvChild Kevin Wolf
2018-06-18 16:44 ` [Qemu-devel] [PULL 27/35] block: Generalize should_update_child() rule Kevin Wolf
2018-06-18 16:44 ` [Qemu-devel] [PULL 28/35] hbitmap: Add @advance param to hbitmap_iter_next() Kevin Wolf
2018-06-18 16:44 ` [Qemu-devel] [PULL 29/35] test-hbitmap: Add non-advancing iter_next tests Kevin Wolf
2018-06-18 16:44 ` [Qemu-devel] [PULL 30/35] block/dirty-bitmap: Add bdrv_dirty_iter_next_area Kevin Wolf
2018-08-03 15:17   ` Vladimir Sementsov-Ogievskiy
2018-06-18 16:45 ` [Qemu-devel] [PULL 31/35] block/mirror: Add MirrorBDSOpaque Kevin Wolf
2018-06-18 16:45 ` [Qemu-devel] [PULL 32/35] job: Add job_progress_increase_remaining() Kevin Wolf
2018-06-18 16:45 ` [Qemu-devel] [PULL 33/35] block/mirror: Add active mirroring Kevin Wolf
2018-08-03 15:20   ` Vladimir Sementsov-Ogievskiy
2018-06-18 16:45 ` [Qemu-devel] [PULL 34/35] block/mirror: Add copy mode QAPI interface Kevin Wolf
2018-06-18 16:45 ` [Qemu-devel] [PULL 35/35] iotests: Add test for active mirroring Kevin Wolf
2018-06-18 18:50 ` no-reply [this message]
2018-06-19 15:57 ` [Qemu-devel] [PULL 00/35] Block layer patches Peter Maydell
  -- strict thread matches above, loose matches on Subject: below --
2017-10-26 13:17 Kevin Wolf
2017-10-27 10:13 ` Peter Maydell

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=152934779976.768.12352928157538554479@d39dc562802a \
    --to=no-reply@patchew.org \
    --cc=famz@redhat.com \
    --cc=kwolf@redhat.com \
    --cc=qemu-block@nongnu.org \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.