From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id C7899C433EF for ; Tue, 8 Mar 2022 11:14:30 +0000 (UTC) Received: from localhost ([::1]:36442 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nRXnR-0000Zr-Hq for qemu-devel@archiver.kernel.org; Tue, 08 Mar 2022 06:14:29 -0500 Received: from eggs.gnu.org ([209.51.188.92]:39068) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nRXmQ-0008GT-T7 for qemu-devel@nongnu.org; Tue, 08 Mar 2022 06:13:26 -0500 Received: from us-smtp-delivery-124.mimecast.com ([170.10.129.124]:59733) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nRXmL-0001zF-Vh for qemu-devel@nongnu.org; Tue, 08 Mar 2022 06:13:23 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1646738001; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=u1zA6UE2qgYn3eJrDhUGJlVfrbrXDtcgI4JnWdPHCmc=; b=gZf1nELZwWG15IF69V/VgJQfYKHXQjLRDyUGAcJ5jpBdoF3CrbCrGxkjZrgg3KlAMFDqir 212d3558FBcA9tUTVmdUyK0vDxdbb1gbHe9dldSYTPhP3os1Zbu3AakusNn22OpTGETLjo uqN/i49xeAZ0Rlu57A1zfhL9YPhcWBY= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-5-iOBfEdjCOhm-ivPInbzBYw-1; Tue, 08 Mar 2022 06:13:20 -0500 X-MC-Unique: iOBfEdjCOhm-ivPInbzBYw-1 Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.phx2.redhat.com [10.5.11.23]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id B79981006AA6; Tue, 8 Mar 2022 11:13:18 +0000 (UTC) Received: from localhost (unknown [10.39.193.143]) by smtp.corp.redhat.com (Postfix) with ESMTP id 1080C22E14; Tue, 8 Mar 2022 11:13:10 +0000 (UTC) Date: Tue, 8 Mar 2022 11:13:09 +0000 From: Stefan Hajnoczi To: Emanuele Giuseppe Esposito Subject: Re: [PATCH v5 16/20] commit and mirror: create new nodes using bdrv_get_aio_context, and not the job aiocontext Message-ID: References: <20220208143513.1077229-1-eesposit@redhat.com> <20220208143513.1077229-17-eesposit@redhat.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="1Jv/y6KoGtoaFVxt" Content-Disposition: inline In-Reply-To: <20220208143513.1077229-17-eesposit@redhat.com> X-Scanned-By: MIMEDefang 2.84 on 10.5.11.23 Received-SPF: pass client-ip=170.10.129.124; envelope-from=stefanha@redhat.com; helo=us-smtp-delivery-124.mimecast.com X-Spam_score_int: -21 X-Spam_score: -2.2 X-Spam_bar: -- X-Spam_report: (-2.2 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.082, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H5=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Kevin Wolf , Fam Zheng , Vladimir Sementsov-Ogievskiy , qemu-block@nongnu.org, Wen Congyang , Xie Changlong , Markus Armbruster , qemu-devel@nongnu.org, Hanna Reitz , Paolo Bonzini , John Snow Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: "Qemu-devel" --1Jv/y6KoGtoaFVxt Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Feb 08, 2022 at 09:35:09AM -0500, Emanuele Giuseppe Esposito wrote: > We are always using the given bs AioContext, so there is no need > to take the job ones (which is identical anyways). > This also reduces the point we need to check when protecting > job.aio_context field. >=20 > Signed-off-by: Emanuele Giuseppe Esposito > --- > block/commit.c | 4 ++-- > block/mirror.c | 2 +- > 2 files changed, 3 insertions(+), 3 deletions(-) Reviewed-by: Stefan Hajnoczi --1Jv/y6KoGtoaFVxt Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEhpWov9P5fNqsNXdanKSrs4Grc8gFAmInOkUACgkQnKSrs4Gr c8i1JQf+Lsu9cNXy9poeDhsRgmjXUPywWCGAoT5uqHmbYGaiTqrz1pTHOiWMXJMn MLqjypJ44sdT0pgmWqLSvtS/G21irKuVr6sBr4VVFOwMSf12VEnFy1BZKTDS1W50 SgDuj7X5lRDu5z9JYLu8gfcanEPsdUpzbkSAOnXtmuZ6ldmX/ZS/YnUkMky0W/ft eFQ1bLCLghOJjYV+4Y5/WvBK93d6CLoWtMYIWUEul3Q70Mphhv9hxlKSSbqPWMVg qF7SkAAvSUamCWPIgyDSu+GKe96YN3XSCRzdUc3O+wDJCZfJhbGvfEuXIa6lt6+w 40wwlHVFeuce1XNfk+WkAhRjyfRJnA== =TXg2 -----END PGP SIGNATURE----- --1Jv/y6KoGtoaFVxt--