Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp1161169pxb; Thu, 23 Sep 2021 20:36:11 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyqUKLRsCxXB8ArWfXh685LJfYzc+VnxL3O6742YCmkicu1QDtcJjMarNKi5fl2pNACKcWX X-Received: by 2002:a05:6638:95:: with SMTP id v21mr7237613jao.113.1632454570951; Thu, 23 Sep 2021 20:36:10 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1632454570; cv=pass; d=google.com; s=arc-20160816; b=YkvTVVT//jIH5EY0kKCUgESQf5DfMjY6MxNXZ86onRM4hI6tMBu948i+vCYBKr0D0g UuVGs0yESw7gOZyFbOuFmFGDphuWSbh1pWYrcJkle6QPpWZmGOkoMrzH5f4cnFDI4/X2 D9XANd9ityE8b0rlQh4zD8vRUeR76lRhXWf/mgh4wabg1vO7uC5bzWKinRya64GgaK4o y83tBh4iFRboniLjX5nF+S6s76qm5OCw4cKJBe7nhg7kjOsxPgsoqFeITKMxMS5qnWGy FXpMCHLX1BXFff5G7Ad+0lYIWvvddLPPsYf+1yD/U7OyDCVRET7hJ9TjukECNwxDga29 yOYQ== 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:content-language:accept-language:in-reply-to:references :message-id:date:thread-index:thread-topic:subject:cc:to:from :dkim-signature; bh=V9jMpf8+kNZqIR7QRljc7rVyP1py7GT7uOQJ0XvODnI=; b=AedBRplTNAxTMreAyQFS4NAvToe7d26YhwSGOZwb6dgsuuh2k0I3Otnox+wrXeA3o8 Wv2E4+MEB/zb3xdWYhRXW0Z+13p9ERo5LZ8iN7qYh2Tt9Zool0ygTZ6JzrEzi8dIlZev n+rkinEDeL9V265XsR0fii09aLQduFH7ESyWAKdBiRtOstXGJBKjQQoCkxXmqX7l5rjM 26955h+vJzmkrCFHpj3tdvnGzdhV3QNNIPQ27Y13CTBpVBJoh0nYtYZrUEHZx+GV8ttm cVysyzY+NpjTNonrfV3sZQ1XOZfS7j0oB8oeW8O1kBBkTyRC0lCcy21qnM4ot6VK5p/D ozqA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@hammerspace.com header.s=selector2 header.b=ZQfRkWB3; 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 i62si8815646iof.83.2021.09.23.20.35.45; Thu, 23 Sep 2021 20:36:10 -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=ZQfRkWB3; 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 S244021AbhIXDhN (ORCPT + 99 others); Thu, 23 Sep 2021 23:37:13 -0400 Received: from mail-dm6nam10on2103.outbound.protection.outlook.com ([40.107.93.103]:1377 "EHLO NAM10-DM6-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S244008AbhIXDhM (ORCPT ); Thu, 23 Sep 2021 23:37:12 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=aS1frjekuejOtkBg6LjJFlUvskh1MU8WTvQ0WjjmLzp0qy5YglfaJX/M6atrI8Aek9njV9CnEoweFGtiFEFXqprNp4S5FTJfIc5HRq2GOwjoeC+k9FH0X67g5tA8p/xn4X3V30XeS4iyzyb4ybO7LpxOPVmZeuwxBMjIUDGrUakiMKt0VgP3LRwXBkFIijA3vckCZBq99tawYCUcxWC1lwo0RKzpq+zcJwMDGvaxg0TLsOqikYfFV7Trt9NPdwhLISZ0jMHHt1LVBzszAQIHa9Cltq72Fs983L3zpJjQ7/YydWzFk5ULJ2zx5jN0LEf6qBHZpQuO5RxPT0Ct9p7LTg== 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=V9jMpf8+kNZqIR7QRljc7rVyP1py7GT7uOQJ0XvODnI=; b=byBdxKrp6ij2vU7f4tQdaBivPsarthBumCyMLK6vUlAUmC8xmM5WPxlbgJCf5n0dSRjQtiaJsMB05/jXppB7AqHUMe0oFEnursVKFNqLEMoyJxvqdyv88SWJmXSsSkke301hnhGnd2Xu7vMZlQ9eV7FdU4RfKXVQ2JnJxtxPFH8S6ovoYMuUM6b8t8A7iS0L2pV+R1z2Dd7jVBi/WDr1vnmS0r9aYkYgQGLajByEs7f59sOWLGD6KKmpC1Tqycqvy5UtuMwiHJEzb5QH3DjhfAMq56suzQpvcm4YdrqfGM+N9uMURQvN+bWvaFfXUUlwPYnkygWY5FYzlBv7XxuDnw== 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=V9jMpf8+kNZqIR7QRljc7rVyP1py7GT7uOQJ0XvODnI=; b=ZQfRkWB3E2njPCFAK69U8nfEzvKgLVOuEQHFOymgEwGrFpNKiQbny6Oz7VRRear37RYC+ZqiknDDqe4TZpcwkhlotFQwCrfXRdANWQbyJ9e8cyqSbTTWIi/ut1+S1aIuq9QJ6QjiSfDSn670y5LVZFN2rBQyEB89Q6GO7lspi0g= Received: from CH0PR13MB5084.namprd13.prod.outlook.com (2603:10b6:610:111::7) by CH2PR13MB3637.namprd13.prod.outlook.com (2603:10b6:610:90::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4544.6; Fri, 24 Sep 2021 03:35:38 +0000 Received: from CH0PR13MB5084.namprd13.prod.outlook.com ([fe80::185b:505d:b35c:a3a2]) by CH0PR13MB5084.namprd13.prod.outlook.com ([fe80::185b:505d:b35c:a3a2%8]) with mapi id 15.20.4544.013; Fri, 24 Sep 2021 03:35:38 +0000 From: Trond Myklebust To: "bfields@fieldses.org" , "jra@samba.org" , "dai.ngo@oracle.com" CC: "linux-nfs@vger.kernel.org" , "linux-cifs@vger.kernel.org" Subject: Re: Locking issue between NFSv4 and SMB client Thread-Topic: Locking issue between NFSv4 and SMB client Thread-Index: AQHXedODTOIDb0BSHkCFWx5UQXQvwauyloUAgABgTQA= Date: Fri, 24 Sep 2021 03:35:38 +0000 Message-ID: <48b3a41e2dbea7948b0df3fea002208a273409fd.camel@hammerspace.com> References: <5b7be2c0-95a6-048c-581f-17e5e3750daa@oracle.com> <20210923215056.GH18334@fieldses.org> In-Reply-To: <20210923215056.GH18334@fieldses.org> 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-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 84f23aed-9424-4fb9-80d4-08d97f0c605d x-ms-traffictypediagnostic: CH2PR13MB3637: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:10000; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: cKoPR6P0bJ0pmQVIl/1TuxAx3NbC5atw/aJL3p1zC1djwLUK9VjeOBk5oQhwCi1ApL3oTG+UvnmixPTKN3C9KbNNAI/BTy6pV+V/ISQbFJqa4anTvzE9x9Rn26LUWKf6PIlMqv3loHIC4lBG7kMU5Zdzqa+8eo7y9vKgI2eB6W3TBSY99YueKD+3WZ8qam1D6IOVMHKisR9wWUd5BSdb1XUUw5tl4Kddcz9zEFZe7hinr9/F5mHVx+zxZQeS6hn2yDuuPkSci3FZRxJmntDqitqE0vZPI6R4Roj9AY8p2q51UuHrZ98oBupcvyMNaMF9gE7w5GT74FZQOPM5+KTO8TBSAVtaRf7BEhvEiJ/O8bw4s5nw2qJREzJg/zoBi56RgNYaCuhaVM0SFACfDhpWxTJsd3TEGtjqfwMJPty+l656oCS+UkKKi7g/dIuBmOzaX53xHLM81qfQrwoOkmXhZeKY7M0CRvF/OJwPNlMolyVJKoqY9I65qkY2Q17sAVGX9dKiCvTnS2fA+fbIZfKFyZSxqMHfD2DxJgNCpjeB59tzoPiWjDEYnbvyJKx9r830CryAuBVoxpXfCv1UbkbHV1ZOACPcfB3WrOad54VoT6D8tYYtgrybQo9FmStLh7r5v0tchfxIf/H+D1bqaWitWlQSgDcDMwDZbceGJvON9ZZBiBrkd0mgxMWw6VFgEVrDkb9j5+INE+0QggLEnwjcsg== 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:(346002)(396003)(366004)(136003)(39840400004)(376002)(86362001)(38070700005)(36756003)(508600001)(2906002)(122000001)(83380400001)(66946007)(66476007)(66446008)(76116006)(66556008)(64756008)(6512007)(4326008)(8936002)(6486002)(8676002)(71200400001)(316002)(110136005)(54906003)(26005)(186003)(5660300002)(2616005)(6506007)(45080400002)(38100700002);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?utf-8?B?YUZQTis3Qm1HRlNJMjFvaVg1MUwzY2RxUjY5ZXBsby9MbTZXbDQzRTVBQlE1?= =?utf-8?B?ZE9sSmVrK2diN1orQkFiUnEzMXR5bXp4NjdLUzdZaVBEQ3ZldTZRcWlsaG1v?= =?utf-8?B?Rk5ZZzI1QWEwVmpsOEkyWlZLVnJGKzBHRjNRZWR2blQwWDJNZURFVGlZdytx?= =?utf-8?B?UnV6SXJqT1FtUDg5ZzNpMVlEM0JBUmU5YzdlbUtQL1MwU3hRM0VCenJ4NkNm?= =?utf-8?B?QURNdHJodVhUay81NFBQakNka1h1S1RRZGZOcVRyQ1czQUFJaHl0OXNJRXJY?= =?utf-8?B?T2xYTDNBZDEyb055c0xoMHhPQ1VUWkIyem1NcmN0Nkhjc0IzWjhHdUhMUGsr?= =?utf-8?B?b1dIU1VaN3BGWWlJVWxVczJVQzg5SzUxVmh5L1FuS2xESElnYlk0OUU1MVpv?= =?utf-8?B?V1BDdzdqWVM0VTg5Yk5nd0lOQXRZbHdkVGhnY1M2bjNCV1NuR1JBa2JSSDRu?= =?utf-8?B?SzZsTHpMdWVMNUE4R2RBSEZOVTM3ZWNPUVdIWHZtRFhaR0lVWFFJUGVaQ3NB?= =?utf-8?B?Q2NtTTVxdHhVaTgwR2YwdEZ0MXhhRys4UWgrQzl0NHl2dzFFcDRoZDJ6UGpa?= =?utf-8?B?bkN1U04wUUwvWEZiQjdPTlhRNDFwdVhqZExBbk9iZEViS1BiQWFRa0ZnL2Rt?= =?utf-8?B?U0pmTFRkU1M0b2hGKzlyV3FLVUhYZUtNaThNcTVkcEk5NEozaVBvMXNaaC9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9iS0s2WThXalRvSkpGazBQ?= =?utf-8?B?QlFFa0RmQk9jckV0MTVFUDcyamtRVXY5eUk3MGFSYUFFQlljQVdZalJTVG1S?= =?utf-8?B?WFFzZkI0dUU2ampRRndQK25iTFVFR0w3UDM1cWRoWmN0cXFZSVBQU2xjMjhC?= =?utf-8?Q?JpBl1FQBT1OC9C18Cx75RTeGzGUNtpdqhUvDiX/?= 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: CH0PR13MB5084.namprd13.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 84f23aed-9424-4fb9-80d4-08d97f0c605d X-MS-Exchange-CrossTenant-originalarrivaltime: 24 Sep 2021 03:35:38.0939 (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: Y8/e32TKcSlJlRNUY7ZVy5SUsJh4TCeEKBoBkAh2m/nfS494tMIJdEuX+2nmIpyADBANB9JdnK+dochHamQSKg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: CH2PR13MB3637 Precedence: bulk List-ID: X-Mailing-List: linux-nfs@vger.kernel.org T24gVGh1LCAyMDIxLTA5LTIzIGF0IDE3OjUwIC0wNDAwLCBCcnVjZSBGaWVsZHMgd3JvdGU6DQo+ IE9uIFRodSwgSnVsIDE1LCAyMDIxIGF0IDA0OjQ1OjIyUE0gLTA3MDAsIGRhaS5uZ29Ab3JhY2xl LmNvbcKgd3JvdGU6DQo+ID4gSGkgQnJ1Y2UsDQo+IA0KPiBPb3BzLCBzb3JyeSBmb3IgbmVnbGVj dGluZyB0aGlzLg0KPiANCj4gPiBJJ20gZG9pbmcgc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