Received: by 2002:a05:6358:45e:b0:b5:b6eb:e1f9 with SMTP id 30csp1068232rwe; Thu, 25 Aug 2022 14:57:44 -0700 (PDT) X-Google-Smtp-Source: AA6agR5FFwhF2jmg2irw9xjXAymc8HLaREaNA9M1UO9T+EipGMTwVvo2Reoh4Q1wKacv0NgwmYw/ X-Received: by 2002:a17:907:1ddc:b0:73d:9ea3:8a79 with SMTP id og28-20020a1709071ddc00b0073d9ea38a79mr3558100ejc.364.1661464664503; Thu, 25 Aug 2022 14:57:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1661464664; cv=none; d=google.com; s=arc-20160816; b=KZ+phc2nbUFpTk2lQCPr156TMirmgG5T4R1CSaENCeoAF1A+xKyam99eqb0xBLTFjs 0CM6HFj2xdTY+pWTKWbDnhdiiK33h+9Smdf/uFuXF8rkghIEDwX1zSqm8Shk3rv66VCX 585FdCpggE3cJ83vCTCyBOg2NewiUKT91E98OvOJUH4tAXk9dpJN8dVufpoYV7rQfhZ/ p0NymXWS5Q1mbY53PPPaZGdtD38/rgXC35/0ms0sU9RZSilyFJcV4eF18HFzq90BQKji qiQZy1LrG+Nek/NlkP02diDPOZk84vFUb+YC7iN4ceWPyiNIvCH+yUmVLMOlpMFttntk 1S+A== 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=A1GDSS4ZswYZdPLm/xFYMxcSzWgFZQdBzdkCHj25ONs=; b=w+Ngvr4y4LGGSk9/4LOBPUSAHArWGdybJejj9dV8eQT9yuDOP+BDV2xjFNwSIotd/W 7Da9uQ3x/QFTBKrufwwj6n00920/jnk1Lk9XZo37L3YxkAE7gZQPAiq58AcrIJvBFojk HrPEDQsOzRoNk4G/HGVcLvsIU4r0PBcjQzABpzTDfnHqIUfoCnvRjhVeDj0KRPZJ64Pd bmnnI2YQFhxSBw9CfYsG+uciJv3FrvUT7EjIcJSiPX/RkJ+0wYYdfVha11U5ZfQcCunB uS+vrDWSirWbXbhHKU1BmF56uow6PnwUoTPRVaG1QwpWkylgZLnn3aGJdJqpP640xtSn N+xg== 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 t8-20020a50ab48000000b0043d19ac7ff2si366992edc.87.2022.08.25.14.57.04; Thu, 25 Aug 2022 14:57:44 -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 S243020AbiHYVvX (ORCPT + 99 others); Thu, 25 Aug 2022 17:51:23 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60212 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S243975AbiHYVuv (ORCPT ); Thu, 25 Aug 2022 17:50:51 -0400 Received: from mail-pf1-f181.google.com (mail-pf1-f181.google.com [209.85.210.181]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9EB9F474D7; Thu, 25 Aug 2022 14:50:49 -0700 (PDT) Received: by mail-pf1-f181.google.com with SMTP id z187so21056872pfb.12; Thu, 25 Aug 2022 14:50:49 -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=A1GDSS4ZswYZdPLm/xFYMxcSzWgFZQdBzdkCHj25ONs=; b=UzP0SV502OQyMH0z5e5q2Pfzjbt3o026Cb9KKFiRT3cC7mFHxxA09x5qJBlhrZtyyD SbaeOOHm9vJktEaN93j/n6aiJ7rUhQ48cBCXBfSbwhV8hUvRXs0mFjPuUpatPdZW30mz omw4rJs3xm/VdrjB21SkX3QMi7UwQxAUWw6FkZ+orBEfsJHnC8epVRMj4vLC9fu2qxlw iqIAoI6WkYc7Vn0EbW33TS03lAwAcwK31+6Nya04JeILNIKwnj7qMj71BhDc7ZHBFch4 gQ8LBrqQ3NVhrCSxrTygFBPw5l2H8HvYfR2KSgw3zd7ebv4JXBlcicbkmM09MLMDY1tq 1w+w== X-Gm-Message-State: ACgBeo1l9gKykkRX+AXo0JDoS0T19xyTlKFozQvFlBRZM4GUyfS5JGNY QMa7GjZKunbj+F+hg9j5eJU= X-Received: by 2002:a63:e20c:0:b0:42b:4467:e0f4 with SMTP id q12-20020a63e20c000000b0042b4467e0f4mr874532pgh.576.1661464248859; Thu, 25 Aug 2022 14:50:48 -0700 (PDT) Received: from ?IPV6:2620:15c:211:201:349c:3078:d005:5a7e? ([2620:15c:211:201:349c:3078:d005:5a7e]) by smtp.gmail.com with ESMTPSA id i12-20020a17090332cc00b001713af9e85dsm36928plr.180.2022.08.25.14.50.47 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 25 Aug 2022 14:50:48 -0700 (PDT) Message-ID: <1dcffde8-ded6-b665-58a4-0f9f091b2a8e@acm.org> Date: Thu, 25 Aug 2022 14:50:45 -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 v12 08/13] dm-zoned: ensure only power of 2 zone sizes are allowed Content-Language: en-US To: Pankaj Raghav , agk@redhat.com, snitzer@kernel.org, axboe@kernel.dk, damien.lemoal@opensource.wdc.com, hch@lst.de Cc: pankydev8@gmail.com, Johannes.Thumshirn@wdc.com, linux-kernel@vger.kernel.org, linux-nvme@lists.infradead.org, linux-block@vger.kernel.org, dm-devel@redhat.com, gost.dev@samsung.com, jaegeuk@kernel.org, matias.bjorling@wdc.com, Luis Chamberlain References: <20220823121859.163903-1-p.raghav@samsung.com> <20220823121859.163903-9-p.raghav@samsung.com> From: Bart Van Assche In-Reply-To: <20220823121859.163903-9-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_H3,RCVD_IN_MSPIKE_WL, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE 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/23/22 05:18, Pankaj Raghav wrote: > From: Luis Chamberlain > > dm-zoned relies on the assumption that the zone size is a > power-of-2(po2) and the zone capacity is same as the zone size. > > Ensure only po2 devices can be used as dm-zoned target until a native > support for zoned devices with non-po2 zone size is added. Reviewed-by: Bart Van Assche