Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp1521995ybl; Wed, 18 Dec 2019 21:14:14 -0800 (PST) X-Google-Smtp-Source: APXvYqy+GjMKLK7q2qg1nbKfoANPxxs0k8rkBTeF5R7Y+M9xFDOodAQWFaTsdCRXopBFcMhhsLVq X-Received: by 2002:a9d:6181:: with SMTP id g1mr6961150otk.104.1576732453874; Wed, 18 Dec 2019 21:14:13 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1576732453; cv=pass; d=google.com; s=arc-20160816; b=gyw2G2nZxod7s/iu0ecwnwCyFEeJm7Pn8SV8dj3JZfZhsL3B1QrA5maCTi8Hm7KRzV 4B7SfBzKZGZEop4TCY4bNmSe6hXPKT07x2y5DIBTlhcY6MpcHzfrO5OTKQoggVUAoaXY xBx0RzkFhQ1U6fHDr78plN4kGf25ChTIPWvM3Q+HWNU2txJHmo9lYcpIomuY+0UEuSfm ZcX1KF4Dm6WYUs1DYV85QmA9UT+eh6WQPMZz3PJxrx6Fpsy4RcaXZyBT2lGpNSOnFC2g guK6kJRt6BHydEYfUlMARkQLm1VNJD5mnQoOoSrlQFRi3+neHiCCE/XWQSCORt4sT4ZP KovA== 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=aYSEMHupXYkjnYzraw60pinnZbJKhzeRKziX7ZqX4eY=; b=Gc/hgLgJJu3Iz5/q3M/+BRzrHLJxpOZ9D7ZDI4H2sXgvq1o0yfX4lMuaphB1PRYyIx n6RO25ji1cGtVcxlrfXLo4b7DXsviskow73ljIflSS101Cm5iXZeuWMqSr1Lk6480avk Rw3CyEcWQCI2jJ/7a0BRYpJ/83wvhag/sKdzVVThakvVJ/6ljqudRsmraANV4CQgmcic BqCpuU1jl/vh02qY/QC2P9Dqj4DVAMzR9gvZcPkYwuhiMH8tmbnyQUzSbaVAHL+ePyHT O/xCmC2mOYGh79Yu8coW8KkneawtFA12wufbbowFikgQsILREKMPJqRrm+4pMiveYCvt xwpg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@hammerspace.com header.s=selector2 header.b=c1jNH06D; 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-nfs-owner@vger.kernel.org designates 209.132.180.67 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. [209.132.180.67]) by mx.google.com with ESMTP id x5si2655990oic.72.2019.12.18.21.13.53; Wed, 18 Dec 2019 21:14:13 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-nfs-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=c1jNH06D; 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-nfs-owner@vger.kernel.org designates 209.132.180.67 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 S1725844AbfLSFMy (ORCPT + 99 others); Thu, 19 Dec 2019 00:12:54 -0500 Received: from mail-mw2nam10on2124.outbound.protection.outlook.com ([40.107.94.124]:44589 "EHLO NAM10-MW2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1725446AbfLSFMy (ORCPT ); Thu, 19 Dec 2019 00:12:54 -0500 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=FxgdtYpdoc10NVmykfNSdTrPnPgjLh5FjLCD9ERn98C+C3YhZXMIHOLBBP3npmiEOXU36kRrsf/H5xJa3ReI2wqVoQQmQEXhMhTkuteps4EXlp+QP4G78Mfbjg+bYLe4P8gO73SxNOTIXGVmAi24FB3gig7wO6m4oyKpeWVDQBqJMK6Iock9ZMM7wNLVjek/hHtnjwKwrqWyK2myKVcRrCyYDZ4/Czcr2xjlsxhVcIwz6TLH+o331d9ILyq1pEPD2cWMARWqmalZSyB2Nrn6L6Js0KPux7QV9bZj8mvHcaMP+CYkpZhVdcFS5GTxyfqjKYunwPiQCqTY1wkCiXvr2Q== 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=aYSEMHupXYkjnYzraw60pinnZbJKhzeRKziX7ZqX4eY=; b=BMhoS05eomkX/4G+/z8NNRPNx3PydGqbq/MqsNG25ITF/RijUB7vC81rW4CB/P9WPJ19Mbj36gWsuoNAZ1AUY07IXnT2bV0z4RyK2KQfIkyjrj9kErG6DW/6koBVXLRX+hGFb8S9RNonpaNBs2t+q8hq1gJUS8oXM8cROWgtWEwmaZDQiq0tGdIMJxc83w2Wq5xiPFlzK8Le3PLUolmg/AYhzBAovjD2hCAhkvOzOUrW6obrVZGy3noGbsw4ZWrMMFzW0yeF/VrKBMFEtNvWmGJNIps1hteeIcTxf9RylqIazz1KewkpJerZMbvir8NagQ/qqtbBuyOns5uItMGdgQ== 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=aYSEMHupXYkjnYzraw60pinnZbJKhzeRKziX7ZqX4eY=; b=c1jNH06DszH4sGTnIF6ES8a4FvFQJxpyRVOrh/IFHZKqv80IocT0RzoROWgb0oVuB8OKTuKmZu7B508tDlt+/DFHda0gOEbZ+EqwJ+3RSKOS8s5Kh2/Td2Q7TcLHrjojxfmeyPCr/nt1nP3ezRcKFUa+T38xHbpSmoHMR7KbOwE= Received: from DM5PR1301MB2108.namprd13.prod.outlook.com (10.174.186.34) by DM5PR1301MB1932.namprd13.prod.outlook.com (10.174.183.34) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2538.14; Thu, 19 Dec 2019 05:12:11 +0000 Received: from DM5PR1301MB2108.namprd13.prod.outlook.com ([fe80::2d23:b456:d67:f230]) by DM5PR1301MB2108.namprd13.prod.outlook.com ([fe80::2d23:b456:d67:f230%6]) with mapi id 15.20.2559.012; Thu, 19 Dec 2019 05:12:11 +0000 From: Trond Myklebust To: "neilb@suse.de" , "anna.schumaker@netapp.com" CC: "linux-nfs@vger.kernel.org" Subject: Re: [PATCH/RFC] NFS: handle NFSv4.1 server that doesn't support NFS4_OPEN_CLAIM_DELEG_CUR_FH Thread-Topic: [PATCH/RFC] NFS: handle NFSv4.1 server that doesn't support NFS4_OPEN_CLAIM_DELEG_CUR_FH Thread-Index: AQHVtfUj0Db4D3dPKk6JV7ObGp2xVqfAjyIAgAA0tACAACX5gA== Date: Thu, 19 Dec 2019 05:12:10 +0000 Message-ID: References: <87y2v9fdz8.fsf@notabene.neil.brown.name> <3afd2d5c631d8e3429e025e204a7b1c95b3c1415.camel@hammerspace.com> <87v9qdf2gh.fsf@notabene.neil.brown.name> In-Reply-To: <87v9qdf2gh.fsf@notabene.neil.brown.name> 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: [68.40.189.247] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: b1ffc34f-c621-476b-7595-08d7844200c5 x-ms-traffictypediagnostic: DM5PR1301MB1932: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:9508; x-forefront-prvs: 0256C18696 x-forefront-antispam-report: SFV:NSPM;SFS:(10019020)(376002)(366004)(396003)(346002)(39830400003)(136003)(199004)(189003)(186003)(36756003)(508600001)(81156014)(86362001)(81166006)(8676002)(316002)(2906002)(6486002)(64756008)(15974865002)(66446008)(66946007)(2616005)(66556008)(110136005)(4001150100001)(76116006)(91956017)(66476007)(6506007)(71200400001)(26005)(5660300002)(6512007)(8936002)(4326008);DIR:OUT;SFP:1102;SCL:1;SRVR:DM5PR1301MB1932;H:DM5PR1301MB2108.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: ILGAStX9rbtixJGC8g0bQjbTNWD14JUcPwuR7QxQkghZPwySQo8e3GGOSsn9bjKHffDli9BQKvTE36m4N/5ESfDGkCXo8c4VJ7/sSkUaFpB1rSNsxRQfOOECUtdf9U6Nh2E2iuLugkLrneb14TSyUizR/ICP8b7IeOJESYdi69zjel1obIEdKeVD4nypyaK+Fm/THGAyXUvGiSbdytnl8u8CEDY+pCvEINrKhUCQW5LanVsxqgRU9BuMRUIJ5YsB9JMhmObl9kN6TwxHr6u/m9lNz9eoOb3y9TxnDdQ1JGqkDBKhn6BXkNA5qwD2zlWUJt05Wwv2A9TuKdAOL3QcCZXaxbos9Rbptk28K5CxcbvATNMmtMqzyTxamOUP9AEEMzgvEdydtJrvf+/zJZr6bQDUQgpVOUgyzwE/ygjZPnuKagsOa2eOGrNGu5dDnTrqtl+k6ojcVX1fisqukU5xB7BoQVov2K/74Z18Suz7OJU= 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: b1ffc34f-c621-476b-7595-08d7844200c5 X-MS-Exchange-CrossTenant-originalarrivaltime: 19 Dec 2019 05:12:10.8974 (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: aHq9BvEWN+0EKU5FCQlZayCS0f+jxFSQEbVHQrocxqAKH2Ye4CamyqPVT7G6EPLnN1aR2NrO9DnhAAg/ZkCM/Q== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM5PR1301MB1932 Sender: linux-nfs-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-nfs@vger.kernel.org T24gVGh1LCAyMDE5LTEyLTE5IGF0IDEzOjU2ICsxMTAwLCBOZWlsQnJvd24gd3JvdGU6DQo+IE9u IFdlZCwgRGVjIDE4IDIwMTksIFRyb25kIE15a2xlYnVzdCB3cm90ZToNCj4gDQo+ID4gT24gVGh1 LCAyMDE5LTEyLTE5IGF0IDA5OjQ3ICsxMTAwLCBOZWlsQnJvd24gd3JvdGU6DQo+ID4gPiBJZiBh biBORlN2NC4xIHNlcnZlciBkb2Vzbid0IHN1cHBvcnQgTkZTNF9PUEVOX0NMQUlNX0RFTEVHX0NV Ul9GSA0KPiA+ID4gKGUuZy4gTGludXggMy4wKSwgYW5kIGEgbmV3ZXIgTkZTIGNsaWVudCB0cmll cyB0byB1c2UgaXQgdG8gY2xhaW0NCj4gPiA+IGFuIG9wZW4gYmVmb3JlIHJldHVybmluZyBhIGRl bGVnYXRpb24sIHRoZSBzZXJ2ZXIgbWlnaHQgcmV0dXJuDQo+ID4gPiBORlM0RVJSX0JBRFhEUi4N Cj4gPiA+IFRoYXQgaXMgd2hhdCBMaW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