Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 4A6EEC7618B for ; Tue, 14 Mar 2023 18:51:51 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230159AbjCNSvt (ORCPT ); Tue, 14 Mar 2023 14:51:49 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60688 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230322AbjCNSvr (ORCPT ); Tue, 14 Mar 2023 14:51:47 -0400 Received: from NAM04-MW2-obe.outbound.protection.outlook.com (mail-mw2nam04on2133.outbound.protection.outlook.com [40.107.101.133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C36576EA8; Tue, 14 Mar 2023 11:51:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=NR/41t+QkwHlVJvzEG3WaP6ol5Zt+k076nAaJAB+g+oQUIEhj/AL7Ph4jPHvsbW0S5s4cZgCJC+79YSSzrpCNqMiCo7+PUmuByQgO2ptRvJqz+ZG/xDvQ5pQS4PTPFaXKKVWPRgvuWof8iiHwuPkUmqG34vRnRJUOjPOYFrRAy0AXfHLym0Ttz5+x0WMxS4ch+FK96JiYTkDFOejaZ9sHNAEUKjAzAGH06GsafWzhZIhutbB1fFcMJO/S+sULbDD5qxfkVLEzjTx8WyVcTzleIdzFgeMHT4lLcVrSF04IegX6S3VPF6PiPifMn1ONZ8pNjSFFiCT7PmoCZ5hGnWNDg== 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=e/3DGQbSdl1+5qEyGolof3zuzD4Khj/OLzSYAmNIMF4=; b=kb63SO/6faKxmzTZf+en6ZWVvtwQhwaKAdR9TFBtZgcnS0hsM863fCC1fPNSzmffdfNkhJAP2P/xWneFCjKueDByZ01AI7zEwAIKNCcMzo40w5Xu4AMnuQ4kyriNY8tNE5XDEiRSOUFhFi6HGmllX5CEhHufL05wzvvAYOr4jNdTF+ExZmYZCAHNcwxtuUPwgqUSxLwfvHYhUbD2BhypoLuJ5u1gQ4FgJbFHrqbY+AKpNYKlJVl/L9D49IezHl0XdNtW3PJyIeW8x1hO7AZKykzuPjZ7NWJ2sCX0b8mDW18ZPoIYDNlxoicMKly4OJym5HB6RGnAWoE/EoUXwSRWEA== 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=e/3DGQbSdl1+5qEyGolof3zuzD4Khj/OLzSYAmNIMF4=; b=ahwDEsqijsRPK4Pk9oXylsr4kK0XKu1Dhi4NW/B/eZ/4wRuLQnHUcUf+ncBnZlCfh7dJTIKyFyAG7/Tgpw4ZZ/40O29O70xr/UCJLWrOEh/fvCVgu9IuIAyrWNDATFyHYLNQGs3UWEAHSOB9DTLbEwMoCIc0QJ/pYyc4NeVMOc4= Received: from CH0PR13MB5084.namprd13.prod.outlook.com (2603:10b6:610:111::7) by BN0PR13MB5088.namprd13.prod.outlook.com (2603:10b6:408:14b::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6178.26; Tue, 14 Mar 2023 18:51:24 +0000 Received: from CH0PR13MB5084.namprd13.prod.outlook.com ([fe80::d23a:123:3111:e459]) by CH0PR13MB5084.namprd13.prod.outlook.com ([fe80::d23a:123:3111:e459%6]) with mapi id 15.20.6178.026; Tue, 14 Mar 2023 18:51:24 +0000 From: Trond Myklebust To: Chengen Du CC: Anna Schumaker , Linux NFS Mailing List , Linux Kernel Mailing List Subject: Re: [PATCH] NFS: Correct timing for assigning access cache timestamp Thread-Topic: [PATCH] NFS: Correct timing for assigning access cache timestamp Thread-Index: AQHZUZSKhLSUcixTKE2A+BpRYTFnJ676qLyA Date: Tue, 14 Mar 2023 18:51:24 +0000 Message-ID: <84E89457-478E-42F8-AC5F-DFFC58FBEFFB@hammerspace.com> References: <20230308080327.33906-1-chengen.du@canonical.com> In-Reply-To: <20230308080327.33906-1-chengen.du@canonical.com> Accept-Language: en-US, en-GB Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-mailer: Apple Mail (2.3731.400.51.1.1) authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=hammerspace.com; x-ms-publictraffictype: Email x-ms-traffictypediagnostic: CH0PR13MB5084:EE_|BN0PR13MB5088:EE_ x-ms-office365-filtering-correlation-id: 7731184f-2574-40ee-881a-08db24bd1c4d x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: XKKrDcKjwscXk5qjtGxx9vgx8mYlqTT7sZTQoX5J0SDgIKXnMbrHdk7941Xh8j+8EbAdplQO+uqFDXH0ZuO+Vgx/t+QJ+8sfvssvnKVxVsMr4+cteUxeAepXReJzMv/GzlpbnQjBgsS4V3gPgkkXjANt75wkmx5xyJcfdzeevzO4xhZB2XIYbLWN2AbwqBPg3CAm0qmD3DauALVaJTgezctihDWFvA/7wrt2hD1GrkETOdTEtyVmRbM6L/g/xUb1LFLcK3gR8NEjXm9nJecUIa2ukTNLVOpuuZTZ6Qpca+vUkWQnmLG27l8ztxYgsNgBmEPz2gvbjjl0q4RnWFBX+B7xqEsn5i54UCUn9vdFZDcqRKFmxrs3PoNwLBGkspo94Ii4MblWoNuNEIHjNw4IJTB0byj5mM8kCsS/tR8OlgkFgO6ZL0YJDeXkX+vPKWt4x0Zkn7U/BOn0DCJ1UH7FsJoEA9cqpAeqx9y8LSIaWMqWeBMEWF41fccxsPLnAvEnzSY5hjwnqX5zzjppCZIQBRnwXRbqlxCry78NxyRGTPZmjWSsrNjjfpPq8+GkcdEpVnd7Ek4mviyiMTpFmN4LGBO2WzkFTuIcGbRnsScZSZwXBXOEV2pAtjQlCu60zPZzyArydmb3cDf2RxSyft8dhZPPckeF/9o1UebkYnmgc62KRoAIwgvCThe3VUsjYNB2E7NN26HZ6LQb+tNBzCJCIiOv9m1VLkRjxTaes0N6skeA86B3IHb8ZPfNM9uL93Wrqzh0sJjEWt8MBe+SjzHYxGM/e3OLofng2d1RZbgNH30= x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:CH0PR13MB5084.namprd13.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230025)(136003)(366004)(39840400004)(396003)(346002)(376002)(451199018)(33656002)(36756003)(38070700005)(86362001)(38100700002)(122000001)(5660300002)(2906002)(41300700001)(8936002)(4326008)(2616005)(6512007)(6506007)(186003)(26005)(53546011)(83380400001)(54906003)(316002)(64756008)(6486002)(66476007)(66556008)(76116006)(66946007)(8676002)(6916009)(478600001)(71200400001)(66446008)(45980500001);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?utf-8?B?Tzk3NFFuQ0NzdXpzKzhBWWdxb1VuSnRJWWhvN21MRHVZaGcyVFpScGZCYVlv?= =?utf-8?B?RHg1M3pUdU1kTVFNSWo2MWdCaWZUVnpFaEczbzNXZXZxdkxzN2dUZVZMQ1Nm?= =?utf-8?B?Z2xuMC9UQlFSemJzdGVRVU1qOEFKbXdBeTFDMHQxN1lESGo3cERqSGh2dkY5?= =?utf-8?B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QVHdHTEwxYmJMVEYyODBiaE83TnVUZEh1?= =?utf-8?B?V21EMVBveVUxSjhtR3JFZDk0SG94amtzRTZGMnFwNWRka1BhNGRZeWNYV0li?= =?utf-8?B?Tyt2Z0V5aTZyUUxwMXp3SHJqbnppN2YwMjk1YTl5MjdGaklObXRPbU9IUm9R?= =?utf-8?B?UFJabWRoVHovem9yc1VOdkRXMy9weDNrQWQvanFxMElJRUNWU1JZN2N4WCt4?= =?utf-8?B?N0E9PQ==?= Content-Type: text/plain; charset="utf-8" Content-ID: <43233C48E9589C45AF9902B2212B328A@namprd13.prod.outlook.com> Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: hammerspace.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: CH0PR13MB5084.namprd13.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 7731184f-2574-40ee-881a-08db24bd1c4d X-MS-Exchange-CrossTenant-originalarrivaltime: 14 Mar 2023 18:51:24.5006 (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: xEFNukMhFe4kJEqUmJSGT49/Aj1Yb3DZOYOFABgayM6LgYHd+/vxeoWPdpqTPI7Nzi5F+QqmAEp+tThbczj0FQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN0PR13MB5088 Precedence: bulk List-ID: X-Mailing-List: linux-nfs@vger.kernel.org DQoNCj4gT24gTWFyIDgsIDIwMjMsIGF0IDAzOjAzLCBDaGVuZ2VuIER1IDxjaGVuZ2VuLmR1QGNh bm9uaWNhbC5jb20+IHdyb3RlOg0KPiANCj4gV2hlbiB0aGUgdXNlcidzIGxvZ2luIHRpbWUgaXMg bmV3ZXIgdGhhbiB0aGUgY2FjaGUncyB0aW1lc3RhbXAsDQo+IHRoZSB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