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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (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 3DF23C35274 for ; Mon, 18 Dec 2023 15:13:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=VIMwQayTocIbXXFB3cUqn/KkHxtVXnjHRr7rf/O91JQ=; b=141kDPwGipiBzr/Z2LS8qezpEl dXXaLAde+fiSm6dKaprrNi4I8Fnrz22EO5zTotvPzIIm8CB0YEC7XnRrukyrsf3ABwqZWED6SdrtL qpjTLJdeh9zBp7dIZpee1i4ZePaYfjv1sFi3DidRIXwTK9QfZ4jLw1IQ92cTOMBZZ11CdBzpS0/uv EjplihPvb1RwlDb0QyTMd8y0G2xpqD6BNdlVW78XQ9mylwWzh4SnfZF89YIZYHXsJIGe4Dpqe4zDe rasYNfclIgF4lZ0xS0bWAXF/dnIYdbQAsI4sS/Yd7IWHlt4g8/KUEDmsxJTt9tvkMB05qixVcHx9I cVnkFOlA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1rFFJN-00BA8k-1N; Mon, 18 Dec 2023 15:13:41 +0000 Received: from us-smtp-delivery-124.mimecast.com ([170.10.129.124]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1rFFJL-00BA6W-0S for linux-nvme@lists.infradead.org; Mon, 18 Dec 2023 15:13:40 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1702912417; 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=VIMwQayTocIbXXFB3cUqn/KkHxtVXnjHRr7rf/O91JQ=; b=B37XvzobxiloQZS0Qf27HWpED4HeONyXLs0qgdtkDytvFJ5bM3t8U6VnFc5lxAxjk1up9W WrxDJ4RLUbPyq1tS2bNWrDhvdNHGnEMm0BMaia51CasIOpMLFj9PDC/J8eJ3RhZYGigvdC XUrdk95F3HTgwTcO0JLLfFrUsOlLcEQ= Received: from mimecast-mx02.redhat.com (mx-ext.redhat.com [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-411-AAzmrDX_PsqPvqe0YWxGDA-1; Mon, 18 Dec 2023 10:13:33 -0500 X-MC-Unique: AAzmrDX_PsqPvqe0YWxGDA-1 Received: from smtp.corp.redhat.com (int-mx09.intmail.prod.int.rdu2.redhat.com [10.11.54.9]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 4E2DF1C3B648; Mon, 18 Dec 2023 15:13:32 +0000 (UTC) Received: from localhost (unknown [10.39.195.94]) by smtp.corp.redhat.com (Postfix) with ESMTP id B3531492BC8; Mon, 18 Dec 2023 15:13:31 +0000 (UTC) Date: Mon, 18 Dec 2023 10:13:30 -0500 From: Stefan Hajnoczi To: Christoph Hellwig Cc: Jens Axboe , Paolo Bonzini , Damien Le Moal , "Martin K. Petersen" , dm-devel@lists.linux.dev, linux-kernel@vger.kernel.org, virtualization@lists.linux.dev, linux-nvme@lists.infradead.org, linux-scsi@vger.kernel.org, linux-btrfs@vger.kernel.org, linux-f2fs-devel@lists.sourceforge.net Subject: Re: [PATCH 1/5] virtio_blk: cleanup zoned device probing Message-ID: <20231218151330.GD12768@fedora> References: <20231217165359.604246-1-hch@lst.de> <20231217165359.604246-2-hch@lst.de> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="On1+GVONns+1Tsy+" Content-Disposition: inline In-Reply-To: <20231217165359.604246-2-hch@lst.de> X-Scanned-By: MIMEDefang 3.4.1 on 10.11.54.9 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231218_071339_301791_72B6AD70 X-CRM114-Status: GOOD ( 14.93 ) X-BeenThere: linux-nvme@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Linux-nvme" Errors-To: linux-nvme-bounces+linux-nvme=archiver.kernel.org@lists.infradead.org --On1+GVONns+1Tsy+ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Dec 17, 2023 at 05:53:55PM +0100, Christoph Hellwig wrote: > Move reading and checking the zoned model from virtblk_probe_zoned_device > into the caller, leaving only the code to perform the actual setup for > host managed zoned devices in virtblk_probe_zoned_device. >=20 > This allows to share the model reading and sharing between builds with > and without CONFIG_BLK_DEV_ZONED, and improve it for the > !CONFIG_BLK_DEV_ZONED case. >=20 > Signed-off-by: Christoph Hellwig > --- > drivers/block/virtio_blk.c | 50 +++++++++++++++++--------------------- > 1 file changed, 22 insertions(+), 28 deletions(-) Reviewed-by: Stefan Hajnoczi --On1+GVONns+1Tsy+ Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEhpWov9P5fNqsNXdanKSrs4Grc8gFAmWAYZoACgkQnKSrs4Gr c8ghLggAkEix1k19H0+c3tEJu1E4EkpJgKqmkCFOamfXYjdMpZVQ2JUrrJra8skh +jn6R4S856v7Gq+lQBNU9/9y8U20DnbyRMRWTj6+PUM/4Gl1jeEoqBMsa4Nnp0eO 5DU3brD2tHdYNth+52xs7kEUw4NK1nYMhiZll1jDXtUTPJFkUKlc7hKxH8pmkFbK hJRXzMDWQjo68HqPajZN2QcHndBeUxQbbc2RnlgglFRb8coXAy5R9A4thpi98CQl or40ftC6n7KNJxSCPDTOlUTQyh+ILbMVSrde4ApNmhmKlHSJiQHa4N/whdBVzdHc CGaO9fv06GfH0SrPsfvGTTLlVCj2og== =1h9j -----END PGP SIGNATURE----- --On1+GVONns+1Tsy+--