Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp3895729pxb; Wed, 13 Oct 2021 15:36:59 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzAXGbZWd4AbWMvVtwu7+S3scNwNL92wzngyZ2/rNf0CitvVpuWtVdsMn3G+XEuLUich8Sx X-Received: by 2002:a50:d8ce:: with SMTP id y14mr3138315edj.92.1634164619442; Wed, 13 Oct 2021 15:36:59 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1634164619; cv=pass; d=google.com; s=arc-20160816; b=wHLkE7zbreoZ8RQuiM07HR/jUzbj03FjbP6qLOR3hb9EnQugja/fheSz1j/Og3qhfo ege8vLBnfAc/LQQIzW/NNYyVznBvNFWNyNQYn0rcPYArawIGCWPHpYQu9b3jqxcozw2K BEz1k+pc7XCRB8iQsAhS+GWIiFVHPCuHRIQDZuzqojxixhAONahNcMi5dsbzisz7LAkf +nCRNzJQfqF+DEVCYZkWrmBle23ihJKb6Ysw0MqAwlxRlI5qElLsNCk+5HEDPGZJE6qs Pb9154bTN3tdAnC8x5jbpG8qxRD4v8ExAVGWXKdfEy7SZvh2nJhSp78hN3HPJ3K9RLAM GLbQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :content-id:user-agent:content-language:accept-language:in-reply-to :references:message-id:date:thread-index:thread-topic:subject:cc:to :from:dkim-signature; bh=93r2xFlzBgp2P3mF+smPFUwUw7bjnKI+H5iB7xljbTo=; b=R281gyorNyaQMB7s6VClzLhzwSn5db4byeieH3urlH06IBs5VC1L5byPUBl6azl4WX 9xoi78toM37WmpR84lnf96zqEkqwgqptRNp02g58gbhg9fPzvYzMs9r1o/E8YM60K6ai +ST7G8ZgvePjiRZl2xQi4e6Ut/7wfb5UFgBsSS6GGPupc/cx+ISroO5izlBx36GzbdZg +hIDBi5t/7vTm+VZhl4KeKh8eOo/8wXAJ+LphN/rEWIUl78L7fxckDvD7L5RcP4ocz+J IsuJh5frRQ8GtIJjHlbl1VRyrWaFSIvP94FXcNo06XxnOnqFsJ+yvB1Phow5x9NWW/BB +m/A== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@Nvidia.com header.s=selector2 header.b=SRHGYjgi; arc=pass (i=1 spf=pass spfdomain=nvidia.com dkim=pass dkdomain=nvidia.com dmarc=pass fromdomain=nvidia.com); spf=pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-ext4-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=nvidia.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id h4si1307771ejo.291.2021.10.13.15.36.36; Wed, 13 Oct 2021 15:36:59 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@Nvidia.com header.s=selector2 header.b=SRHGYjgi; arc=pass (i=1 spf=pass spfdomain=nvidia.com dkim=pass dkdomain=nvidia.com dmarc=pass fromdomain=nvidia.com); spf=pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-ext4-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=nvidia.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231642AbhJMWid (ORCPT + 99 others); Wed, 13 Oct 2021 18:38:33 -0400 Received: from mail-mw2nam12on2065.outbound.protection.outlook.com ([40.107.244.65]:45318 "EHLO NAM12-MW2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S229930AbhJMWid (ORCPT ); Wed, 13 Oct 2021 18:38:33 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=nmjsyRJbyrbS7BC/cBpGPtpeARt3dYGDaAdqaGF73algf2SGXSeYzeyWmPHtgL6Em1i/hB81Ah86rWqtMnALTT0oFGdGxb7Rkhi5u/N9lwf+UzkRJr6PwDm7Kw+raiQ9xF+JW4BvxqE0hSNp+NTJCFw0B5zX3fauPoJ9+tUnGpV/U4mfKWE5+2vNhKt/3nPE+1bmoE+uVy4YHfcbepyXfJiQ5s4tEyTqcd9KkTHc7l36nWlAKviAa6ihc/hzMiqg6f4NnNz29Rc3pNTLX5hmLrPfK7ugDyt2nPKsKI9EedIkYDYwcyyAdeqCGNeUs7ahEMdiqDx6Z+ubi21z7Czhqg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=93r2xFlzBgp2P3mF+smPFUwUw7bjnKI+H5iB7xljbTo=; b=MOrSz9fuqRpk0NRQyjHCo0477ouIKPzu3aRYsgN/RDwrh56KNLie76AulVodGEC3t5NGsZanHhJpPOX6Cmuxd0Ogd3576mVFHFadFSp6B82GmaKcA+j+dgV39VtWDs4iplDM28MxBXvcol+8AubyHoQTv16GAYGidW00P9WxfdJSwtOiw8fB+Ef41SZdDph5MQfn03Wp1wkSbdLarAN4lgCO8hd2vLkgA5h94z7/GP9KLgF6/mvh8ph3vyVXuDdE+1/aOXgpCsu5gIqPEDaWjq2erYYsTm2Wn7Xe+wZlGNerln5oxaqK91dlcFH47NmNgOc6Spnqlx/DcxIIXEDebw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nvidia.com; dmarc=pass action=none header.from=nvidia.com; dkim=pass header.d=nvidia.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Nvidia.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=93r2xFlzBgp2P3mF+smPFUwUw7bjnKI+H5iB7xljbTo=; b=SRHGYjgiQSDMpeU8plPourPzimx8C9mqti76X4xDngMFD0zMHhNHrs3uNTZgRunpFUHLBPc9Yi5UT326e1NVDD33mphxWlmRwrqbJ3BAhsHcOhf1ocWHKZb942REEjq/5xmUJTOEXZZYEJxRBfxqKnw1WlG1uTFZXmBsFKHD8Xvyp7KDGvUgSEDq8AIEGb9g3qA/WJz8T9HL1MbwLBUAXtWwFuh1gnyJka07ouO4bLW8W3QCRsS4j2wY80VTMLZDcPAUIL2T5UbeUbEhgOoPPgOHN+0sjQggavHruRhIUlldSZTrYVzg+Fvr7K45eEgoIM5YU3+QItIddGQy6Bo8gw== Received: from MW2PR12MB4667.namprd12.prod.outlook.com (2603:10b6:302:12::28) by MWHPR12MB1472.namprd12.prod.outlook.com (2603:10b6:301:11::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4587.25; Wed, 13 Oct 2021 22:36:26 +0000 Received: from MW2PR12MB4667.namprd12.prod.outlook.com ([fe80::3db1:105d:2524:524]) by MW2PR12MB4667.namprd12.prod.outlook.com ([fe80::3db1:105d:2524:524%7]) with mapi id 15.20.4587.026; Wed, 13 Oct 2021 22:36:26 +0000 From: Chaitanya Kulkarni To: Christoph Hellwig , Jens Axboe CC: Coly Li , Mike Snitzer , Song Liu , David Sterba , Josef Bacik , Theodore Ts'o , OGAWA Hirofumi , Dave Kleikamp , Ryusuke Konishi , Anton Altaparmakov , Konstantin Komarov , Kees Cook , Phillip Lougher , Jan Kara , "linux-block@vger.kernel.org" , "dm-devel@redhat.com" , "drbd-dev@lists.linbit.com" , "linux-bcache@vger.kernel.org" , "linux-raid@vger.kernel.org" , "linux-mtd@lists.infradead.org" , "linux-nvme@lists.infradead.org" , "linux-scsi@vger.kernel.org" , "target-devel@vger.kernel.org" , "linux-fsdevel@vger.kernel.org" , "linux-btrfs@vger.kernel.org" , "linux-ext4@vger.kernel.org" , "jfs-discussion@lists.sourceforge.net" , "linux-nfs@vger.kernel.org" , "linux-nilfs@vger.kernel.org" , "linux-ntfs-dev@lists.sourceforge.net" , "ntfs3@lists.linux.dev" , "reiserfs-devel@vger.kernel.org" Subject: Re: [PATCH 11/29] btrfs: use bdev_nr_sectors instead of open coding it Thread-Topic: [PATCH 11/29] btrfs: use bdev_nr_sectors instead of open coding it Thread-Index: AQHXv/MJov1VVTRZAkC+g1lS+pf5Y6vRhZsA Date: Wed, 13 Oct 2021 22:36:25 +0000 Message-ID: <9e275603-359d-4492-98b5-520bbd15cc92@nvidia.com> References: <20211013051042.1065752-1-hch@lst.de> <20211013051042.1065752-12-hch@lst.de> In-Reply-To: <20211013051042.1065752-12-hch@lst.de> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: user-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.2.0 authentication-results: lst.de; dkim=none (message not signed) header.d=none;lst.de; dmarc=none action=none header.from=nvidia.com; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 6111eedc-9aee-4185-445e-08d98e99e43f x-ms-traffictypediagnostic: MWHPR12MB1472: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:883; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: r9HHMvsQJYFSQtKV3kK7co+vYX8pX/cREePkY7WrcNNoNNKOdjKvYqDpPhj4tUoPAgYiwxMEQsJPmUoht0DBLO5Uo8QHTvcjfM27Y15U6/BmztNrG6zVyLBP4Dp4TOIfyNXWt2n0R5dZq53rPYzkRGDqULQiUU+M1XGyCivhfHCh3FrBHyxiTWwJPjkAHaqJ8Dy/UIl3t7K2uWhkFlYk7SlPpiPm7NVAR4gibjjo9qs1M2ZCO7z+MleFIaNlGjfBAQDKPWT6ToLtcSAH4vwmfyJe/6NQG1qEBZi3i6GLTKdAhHhZx7ZHCZD6g/fzmQVnQvL///9IWbJLmeprCTMQzk8eZCRmqLZQu+gZ9VQqQ2TJE//o0bdt32+Ny0ciQbFof2QZSsdHq86pESutAOp80uzN4OqLt1CWvwiC9obK6+mvxBhDGRcqX4zZpyKaoRXAWW2fe/VcThQ1ePGvZosBBHO5DSUHPn/9UEQYvWVRruCFGk/3nD/VPeyXWVxBHi8NRQArgLJxeRj8gsxbMPtLh0WplZZrU1JKhqKzV5OZesC0egcQyDdKAeE3jwN9qcJQaJm0XX651GOGwnNFCkAF/VXEHw7ulm2/9d7zu0TUJVqmHrUrbBIyn8BFTnGz9zG17kiaO51ECCpHBaWVsHAGc/cK/t8fHIwrzXbDI3ZM3ts0NsUzYEI9uDO1fsu0HFB1/fDHfdy4rIAD93V0S06dAmudxtA4xzF9OjXUTA4sKShPy5MXeiPAH9VETzBMQQ60U5DT0E8p4CNKYF5RolIR2Q== x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:MW2PR12MB4667.namprd12.prod.outlook.com;PTR:;CAT:NONE;SFS:(4636009)(366004)(7416002)(66476007)(558084003)(66946007)(2906002)(186003)(66556008)(66446008)(64756008)(31696002)(508600001)(91956017)(316002)(7406005)(8936002)(31686004)(36756003)(8676002)(53546011)(6506007)(5660300002)(6486002)(71200400001)(122000001)(2616005)(38100700002)(54906003)(4326008)(83380400001)(110136005)(76116006)(86362001)(38070700005)(6512007)(43740500002)(45980500001);DIR:OUT;SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?utf-8?B?T0pYcjg1WEVZaGFsVXBkdmdQdUlLa1Jic2hwb0VjZUloaHFWSGtZRlpQU3VD?= =?utf-8?B?TVpwcnVqVDliWU1YWE5TLzFZaW92VGNzVHUwZUVUV2U5azFHTktYNEdpd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il0?= x-ms-exchange-transport-forked: True Content-Type: text/plain; charset="utf-8" Content-ID: <0B96D8945A56EF41ABFC6A6B96A751D7@namprd12.prod.outlook.com> Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: MW2PR12MB4667.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 6111eedc-9aee-4185-445e-08d98e99e43f X-MS-Exchange-CrossTenant-originalarrivaltime: 13 Oct 2021 22:36:25.8338 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: 505xP4APZsyB6qWx2lT1fvQKpgSGtn9qKFqZAZ2XgiNLdpXMuDegy2TXycvJ01ru4RNezUNVKw8LUXzh9SGpug== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MWHPR12MB1472 Precedence: bulk List-ID: X-Mailing-List: linux-ext4@vger.kernel.org T24gMTAvMTIvMjAyMSAxMDoxMCBQTSwgQ2hyaXN0b3BoIEhlbGx3aWcgd3JvdGU6DQo+IFVzZSB0 aGUgcHJvcGVyIGhlbHBlciB0byByZWFkIHRoZSBibG9jayBkZXZpY2Ugc2l6ZS4NCj4gDQo+IFNp Z25lZC1vZmYtYnk6IENocmlzdG9waCBIZWxsd2lnIDxoY2hAbHN0LmRlPg0KDQoNCkxvb2tzIGdv b2QuDQoNClJldmlld2VkLWJ5OiBDaGFpdGFueWEgS3Vsa2FybmkgPGtjaEBudmlkaWEuY29tPg0K DQoNCg==