From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:35297) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cqii8-0003HO-8T for qemu-devel@nongnu.org; Wed, 22 Mar 2017 12:02:14 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cqii2-0007N9-4x for qemu-devel@nongnu.org; Wed, 22 Mar 2017 12:02:08 -0400 Date: Wed, 22 Mar 2017 12:01:43 -0400 From: Jeff Cody Message-ID: <20170322160143.GH3411@localhost.localdomain> References: <148969972666.96.6167903765236289989@6c512846dbc7> <18a5e8e8-36bf-62ed-7cdd-f576c6700dc3@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <18a5e8e8-36bf-62ed-7cdd-f576c6700dc3@redhat.com> Subject: Re: [Qemu-devel] [PATCH v2 0/3] block: pause block jobs for bdrv_drain_begin/end List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: John Snow Cc: qemu-devel@nongnu.org, famz@redhat.com, qemu-block@nongnu.org, kwolf@redhat.com, pbonzini@redhat.com On Wed, Mar 22, 2017 at 11:37:15AM -0400, John Snow wrote: > ping, is this the only issue? Any feedback? If this can hit 2.9 that > would be good. > The series looks fine to me, and I can patch up the nit from patchew when applying. But do you happen to have a qemu-iotest for this case, or is it not very feasible to create one? > > On 03/16/2017 05:28 PM, no-reply@patchew.org wrote: > > Hi, > > > > This series seems to have some coding style problems. See output below for > > more information: > > > > Type: series > > Subject: [Qemu-devel] [PATCH v2 0/3] block: pause block jobs for bdrv_drain_begin/end > > Message-id: 20170316212351.13797-1-jsnow@redhat.com > > > > === TEST SCRIPT BEGIN === > > #!/bin/bash > > > > BASE=base > > n=1 > > total=$(git log --oneline $BASE.. | wc -l) > > failed=0 > > > > # Useful git options > > git config --local diff.renamelimit 0 > > git config --local diff.renames True > > > > 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/20170316212351.13797-1-jsnow@redhat.com -> patchew/20170316212351.13797-1-jsnow@redhat.com > > Switched to a new branch 'test' > > 1cca6f3 blockjob: add devops to blockjob backends > > 864d906 block-backend: add drained_begin / drained_end ops > > 5e4f22d blockjob: add block_job_start_shim > > > > === OUTPUT BEGIN === > > Checking PATCH 1/3: blockjob: add block_job_start_shim... > > Checking PATCH 2/3: block-backend: add drained_begin / drained_end ops... > > ERROR: suspect code indent for conditional statements (8, 14) > > #70: FILE: block/block-backend.c:1903: > > + if (blk->dev_ops && blk->dev_ops->drained_end) { > > + blk->dev_ops->drained_end(blk->dev_opaque); > > > > total: 1 errors, 0 warnings, 67 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 3/3: blockjob: add devops to blockjob backends... > > === OUTPUT END === > > > > Test command exited with code: 1 > > > > > > --- > > Email generated automatically by Patchew [http://patchew.org/]. > > Please send your feedback to patchew-devel@freelists.org > >