Received: by 2002:ac8:6d01:0:b0:423:7e07:f8e4 with SMTP id o1csp6624859qtt; Mon, 18 Dec 2023 01:50:27 -0800 (PST) X-Google-Smtp-Source: AGHT+IHMJuhI1OLyB2l6bojEq1k0rqTVXcjLiiiAt8Iu4+rfw0MveyMCpIgVYKRp6OTg3KORWZXk X-Received: by 2002:a17:906:6a0b:b0:a23:60b1:216d with SMTP id qw11-20020a1709066a0b00b00a2360b1216dmr434123ejc.111.1702893027068; Mon, 18 Dec 2023 01:50:27 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702893027; cv=none; d=google.com; s=arc-20160816; b=FD4UkNhIUTXkkkpC3q386CbbvWGDY/RnldUhsL2Ce3FJG3bcwCnVq65HHbvd6exWj0 tYeJcUGUyBEXm0D30bNPmHopm3hFcmZI75SjgGDEOKayubsXWHRZsbTXEY19ofwWlQk5 y21sq8TjqUxiiuEfxWbXDQFsJU+EzBlpg0WjMp9PwUSWnMDBZzRl+BH8WEdIMvewfIy/ UlAGJwh360sBuhiamOcyuFX5xD7H90ANYSGHTAkce2ZuSwjfreLnBIPenuklxk0WMp2k sk6zPx3ftht7M38zYfPGIOSt87dha7VPyC2ugkwJU/2PnfU40+DXXKe2EZ0rHaLTdej+ IpjQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:organization:from:references :cc:to:content-language:subject:user-agent:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:date:message-id :dkim-signature; bh=oxM5yLVr0n6IOGhTNsfrXoT6lqo5lAx7H6S1jy8rfks=; fh=s6UZNsgxVNe5XaPjfaRFtaRjWJrvrz5Y4otq1DgEmQE=; b=d0FABkZrGM9QQRuUR21lehWHdZK7w72zeezyFOpKJ7Gu+RS0dn+H7Xbm3+1KKVgDIO yVcj7QqzLdAP8NEwDqC7EpxpuTP34hWPalGluhjeS1m0+S9h6LoylIEX0pkhWG+EcCvE 2y4An7RUB0LerenyVfr8nlEiAULPmAPKIit9dO6qQh2p4LSelT2UJBmfIe77S8QwPZ/3 42jUBdVFlkIlNVmJ1JIrG3WynsmiRWFnxOADZ+1XCdfzM5tPj9iu7xLNmBHNUETqfSeK EaZKIfJxYlp1CO8hJkZBoONIBEH+KpumcLlAfvgZHXQbdK8ZmNTIGjOiOQztv+WN1ehs V/FA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=FjXofiJh; spf=pass (google.com: domain of linux-kernel+bounces-3272-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-3272-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id dc24-20020a170906c7d800b00a233ab0c190si1372441ejb.92.2023.12.18.01.50.26 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 18 Dec 2023 01:50:27 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-3272-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=FjXofiJh; spf=pass (google.com: domain of linux-kernel+bounces-3272-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-3272-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org 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 am.mirrors.kernel.org (Postfix) with ESMTPS id BA4EC1F257CC for ; Mon, 18 Dec 2023 09:50:26 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 59AF212B6E; Mon, 18 Dec 2023 09:50:11 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="FjXofiJh" X-Original-To: linux-kernel@vger.kernel.org Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 7BF05125A3; Mon, 18 Dec 2023 09:50:10 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2461FC433C8; Mon, 18 Dec 2023 09:50:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1702893010; bh=kliH95p4M6Xr4U/JBggiZ+H3u6I+liKEwWc2N1aGs18=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=FjXofiJhW9jL1rJtTbtwM+I1TO2JOPuwQLWysbLSk8VmfoJOporitqoAdo9zgM4tg KebfTmvh2aktzrLEqFs/N0kl0uX4DvMaJgNWC5QM13PqxOrnSgLHN1nqp1uAZO8aBo 7JeNjhm1+aVR3evMPZK7qGpZIohwlWocUFheFK/AptmYfRw8IxPGb+DpyXqm17UJf9 wnuJBeilC1v2AgUTB+kvoBQeW3XHlcSMvr9hL2xfyetrXq63JhRlMZaNt6WyUy3gVx cvhYq19/9JgtCumFTXIsxg1N+G7htDR9zvV6CTBfugqodVINZSHaYzg9bz+6On7/xx yTtMD2cAMlOqQ== Message-ID: <816f252c-191f-4517-931a-3d7b14dac654@kernel.org> Date: Mon, 18 Dec 2023 18:50:07 +0900 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 4/5] block: simplify disk_set_zoned Content-Language: en-US To: Christoph Hellwig , Jens Axboe Cc: Paolo Bonzini , Stefan Hajnoczi , "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 References: <20231217165359.604246-1-hch@lst.de> <20231217165359.604246-5-hch@lst.de> From: Damien Le Moal Organization: Western Digital Research In-Reply-To: <20231217165359.604246-5-hch@lst.de> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 2023/12/18 1:53, Christoph Hellwig wrote: > Only use disk_set_zoned to actually enable zoned device support. > For clearing it, call disk_clear_zoned, which is renamed from > disk_clear_zone_settings and now directly clears the zoned flag as > well. > > Signed-off-by: Christoph Hellwig Looks good. Reviewed-by: Damien Le Moal -- Damien Le Moal Western Digital Research