Received: by 2002:ac0:e350:0:0:0:0:0 with SMTP id g16csp453126imn; Wed, 3 Aug 2022 10:50:40 -0700 (PDT) X-Google-Smtp-Source: AA6agR4oJhSH0nwgNeCV9H7BZOR9V4COXIKisG+Q51K9JHdBOz610FZrRz6j1pm9No4F0Bps5ebV X-Received: by 2002:a17:902:7143:b0:16d:986c:f2f9 with SMTP id u3-20020a170902714300b0016d986cf2f9mr27351312plm.42.1659549039760; Wed, 03 Aug 2022 10:50:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1659549039; cv=none; d=google.com; s=arc-20160816; b=GO1zJtHZoua2Y65SIy1aZy+QRzEItHwq8/Y2ZDMuojfGjFBGb5NnCwQY8rID0FG52c fxkUYIkfo8iOd9mlDTKA3IAJZkbtLI6Bg6i/XdDkiFMEde2MVkXe3Wys27be1oKaX3Ew KWE+jM7ppmFoYzmvO4TnOdUcOuhkJ3dJiR3ISnlhaIRvohM3hVq46wh25b0ayb4hXYim eQowrmut/84rQxNlcnaI4T6mWlXT8q9U/udm76k0xHV2LHc7J6cZl4mqtVzTEdfIxL/o JhiV51nC05zDR8uG5RSbYz0HMnWSLVZespc31J9uvEso4Lo/8XOmvoRq9U7IdzsnXyZe s/8A== 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=o2afx9aZmzEdoWwdGDbShaY9b54ZclDxz5tctOo//Fo=; b=hbtufSqRnhUjmvgfH3/m1MAW9atn4ijeEmDPdKei+8VHeLhWmO7rT9BdSmR6vHPGRo +6/z4yjTeOAEeKjkw6z/C9PQsbYLxMymwpHID73TGjQekyIq5imIgf4BPHIhGGUpFO7+ 7wJJLFTntEEjnANsjN2nKpdYochkba69ZU8LYvJJaE1pf81NrmW5TqLcVRFac16u8dd/ zlukTGejgRns2FEJS+gvykKubBvBhX9H6ky7eekzaK6mLH5na0qJEPsizbYTnc9WAP8S Oa+uqr3xvh6/zrW7Vd/MyWRVH4DqVqLVsq2HgkQD1ssOzTcme20ZoOIWKMlO6UIISaTO uZUQ== 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 j70-20020a638b49000000b003fbd7285a83si13867952pge.817.2022.08.03.10.50.25; Wed, 03 Aug 2022 10:50:39 -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 S237394AbiHCRLR (ORCPT + 99 others); Wed, 3 Aug 2022 13:11:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51434 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236844AbiHCRLQ (ORCPT ); Wed, 3 Aug 2022 13:11:16 -0400 Received: from mail-pj1-f48.google.com (mail-pj1-f48.google.com [209.85.216.48]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id ADF5E1583D; Wed, 3 Aug 2022 10:11:15 -0700 (PDT) Received: by mail-pj1-f48.google.com with SMTP id q7-20020a17090a7a8700b001f300db8677so2769001pjf.5; Wed, 03 Aug 2022 10:11:15 -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=o2afx9aZmzEdoWwdGDbShaY9b54ZclDxz5tctOo//Fo=; b=7El/DZvJBhohLBUeCWp+TnY6nsmiBglx8zHtDWHe/Pnc6kuxuM1Z+e+fsYH/9djQ8n wtkd3BT5RxWphmBszVVkCAOF4Aq0p4yAmJ0p0bLcORatEKCzmFgjylhWJHogD1wkenU7 jyg+xY+WfkIOe+u0372pZL6NDtSEKJ9qQ67Jh3UGRMq9Ul6fgfuGzz/+cf0Of1C8AAEJ UoKBdDhQ45gD9efTHHvuM71OEwjq4VeIzWqkhDEK+H0f7WO1iMnXqEPvIYm+i1VL7iqz T17gR1mCUWf7TG3sLSgL7FTVcv9lipPubaPfoL6AL51DABhhCQ1YD0ywDMqolztmAWpy W/aw== X-Gm-Message-State: ACgBeo3iBRIF6mBUDhTmYuQDVMVjsvmIk3Y7JrO/JSkmONRN41fYAXUR H1TENxdZJxp+w2spOF5ZisyutG8njHwQTA== X-Received: by 2002:a17:903:245:b0:16b:9c49:6b1c with SMTP id j5-20020a170903024500b0016b9c496b1cmr26089750plh.153.1659546675071; Wed, 03 Aug 2022 10:11:15 -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 w127-20020a623085000000b0052df34124b4sm3552742pfw.84.2022.08.03.10.11.13 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 03 Aug 2022 10:11:14 -0700 (PDT) Message-ID: Date: Wed, 3 Aug 2022 10:11:12 -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 02/13] block:rearrange bdev_{is_zoned, zone_sectors, get_queue} helpers in blkdev.h 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 References: <20220803094801.177490-1-p.raghav@samsung.com> <20220803094801.177490-3-p.raghav@samsung.com> From: Bart Van Assche In-Reply-To: <20220803094801.177490-3-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 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: > Define bdev_is_zoned(), bdev_zone_sectors() and bdev_get_queue() earlier > in the blkdev.h include file. > > This commit has no functional change, and it is a prep patch for allowing > zoned devices with non-power-of-2 zone sizes in the block layer. Reviewed-by: Bart Van Assche