Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp1384475ybt; Thu, 18 Jun 2020 07:31:25 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwF+NH2RQnWWSGEEim24Z+a47tzVt2p17UAwMnxQRFlcGJbyPGp8LM54KQJ282hf6HbRMqT X-Received: by 2002:a50:a1e7:: with SMTP id 94mr4231605edk.165.1592490685470; Thu, 18 Jun 2020 07:31:25 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1592490685; cv=pass; d=google.com; s=arc-20160816; b=AOwitXb/SNAa4GlInvslOWeZ4n/0FFQEAu9jmxn38NEroIj8LpXmWCSofBoAhFi6u6 zoes8ZhZMxx62DFgvqmZItdyGd1RcmchDRhSoPXHU67v0uf9sDfjn0RP/XdwsSc07q43 6ODMsKDctHwHCxfQxcTmmMbAVhVD+hdf7aPgElCYmeWu8X1kh2JnwCLzBhvYNz3mkrbP VVKw0sdS2d//ryxbp1uG1Z/7KoCAauOGDbfE6VAxULgAevNz9M6vWvOeyK9zIGg+MEog dKIbE9ofH7O3WC/IWeKkUJrzah9cc/ZxLKzM042j1LZlU53OdLOBa8ZzK2W+hIX/b/Am Kj0g== 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=kU/8PmSozVToWmGQaYdrWgsaD6YER0vwDFLsCSmihuI=; b=fcxlZZMXNMfHtsgIudTqD2lubqY1Nq1ci379NI8GccjBH6waelNanXTtf4DPM1AZQS /W4MgWSJbN0RfrOscXULswrGe/3DVPcyTbNZpxcQp9KmPqJ+4VVFbLjdRCKw3vWqJ8Mq pSPB4Bn1JnuXMCZHJYb50FNg4FoR9JNAsfobiGn/JnlD2Pb6Kwjj4XaUd1BnTidW+36j 1EjdK5gad+6rFxJD+r/t+jAMDtKLSRGui/Jvxtoz0zHTVEwrgWXoMx+2v8mjabYdzpoP n50YGVexQ9FTrwSOihlXdHdnpzrzzjqKrHJ+jB7DOB25qY7/BAxvC8OQNyZkfSSk+fo9 qLJQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@hammerspace.com header.s=selector2 header.b=F6YXB6+4; 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 v25si1108714ejw.29.2020.06.18.07.30.49; Thu, 18 Jun 2020 07:31:25 -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=F6YXB6+4; 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 S1730613AbgFRO3v (ORCPT + 99 others); Thu, 18 Jun 2020 10:29:51 -0400 Received: from mail-bn7nam10on2128.outbound.protection.outlook.com ([40.107.92.128]:5496 "EHLO NAM10-BN7-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726988AbgFRO3r (ORCPT ); Thu, 18 Jun 2020 10:29:47 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ZNrwvkyHZ/qz991hQElD1P7xkAzRZqmeLOnN2rl4fELubYDrhM6tViVF5hVUNMUyqLxTc8MYIoy1g+iKE0E6YMXxYIVF9aTpBqRvTSE24CfRxOVOELGBms0JYz2/KjYBv9dpcwcpBJwbobLJOJe0cf5oIZGP0Wzo/HawQ5g/dacE58UX+bf4dqo35pwnlJ+dbMnXSdKpo0a5mCTxW7B57CF4y9mnxXmRkaJmtX+rJ37th6V50+dB3nsuXgrXYtz1o9VW2D/2JGAbcyj7Cl3Ng2Q9by3xJcMWwHyqexe0QMPq0bDcp8sHnViFm3dVjyQFZc6larCJbkwc0C4Vi/j4MA== 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=kU/8PmSozVToWmGQaYdrWgsaD6YER0vwDFLsCSmihuI=; b=HiVc6JEm+shpn8FSnPPxPYgUb4RfRBHu035Pa5af/GnzG9SN7PEv8oCDliKeScGGXeBgZGtFgj/KnkoEYh/UM1qI1iqTd92HKhShw7YVqDMFJVT4vjfWbNMmn7pYYN/j7/IT8+GPmLPon6LY3XhLOTbpHhMyoUYFf+zfF66PJWGFFQxGT6x6cnHv69cEDWEvqnO5pDmXHXcISK2+WXPuzDa7VhvndAiY3XiFX8CeqCgGwdjkSuQABiaLreAASzfolM0xWy8ZJFcfy7Pp4FtU+cFP0h7R2lr2OjPwH+Iy9T7IIyg/7S34AQ+tfCVb1cLla9BKhkrk3kkJWu1EVUzxyw== 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=kU/8PmSozVToWmGQaYdrWgsaD6YER0vwDFLsCSmihuI=; b=F6YXB6+4xxI/jPpLw49ViiHb9vrvIJXabygK8yaddn7DOT48ZfrhcuFNXhDd+0Uxg4UkWlU1lYsW2X8jQDzXD+If8n+7IQpnkzLWY3BvjikVW7Tqm3Ux6Y0bZCgQbJVlIMQmF23QgQPcmnsAOXqThKjxka2Dsb5VWLzqDkM8pwA= Received: from CH2PR13MB3398.namprd13.prod.outlook.com (2603:10b6:610:2a::33) by CH2PR13MB3766.namprd13.prod.outlook.com (2603:10b6:610:9d::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3109.12; Thu, 18 Jun 2020 14:29:43 +0000 Received: from CH2PR13MB3398.namprd13.prod.outlook.com ([fe80::352c:f318:f4a7:6a0f]) by CH2PR13MB3398.namprd13.prod.outlook.com ([fe80::352c:f318:f4a7:6a0f%3]) with mapi id 15.20.3109.018; Thu, 18 Jun 2020 14:29:43 +0000 From: Trond Myklebust To: "bfields@fieldses.org" , "inoguchi.yuki@fujitsu.com" , "linux-nfs@vger.kernel.org" Subject: Re: client caching and locks Thread-Topic: client caching and locks Thread-Index: AQHWPdqKDxq04E9R4EezGQhAvzMsOqjeMTgAgABM3wA= Date: Thu, 18 Jun 2020 14:29:42 +0000 Message-ID: <22b841f7a8979f19009c96f31a7be88dd177a47a.camel@hammerspace.com> References: <20200608211945.GB30639@fieldses.org> In-Reply-To: Accept-Language: en-US, en-GB Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: fieldses.org; dkim=none (message not signed) header.d=none;fieldses.org; 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: de6a053d-d131-4844-c9f6-08d813940ad3 x-ms-traffictypediagnostic: CH2PR13MB3766: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:7691; x-forefront-prvs: 0438F90F17 x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: ZPKEfqdZr2MF2aB0QgAPl4fPG5IbUx9irUv3ep6w5pytTNzy/HtuE3VoBiW/5vgCE7VyRS86wsvOjgoo5kKiolcK1LXZfOpx40uiwmGhWF/QcjO8zkkaO2d7R8Ncv01Zx3/2iRE96dUGxg052mHR2b24y1Df2vI9+vvmT18EBzFA8CkdVKlb4NyXJlrI4xFNYaDrqREZ+SOmAJbnT4r6hbKFbvLLXZsQz93pSqL+N9eN7pPdn42fq6/P6shyWtb/rWDhE8guxeWNTSzfyOIfXDZ7Z6/tnJJzAx4uidCySzr99R71RU2f9evhDfUE98xGad0l4CTMAjHMFNbmz3ipm5rCofAub4PGPA6jpgBnsLjpJXdwitpR/XwP+Rz2Zod9Xe9UDhIo4Ph9JNx3aJWmXw== x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:CH2PR13MB3398.namprd13.prod.outlook.com;PTR:;CAT:NONE;SFTY:;SFS:(39840400004)(366004)(136003)(376002)(346002)(396003)(76116006)(316002)(6506007)(86362001)(26005)(8676002)(6486002)(66946007)(6512007)(36756003)(66446008)(8936002)(3480700007)(64756008)(71200400001)(66556008)(2616005)(83380400001)(66476007)(966005)(478600001)(5660300002)(2906002)(110136005)(186003);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata: Dc/+fXQXD+0lzp9iS8k4boE8urZo76aopIPA35Nw6/bKBDZkofdmL7E4W5c72kPYLxiKKKo4T6dDask0MncuyDtGHcVaVdI76X1jK9dGn4QkWUpfUde7KgfVgyHtKVwjsvRU95012Cx4jd6u+F1qBrmKOW5YZkPWpv/KJLjl8HfgfUHey0cVoKiynXiL2bM3Lhf4rbgoJXawvHL9VqEQJd9MjHRV+JwmxaK33676UkAHmOe++SXXSxGHi18WxK32T82/v8GnlF1y3529hKoXdTdjlaVGcTJxerkAm2pc4OaC9qgBKWRlsctXMlk9SjYCrDVG1PwI0C+B9cYOpX0+ESTFZ22AuLVD9Ao1TT/VvP5tE+1agneEkSnr3Rp1wfgpiwYjO6tqrPkie/W6JRT881v9+gFZvhS+BFqxQeLmU+LoPbreagSSUwytFpyKycof9biIld+TdpkTpWFOZq1uUuWoZFnlyY39WffK4WKJqFk= x-ms-exchange-transport-forked: True Content-Type: text/plain; charset="utf-8" Content-ID: <6E9D78BF673B5F43AC783E64256F676F@namprd13.prod.outlook.com> Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: hammerspace.com X-MS-Exchange-CrossTenant-Network-Message-Id: de6a053d-d131-4844-c9f6-08d813940ad3 X-MS-Exchange-CrossTenant-originalarrivaltime: 18 Jun 2020 14:29:42.8585 (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: EeZnieSkOHW6L6Uif95Nwc7sIbyaId88xOYUXDkwC3L5SzzWeSvziIvuy3rPzVBNCU04Qp8MARlxGs4zccC/kw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: CH2PR13MB3766 Sender: linux-nfs-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-nfs@vger.kernel.org T24gVGh1LCAyMDIwLTA2LTE4IGF0IDA5OjU0ICswMDAwLCBpbm9ndWNoaS55dWtpQGZ1aml0c3Uu Y29tIHdyb3RlOg0KPiA+IFdoYXQgZG9lcyB0aGUgY2xpZW50IGRvIHRvIGl0cyBjYWNoZSB3aGVu IGl0IHdyaXRlcyB0byBhIGxvY2tlZA0KPiA+IHJhbmdlPw0KPiA+IA0KPiA+IFRoZSBSRkM6DQo+ ID4gDQo+ID4gCWh0dHBzOi8vdG9vbHMuaWV0Zi5vcmcvaHRtbC9yZmM3NTMwI3NlY3Rpb24tMTAu My4yDQo+ID4gDQo+ID4gc2Vlb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