Received: by 2002:a05:7412:a9a3:b0:f9:327e:43ab with SMTP id o35csp164532rdh; Mon, 18 Dec 2023 07:16:37 -0800 (PST) X-Google-Smtp-Source: AGHT+IGOdJbtIG7dyFrGQ+px5t4yuJAdFcY6sc1Mjw1ygZ+PS1xyA2vxBwieLlSW6JYc8yeZB5A/ X-Received: by 2002:a05:6a20:8f1e:b0:18f:97c:9768 with SMTP id b30-20020a056a208f1e00b0018f097c9768mr20416487pzk.80.1702912597139; Mon, 18 Dec 2023 07:16:37 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702912597; cv=none; d=google.com; s=arc-20160816; b=s9PoDCq2xJ6/W0Chvx81zyFl4zLXk+TwrYZACKgB51mid5YNSOZLIEA4Xv7kx/24hZ w7gHg0OZMcA4cqE4KvbnL0PabqXV+kfJq6DD/YHZuzu2YGH7uhrA1gp7BzKamVNTRkip Abswab6kjzEp3lypjIH11j6Z18q3ApFmUxx5omeRm/+MB9/SzxdmcpAE9pzLMXlv7sTM wyOFlT4BTx7UmvEnIV8zz2bKknur0+54WuDy06joWE2urfhTOPzLAKU/XKA1YOo/NPe8 yC9XUuCz7Y+xgvTMIF7WyHW/33iw6cD9F/s0ZKTF3hN16d7wqxWJmMpBH8FqhdLTREP8 tMXQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=VIMwQayTocIbXXFB3cUqn/KkHxtVXnjHRr7rf/O91JQ=; fh=FsWHBF1AzNeLaRIqAWI3tDLu3y7/zUzdyprQrqqY9aM=; b=TTpjEZEOqWIZ5YWTurcQUNImQkd+thVUI1MS5A9/N2n0q0eXpLfSabPVRX2sY28FU7 xHl+ObUHf71WWVwlUt4Dx226ht6xLC++M3fjAZ1vOiRRf7fdeRVjNFfmSMbPTcyX/mTg 3AVq/aWqOdhV2yHgLvkR/taRO9J0Cg1ZYCSPvCq/a8qPfLWCgRTs7SS25j86YaNYxuxp xv2Ufvq3kiskJ5y8jp8d9UyrAmsOdcrqkCOft7+zQGX20G3A5F+jetzknX+78EAJF1Rh B/pbnkYo5t3sgbn61NLS0OZznDMVEL7NjYuaaTYmdl1cPBZzH6ze+vsdRLPjfrrVlfWO EvYA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=W7SwVpCd; spf=pass (google.com: domain of linux-kernel+bounces-3904-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-3904-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id c22-20020a63da16000000b005641315d956si18249840pgh.147.2023.12.18.07.16.36 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 18 Dec 2023 07:16:37 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-3904-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=W7SwVpCd; spf=pass (google.com: domain of linux-kernel+bounces-3904-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-3904-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id AFC5EB21229 for ; Mon, 18 Dec 2023 15:15:31 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 9C96942388; Mon, 18 Dec 2023 15:13:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="W7SwVpCd" X-Original-To: linux-kernel@vger.kernel.org Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 2160A4236E for ; Mon, 18 Dec 2023 15:13:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=redhat.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1702912421; 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=W7SwVpCdetsaP1VvJ74GpAW/VHBIiOpGYqCvukWuAuuORunzD7y+ZbJ1LcQKA+dngx9lPe 0Wjr/ayVlNdoJurzkvAhb+BVsCJ1PaNFCGyUXppnzjlY5d8ZMSAHzQhIz4+szPzhBTym/P gRhvUi4YSFByPOfFnUxUoEg4t7NQ3aE= 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> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: 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 --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+--