From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:53109) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cwTH3-0002ce-Br for qemu-devel@nongnu.org; Fri, 07 Apr 2017 08:45:58 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cwTH2-00008f-EH for qemu-devel@nongnu.org; Fri, 07 Apr 2017 08:45:57 -0400 Date: Fri, 7 Apr 2017 14:45:43 +0200 From: Kevin Wolf Message-ID: <20170407124543.GD4716@noname.redhat.com> References: <20170407065414.9143-1-famz@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20170407065414.9143-1-famz@redhat.com> Subject: Re: [Qemu-devel] [PATCH v2 0/6] block: Fixes regarding dataplane and management operations List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Fam Zheng Cc: qemu-devel@nongnu.org, Paolo Bonzini , qemu-block@nongnu.org, Ed Swierk , Max Reitz , Eric Blake , Stefan Hajnoczi Am 07.04.2017 um 08:54 hat Fam Zheng geschrieben: > v2: - Drop patch 4 in v1. A second thought made me feel neither it nor Kevin's > suggestion to move the BH process to bdrv_drain_recurse/BDRV_POLL_WHILE > is a complete fix. So leave it for a separate patch. > - Add rev-by to patches 1, 3, 4. > - Split from patch 1 in v1 and add patch 2, for the new assertions. [Kevin] > - Rewrite patch 5. Fix block job's co when a BDS is moved to a different > aio context. [Kevin] > - Add patch 6. > > Crashes are reported on dataplane devices when doing snapshot and commit under > guest I/O. > > With this series, Ed's test case '176' now passes (reran 10+ times): > > https://github.com/skyportsystems/qemu-1/commits/eswierk-iotests-2.9 > > The biggest fix for this is patch 5, which fixes a race condition between main > thread and iothread. Thanks, applied patch 1-3 for now. I feel the other patches still need closer review and potentially discussion. Kevin