Received: by 2002:a5b:505:0:0:0:0:0 with SMTP id o5csp7115646ybp; Wed, 16 Oct 2019 04:08:14 -0700 (PDT) X-Google-Smtp-Source: APXvYqz34foTcJENggfAtq+BMi69xwMCMhtSvlwTolugbjr7v6C5i7/ICao48m+w4vako5qvBEGg X-Received: by 2002:a17:906:3488:: with SMTP id g8mr38448399ejb.162.1571224094827; Wed, 16 Oct 2019 04:08:14 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1571224094; cv=pass; d=google.com; s=arc-20160816; b=ZFkPFtsVYY8T7xaN583XJZGCSRAZUzPDUhPWP9J/uX79gQpNFYNfgAMY++0VBjumA+ vVimPUTduncdCxGtileNQAxgL3s58dlfUNvC/a0IJkzQ9htEfGsV5i63mZvYT1Jo4ZFN yalC8SmYi6Nl1bKiXvJsEQxrbUo5Ee53dMHIO8Rp6pmUv5JO2KSlqJCTlFLh4RO9K6E0 IRWni+JL+y0yoXMRR2vJnWixY0nEV1YfXF8ifDXXr8OzOQ5weGFOzmVVWkdXwCsHOi2n JjofP0D688wTvV7P7k0Afd7gU96x8JanUo39IPO8sIOH+qPdvJfNMbvYvjeu+/JzUzuK Y+tw== 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:cc:to:from :dkim-signature; bh=oYqiARXwLXYngOzh8qR594QbWumrl9KKHlCx+EVvWrc=; b=Q70yEe2mKTohDHOGxCVuXTmNw+sZLJvJQEJOKsSbEzLq45Zs7CVNpj/TL5x3sz5RcH tz07XKcW8X3wOptG26o25imqfg3YUh+vdprHg/ydgM5+ih+3BYYfwlbEp7G5km8XruVD RkdbeRpPo4mzmrMzDN36cd26tCM8b/0y5yJaAEaMZk2YafbWJdWYlxxQSKFuoeFHcxgA Q6u2cRR46kTguWaRlMl4smyggMzB1ZXWTExNwkRRg4od2m549TLY0/So6EwdY8lJNIY+ 9LeKYo0TWDJ6UcKQIuYWTfxK0eIC/llodQKfdi4i5fX7nNs/QhUbmrjK1AtoO9dC4bon msgg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@hammerspace.com header.s=selector2 header.b=WUPyGUzQ; arc=pass (i=1 spf=pass spfdomain=hammerspace.com dkim=pass dkdomain=hammerspace.com dmarc=pass fromdomain=hammerspace.com); spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-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. [209.132.180.67]) by mx.google.com with ESMTP id k63si16883704edc.347.2019.10.16.04.07.50; Wed, 16 Oct 2019 04:08:14 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@hammerspace.com header.s=selector2 header.b=WUPyGUzQ; arc=pass (i=1 spf=pass spfdomain=hammerspace.com dkim=pass dkdomain=hammerspace.com dmarc=pass fromdomain=hammerspace.com); spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-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 S2390822AbfJPDJf (ORCPT + 99 others); Tue, 15 Oct 2019 23:09:35 -0400 Received: from mail-eopbgr740097.outbound.protection.outlook.com ([40.107.74.97]:28698 "EHLO NAM01-BN3-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726906AbfJPDJf (ORCPT ); Tue, 15 Oct 2019 23:09:35 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=MW++LaAb2SY69VnNsNoQnmb6MKJ1X3jqhaolVr/rdjYcV4csWEleHMNWyLI2Vq+pvSa88+G+vygNBudoKQnZx1C7FO6SLf5FNBmankCfL0JEUVMNpeJvxr327ZwryefSVVnV7kefhMPrIoaz1ubXcW++DLd9L/n2V7rlaDVbjYufEboH/1n1Z6hUP//1GqQCS5Xz8uaOIq0hrgP8BfkZ3BEnh19ctjWay/sMrkDoFFfZOuRmKvQsacfUXPnNiwdGQZHA5jmJ5q+Ez1sqGS5tJFO2WaEnNKnAeGB0Qr6fVizIeKCcVXxeK/dhCjl5LJj68dbXu6HhjE4uQfx+xwlE7A== 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=oYqiARXwLXYngOzh8qR594QbWumrl9KKHlCx+EVvWrc=; b=YpKMV4/IxRtW9Og1z128QaCa1sABsA5OQHn96dstOHsUyCZa/5A2h7Wk7BfpZawzMUwYkObPutll1aKZdsC6iYdXFUKsqVaxgOQk0iwKPKx+b3nkkIo3gCAx5RyQ/IidgrPB6nr+BsP3XQHfLFjBI78igkdc7Y0W1Q5DNvHWWLZrXJS1GPm+Rj5880xYvNncq/VKVe+KS8qbTPqzszb+CdQwJDrj4XOCc7LqhP6p60oRh937L0CQUdC+YNOxXHDoSklVRM8O51Z1odZIo2trzemcCK8Cjk4DuC1y/C/0Jw0/jtw0PdmSuy4UFVqbjRAeHiLmz86VUZFaLeDHu6dFTg== 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=oYqiARXwLXYngOzh8qR594QbWumrl9KKHlCx+EVvWrc=; b=WUPyGUzQwhrsCvTd+QlusupO1TkVAp+IdPJJDfdRMj7v5soZVqMFo31tFtPq/vg5G8daaiR2a41JhpqV7Geovtt9DXaCXl3KVAtiUi6doYyQ3tw96PMY1jCW8Rkn0j/d9RyEVEG7gITN16q7RKlAptSxU3YTZ7TIkVtA4qAbqvY= Received: from DM5PR13MB1851.namprd13.prod.outlook.com (10.171.159.143) by DM5PR13MB0969.namprd13.prod.outlook.com (10.168.239.20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2347.13; Wed, 16 Oct 2019 03:09:31 +0000 Received: from DM5PR13MB1851.namprd13.prod.outlook.com ([fe80::d1be:764d:9347:764e]) by DM5PR13MB1851.namprd13.prod.outlook.com ([fe80::d1be:764d:9347:764e%10]) with mapi id 15.20.2347.023; Wed, 16 Oct 2019 03:09:31 +0000 From: Trond Myklebust To: "suyj.fnst@cn.fujitsu.com" CC: "linux-nfs@vger.kernel.org" , "linux-kernel@vger.kernel.org" Subject: Re: About patch NFS: Fix O_DIRECT accounting of number of bytes read/written Thread-Topic: About patch NFS: Fix O_DIRECT accounting of number of bytes read/written Thread-Index: AdWDupUDFq5cvVv1QGGoMCLng+/bzAAFIhGA Date: Wed, 16 Oct 2019 03:09:29 +0000 Message-ID: References: <9608C5E5429A7846A89FDA46D5296B97334E3824@G08CNEXMBPEKD03.g08.fujitsu.local> In-Reply-To: <9608C5E5429A7846A89FDA46D5296B97334E3824@G08CNEXMBPEKD03.g08.fujitsu.local> Accept-Language: en-US, en-GB Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=trondmy@hammerspace.com; x-originating-ip: [107.1.192.66] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 407c5ed3-d705-4b28-07dc-08d751e643b5 x-ms-traffictypediagnostic: DM5PR13MB0969: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:10000; x-forefront-prvs: 0192E812EC x-forefront-antispam-report: SFV:NSPM;SFS:(10019020)(396003)(376002)(366004)(136003)(39840400004)(346002)(199004)(189003)(256004)(14444005)(99286004)(6916009)(25786009)(478600001)(118296001)(2906002)(6486002)(8676002)(86362001)(6246003)(6512007)(6436002)(54906003)(81156014)(2501003)(5640700003)(8936002)(81166006)(71200400001)(3846002)(4326008)(6116002)(229853002)(4001150100001)(36756003)(2351001)(316002)(14454004)(66446008)(66556008)(2616005)(186003)(6506007)(66066001)(71190400001)(476003)(66476007)(64756008)(11346002)(66946007)(76116006)(91956017)(26005)(446003)(102836004)(5660300002)(305945005)(76176011)(486006)(7736002);DIR:OUT;SFP:1102;SCL:1;SRVR:DM5PR13MB0969;H:DM5PR13MB1851.namprd13.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;A:1;MX:1; received-spf: None (protection.outlook.com: hammerspace.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: Ky3/gnLdDJHTNHDvFrhtVGO3Zsp6jTsMPlx8GZgXnJE8mAq8rO8YUYrWPL709vdIWRXY6e6KkC7E3T7DAaQCtVaCLLbLywxXImAHxzCcIlmJXqlYMK8OEW7VjKN9/GpzMj9F0UYnCxYwTnS2JJ4RpOgrlnlw3u4MDJn7xwc9SYpGxbobrFVxQPryqzq59efT6eL2JHogauDMQ6nzGqod0rITUNx3Gi2qRkczbHrehIzpLWSh+cq3FfKVOr+GaUHJQm4kHyGATGMOpdKw4aL3Y+R/MzY29E+cg6EBeWR+R8NiUNmQ8iQsbOU2TYYpRbCj5oxSGLgqvmd85+cpN9FqtE/8DpB4o791xYss77hIkfv2rJetlEjA7tV2zcLRZFLQItzcoyiwlaJoKeChWv7Y644oAD7yxha0S6CQu2w0ea8= 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-Network-Message-Id: 407c5ed3-d705-4b28-07dc-08d751e643b5 X-MS-Exchange-CrossTenant-originalarrivaltime: 16 Oct 2019 03:09:29.8818 (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: yX6EYKSb0A3KjSzCWyZQJJtTEn1aoW7jBd6KivajOsSpCe8qT3F2uV898MXNQpPnG6+9/7qJHB6qg1fwLPqyhA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM5PR13MB0969 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org T24gV2VkLCAyMDE5LTEwLTE2IGF0IDAxOjAwICswMDAwLCBTdSwgWWFuanVuIHdyb3RlOg0KPiBI aSB0cm9uZCwNCj4gQmVjYXVzZSBNeSBtYWlsIHN5c3RlbSBjYW50IHJlY2VpdmUgbmZzIG1haWwg bGlzdOKAmXMgbWFpbHMsIEkgcmVwbHkNCj4geW91ciBwYXRjaCBoZXJlLg0KPiBJIGhhdmUgc29t ZSBxdWVzdGlvbiBmb3IgdGhlIHBhdGNoLg0KPiANCj4gPiBOby4gQmFzaWMgT19ESVJFQ1QgZG9l cyBub3QgZ3VhcmFudGVlIGF0b21pY2l0eSBvZiByZXF1ZXN0cywgd2hpY2gNCj4gPiBpcw0KPiA+ IHdoeSB3ZSBkbyBub3QgaGF2ZSBnZW5lcmljIGxvY2tpbmcgYXQgdGhlIFZGUyBsZXZlbCB3aGVu IHJlYWRpbmcNCj4gPiBhbmQNCj4gPiB3cml0aW5nLiBUaGUgb25seSBndWFyYW50ZWUgYmVpbmcg b2ZmZXJlZCBpcyB0aGF0IE9fRElSRUNUIGFuZA0KPiA+IGJ1ZmZlcmVkDQo+ID4g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