Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp670125pxk; Wed, 16 Sep 2020 13:58:34 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy+zWvN8ri6/qtDkHFNlOpwtDHOahXVI5e+Tz/H9ek2IlMiun3L24at+pd138sPrEbVfteG X-Received: by 2002:a50:d61e:: with SMTP id x30mr4897479edi.70.1600289913994; Wed, 16 Sep 2020 13:58:33 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1600289913; cv=pass; d=google.com; s=arc-20160816; b=QRwupX+JEcd87B0DdieQNb9dg4ep4p5D31HYfklOqohNCQqItVhGutc1eC0lgqRLsD z497rvyGtjeLMDLcPVHT6ADerZ7uY2liadwfwhsGxw4237DGX0t44mQb5TCU0ypyeUhr LAHZnmxjen/CzWnGFVnS1m4lPDm/xwVNfnoK3ZZO2uH5rBsbkevHX8zdNJ9mA5+L2etF U28LSPROu/ukg1mvTi4xtvS93Rd7IJQu40OCExlO96pEz2WwJke6qJfB7cfepfBZFBCX 7OXYOc93A1uNq6cOvEka/ph26uO6/V2WZLZ6Ri+56Qk4L6IMMMo5FXlu2LKvb32f9LmK v0Vw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :content-id:content-language:accept-language:in-reply-to:references :message-id:date:thread-index:thread-topic:subject:to:from :dkim-signature; bh=TDqZfdmEDwPlvOQn1hLWvTb9sUIWVKpGWa7vBmqO8lw=; b=AO/oDVMJK7/UCkLEH5Ud+U0n18YLPxdhxPO3lq7cIfwVQ5JMbcVC3YxumGrdpJ98nM RbvM37S8gfVsxbJKfKWz6gBJ4xnBHnPHQCEfscU2OJOLNzrpjKzgKJtOR4MN+pTrhXtl Qyt3CNu/THLXEb8r1XiRDgWECcEkNGCZErrzCxtKskB041ns0qiDmf3uaJzcllOCrrsj PpRc6fnStT/5S/37/2kUBZeGqtH+MU6QYW5i/l/KAUT+7iyIDgIVeCSzpN1dJ5GWwefY qQHZGTWpZ0CoY+ht/BkJ2xGG8lIfjEPgApXa4TFSFeO5UT6o5c48aZZaKU9B3NXLS1jX vZwQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@hammerspace.com header.s=selector2 header.b=PPUUTYOO; arc=pass (i=1 spf=pass spfdomain=hammerspace.com dkim=pass dkdomain=hammerspace.com dmarc=pass fromdomain=hammerspace.com); spf=pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-nfs-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=hammerspace.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id i16si6940100edb.134.2020.09.16.13.57.49; Wed, 16 Sep 2020 13:58:33 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-nfs-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=@hammerspace.com header.s=selector2 header.b=PPUUTYOO; arc=pass (i=1 spf=pass spfdomain=hammerspace.com dkim=pass dkdomain=hammerspace.com dmarc=pass fromdomain=hammerspace.com); spf=pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-nfs-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=hammerspace.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726744AbgIPU5B (ORCPT + 99 others); Wed, 16 Sep 2020 16:57:01 -0400 Received: from mail-co1nam11on2123.outbound.protection.outlook.com ([40.107.220.123]:8768 "EHLO NAM11-CO1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726557AbgIPQwi (ORCPT ); Wed, 16 Sep 2020 12:52:38 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=abNJILevqXylK1DSUxAXmp7FQlQVS2O6+ffCsl2yXZo84+ixGSEVfIQJMH2zWfb59uzKV8kYtoIScV8dmgV7865sqO73V9D+Qty+NBD9voi0lIJCOB1Enf+/bBkn4rbaOgJFAPfccpVOhMfzBTEbP5v8ahL3bqE4bz1v/7dOI4NO8ABSisalhacGhaH1Pojq5dcMbOIthnTVC/qWgGddL1iosFQ3a/9uffobvf1PTnVqs0tQvutVTlcG/3MUZmMpa9RkySQap/+8QknxWSrNMfk7uDjUD8hPKXFCdlf9SIdZFK4RWNv4J1NQYaRkzA3skUCmWYsHv31QLkxcfspnHw== 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-SenderADCheck; bh=TDqZfdmEDwPlvOQn1hLWvTb9sUIWVKpGWa7vBmqO8lw=; b=DdiYdU28/zea1XPfYSjg+liA3P0frIPutkRhubWTu1iipyBJy/iNaBM0hWq0I5x56okmOjMgLybRvruf5oNc109K7ZDK+NBKJyfun+2cznvKDyn1VBjdMoTCyWVwerzp6goeWb3QV5PVDbwOgv8BLA6wFsE90DklB+UIABQCa4q6TUQ5WHs1InP8bxEGhI50esPj/A3FUPoeTXJGkoh3DM6cGTclpQ4W1HlHd52kV3z57L2HWjDHN3undOhvVeMyP/pLb/hYgqLSHBAjXxQM3rKII0lw96VyOQnUwHvFCFbh4eiVTD4bDbcFq3NfOJ/Xui+NZi/kNzT/u1D1QqwfoA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=hammerspace.com; dmarc=pass action=none header.from=hammerspace.com; dkim=pass header.d=hammerspace.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hammerspace.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=TDqZfdmEDwPlvOQn1hLWvTb9sUIWVKpGWa7vBmqO8lw=; b=PPUUTYOOo+ErWxVg4RGGkzWdOkEAxMK1886qgoq8ROZ+czGhrNrchoyy9t7NrrPzYZGiKr43ktg9+0iZDKw6S+MogMDoFDuFKaCz5D56uOF1Du8YZIpI2gjkQP2RH0uvSL6PSNIHCaW8OmLPQ9GZF2uPxJyjKU2nc2TAf8NnAzg= Received: from MN2PR13MB3957.namprd13.prod.outlook.com (2603:10b6:208:263::11) by MN2PR13MB3152.namprd13.prod.outlook.com (2603:10b6:208:136::29) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3391.9; Wed, 16 Sep 2020 15:14:52 +0000 Received: from MN2PR13MB3957.namprd13.prod.outlook.com ([fe80::e8a1:6acc:70f0:ef39]) by MN2PR13MB3957.namprd13.prod.outlook.com ([fe80::e8a1:6acc:70f0:ef39%6]) with mapi id 15.20.3412.004; Wed, 16 Sep 2020 15:14:52 +0000 From: Trond Myklebust To: "fllinden@amazon.com" , "linux-nfs@vger.kernel.org" , "anna.schumaker@netapp.com" , "dhowells@redhat.com" Subject: Re: [PATCH] nfs: round down reported block numbers in statfs Thread-Topic: [PATCH] nfs: round down reported block numbers in statfs Thread-Index: AQHWh63rpBtl6EcLe0Gc5o9tw8GbKqlraOIA Date: Wed, 16 Sep 2020 15:14:52 +0000 Message-ID: <38d81562153d8168a54d93f452407a24f5cf5240.camel@hammerspace.com> References: <20200910200644.8165-1-fllinden@amazon.com> In-Reply-To: <20200910200644.8165-1-fllinden@amazon.com> Accept-Language: en-US, en-GB Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: amazon.com; dkim=none (message not signed) header.d=none;amazon.com; dmarc=none action=none header.from=hammerspace.com; x-originating-ip: [68.36.133.222] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 430d3809-0158-43fb-3453-08d85a5342ee x-ms-traffictypediagnostic: MN2PR13MB3152: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:4502; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: 8bo4NTry1gPPEZbyyxl77CHz/5qhv11OuNX1FoJy9jA/28lAcFA1WqdY0mg9bPIhBYGokeQuZj4NENmoyvyogHcMlW4Ym0WlxnhLpSXxSVdlD/pySnhHo+iiEJeTl3jbfqjeBv+ZrzgFT+hY/UJhFW0e/JZ+dHYr/ZFQwoGMqeS4JXdF9MHoydQHqWRiBhDCbj3sHAV8DPw4++gr+G/Phe3Ej5F6apykOQbjAGrX50L5LlxMXCzfiNAg3r2BFmXNomAHF7iaMGEd837BJ+Puf9gsgWGXiQyoI0vbu2qHrY2lDOJXVgJVOUeCjZs4Mt9S7AQmbGNDmoc9cHzmnSr6VV/VFL0jEHTImnA4tX+fiJZ0ukXihSu46o7iR0dIskGy x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:MN2PR13MB3957.namprd13.prod.outlook.com;PTR:;CAT:NONE;SFS:(136003)(346002)(366004)(39830400003)(376002)(396003)(83380400001)(110136005)(5660300002)(6506007)(26005)(86362001)(478600001)(6486002)(71200400001)(316002)(8936002)(66476007)(2906002)(6512007)(8676002)(186003)(2616005)(64756008)(36756003)(76116006)(91956017)(66556008)(66946007)(66446008);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata: 6L0SJp/nvDmgx1bUniLIIuXLRedsCxgm8+m6zQSBO13Qs6RgrMVR6dBr5+CNobQJqqWoRQky4MzuA62f4lNuWbj4jJTplOR+l+gTK3Gp2+PkLAqpePpHBsI87Z19JVBgmnPdTAWIc5jZSXS335iaY/zwGT0EXdZrfgfakQ3rmMC2rnnzhDz17TkWT85hUaxberdnJk07ag7yVjkKiRPgHfqb1yQfTUQyieoSLtI842w7CgQnozGaJL5V5/h8nlwRpo/1z2tnCaATSLyz0xcvyoKz8D99AeEtiCViUwwIh5p+BR/KzQF3CI3SgZsWaARx0nZitz45sIH53D4r2Frr0URBp57Vp0TldnsP6juAIBS6Oj91tF9VdcjMtl4PoNiNcUTqJoX89h8T5yhuKoUzvp1x8ik6Uo1yTYmEjV2k3Hz1zx6YDn9P9/P4GPAFgCavduNapIxUX+tdCrvLK1C7FYWIrnhNfoxTmxMykGhDWi3X+kJxiSwaHNZfHAf0YdYCBsV1hYztm5mBrQWRXSOaJ5+w6Rn4FiTiQEZSarFrByPFlUQa9Hi0tIGsY2otWbI7NOQhWmvUJgF1EufKmYwHgp2fPl8ad7FrIMxFKssln7p/9qUuuKJ4aEZVB7rRtB6w88ZKExBRdf2Vo2YJd8q5NQ== x-ms-exchange-transport-forked: True Content-Type: text/plain; charset="utf-8" Content-ID: Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: hammerspace.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: MN2PR13MB3957.namprd13.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 430d3809-0158-43fb-3453-08d85a5342ee X-MS-Exchange-CrossTenant-originalarrivaltime: 16 Sep 2020 15:14:52.3462 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 0d4fed5c-3a70-46fe-9430-ece41741f59e X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: Zr+dzrMb/C4k6MccTvzgGPe3pOdWbjfOnSG8arhYETIvs46HhTTpbaoKXIaCk5lcrWYMFW2QaT3V5W/ZcoRBGQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN2PR13MB3152 Sender: linux-nfs-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-nfs@vger.kernel.org T24gVGh1LCAyMDIwLTA5LTEwIGF0IDIwOjA2ICswMDAwLCBGcmFuayB2YW4gZGVyIExpbmRlbiB3 cm90ZToNCj4gbmZzX3N0YXRmcyByb3VuZHMgdXAgdGhlIG51bWJlc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