Received: by 2002:ac0:e350:0:0:0:0:0 with SMTP id g16csp451249imn; Wed, 3 Aug 2022 10:45:54 -0700 (PDT) X-Google-Smtp-Source: AA6agR4lbeEb7xCRfhDPx1cg98qjjn5fZwV+gxg9v4ULUyepO/Z30+S217z/WAsTiiwgTMySa6K9 X-Received: by 2002:a17:902:ea0b:b0:16d:d268:e4c5 with SMTP id s11-20020a170902ea0b00b0016dd268e4c5mr26124247plg.152.1659548753783; Wed, 03 Aug 2022 10:45:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1659548753; cv=none; d=google.com; s=arc-20160816; b=fk9CWcSC8pnkYGKIXQK+mEQ/SDqMUUAQNZpS5WppXUiXx9TA8KhIdAiZuE0p0hE2Vh NX/xgPxyBHN/a/a8Ov0oEtCKx4AxRX9nEcJaf5DP4xCg64cgkeFwParj8rrwDcZsnX60 4aMjgZk0RvzpYi4gCHf7I/psY57jh+KAyQibmJKQFJI+Qz1Xu10zzKNM6tSurPQybndB 5/CE4+v08RziVcejAvp7mHj3LITXnrTyryM7+Knzhr3OAXGQxB2jh94r4K1DUuqjR+x8 6BXfsLmVNCmPa0m1jQ7ratV7cuiKINz7zAbcx8aaVeXCHdTgnx6S+YI4129dQTWLvPcq 7zlQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id; bh=TwJQ/yYNiTQ3gXYdp9ajvzFbzU+GLcBJYBbzELtb76o=; b=IwumUY7nGHU/V1VRGBDDg/+y6uUzy/2vlz++ccB/wI++JoOMjMCLSMEhGr8Wxpgq1x wRS+W/ZnXPO2c5U5gD82k2Ph7NvBiOMShMShFyVUjU+C0p9QbdW5wVTjXnT8jDTtLqUs Ddr+raggtMsEL60NxhO+iQZYAvZDQPyF+M0qJAKEv1FwhqGXJj3aKdjf1rEGOysOsNVr s6VadGsNU0AGoce6dd46W0H9fFMAwwkzBl+L93Lxozn366X2wtNj5I95WLcmWwIYS1mC Ty5xcuHQHMDurHseqCGzbKoseawzTyUNZdQZ1Xe7DNNNG/IVJCimKUjxJndGB5flN9rj V8RQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=acm.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id t7-20020a056a0021c700b0052ab2efeec4si9685932pfj.280.2022.08.03.10.45.39; Wed, 03 Aug 2022 10:45:53 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=acm.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237652AbiHCRSu (ORCPT + 99 others); Wed, 3 Aug 2022 13:18:50 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56658 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236733AbiHCRSs (ORCPT ); Wed, 3 Aug 2022 13:18:48 -0400 Received: from mail-pg1-f175.google.com (mail-pg1-f175.google.com [209.85.215.175]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id ACF5A53D25; Wed, 3 Aug 2022 10:18:45 -0700 (PDT) Received: by mail-pg1-f175.google.com with SMTP id s206so15705857pgs.3; Wed, 03 Aug 2022 10:18:45 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc; bh=TwJQ/yYNiTQ3gXYdp9ajvzFbzU+GLcBJYBbzELtb76o=; b=s1/LhoPkyIuCHoYXtI0/xSzZG6Y20M1bKWO9hMpP3Zz0CucvG8VrMsc2A6BOZaJWxq OPIQHEtNgtXes0r8DNEy6n9KvnU0UMfo8gaoupIyzqkULbUrYfClyfjwlvJpIaNLh94X l/1KdlIlNlRQIYXR2U8BK36DHo08q6y9nngUN2cgYGYLiiCMgqIzE/9Nj/+ABSFTEQSj lrCj1Ta9PrYvHkHLyDkwHOJ+M5q3OJH/bhUZOPQtklnsroFY37kqwjNC5cUI5vmTzGuR FxuKV5BHDXBSFeYa1tvKRUympIhkvBaoIS/12fzaIBk0+eJJ6DYYd2xJHd2IkMWdp7A0 eqOw== X-Gm-Message-State: ACgBeo1FtTgc7SmHlsWZtjPsi0N86T3Z9sJ1B6Mb/6SX6ci+d81UUijr AnAIGdL0eKUC+11UNfEOwWU= X-Received: by 2002:a05:6a00:3392:b0:52b:4896:b317 with SMTP id cm18-20020a056a00339200b0052b4896b317mr27047195pfb.17.1659547125023; Wed, 03 Aug 2022 10:18:45 -0700 (PDT) Received: from ?IPV6:2620:15c:211:201:db71:edb7:462a:44af? ([2620:15c:211:201:db71:edb7:462a:44af]) by smtp.gmail.com with ESMTPSA id d81-20020a621d54000000b0050dc76281f8sm3824637pfd.210.2022.08.03.10.18.42 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 03 Aug 2022 10:18:44 -0700 (PDT) Message-ID: <3dd40197-776d-9003-3c8f-1791587ade0b@acm.org> Date: Wed, 3 Aug 2022 10:18:41 -0700 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.11.0 Subject: Re: [dm-devel] [PATCH v9 03/13] block: allow blk-zoned devices to have non-power-of-2 zone size Content-Language: en-US To: Pankaj Raghav , Johannes.Thumshirn@wdc.com, snitzer@kernel.org, axboe@kernel.dk, damien.lemoal@opensource.wdc.com, agk@redhat.com, hch@lst.de Cc: pankydev8@gmail.com, gost.dev@samsung.com, linux-kernel@vger.kernel.org, linux-nvme@lists.infradead.org, linux-block@vger.kernel.org, dm-devel@redhat.com, jaegeuk@kernel.org, matias.bjorling@wdc.com, Luis Chamberlain References: <20220803094801.177490-1-p.raghav@samsung.com> <20220803094801.177490-4-p.raghav@samsung.com> From: Bart Van Assche In-Reply-To: <20220803094801.177490-4-p.raghav@samsung.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-1.4 required=5.0 tests=BAYES_00, FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS, NICE_REPLY_A,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE, SPF_PASS autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 8/3/22 02:47, Pankaj Raghav wrote: > + if (!is_power_of_2(zone->len) && zone->capacity < zone->len) { > + pr_err("%s: Invalid zone capacity: %lld with non power-of-2 zone size: %lld", > + disk->disk_name, zone->capacity, zone->len); If this patch series needs to be reposted, please leave out the second and third colon (:) from the above error message. Once this comment has been addressed, feel free to add: Reviewed-by: Bart Van Assche