Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp7936509ybl; Thu, 16 Jan 2020 08:02:37 -0800 (PST) X-Google-Smtp-Source: APXvYqyB/N3J+nUoED05TXXwTlz5rXmm0/3eviZcpt/CDWRQFZ+0Sn6400FfQtVIEXhOvr7xwB4A X-Received: by 2002:a05:6830:13d3:: with SMTP id e19mr2516401otq.135.1579190557011; Thu, 16 Jan 2020 08:02:37 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1579190557; cv=pass; d=google.com; s=arc-20160816; b=0SckVOsrXgxDClp+Ywz6d9gWvtlYqAMPQLyLXLVCFeyfQdwG5kVBopne79YjKB67xC 6EVDqllk8LlFg03JaEEgOOhE4xA+OMvqbBce3nETX7gfzg+5uRFe/svkLV7WLMmJ/mRC M76y2k0dC5KXb5yD7iIfMy+5mL5bdyTEEDV8vMi2GtFTU4ZIpW+vZev2WUgKL85G1Q2k DmEYuoyanE/oVEs5jIbHWW+ejgGRpAtEvDz6TOFQIDFeZog3mCTjTgJ6xRjaQs48C31k BdL6h5DyEMT0hpwE5njtdzXBaoAQb/pBkihKNJR9pMnhc8Zxez3gN2puEhHUzEVlOrnN 4nuA== 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=bDx446LktZ630mk09IF1jVaaA7zFKTykb7hwyGNq7ew=; b=fhGdJaSUPwWIh00VQH8cN0oPJYmBPzSJAXgc7F7mO42QUW0SyzQDMIhfKoNC7M46/Y ByaMJ5SzssI2debPch+PfbvnwnrpvEL34K+ynNesh4hv+HBQxSu9lOyxgDxKslXqLl3c ooxJYmNHsSRlGMLoPPeRmvdu3wvNJPL9p+z+qi0+aom4NEUjNFyOAxO44dXY7BdEzP/x 1T3K0tkv1YT01bAHrjcRazHiiHUosOyCSD2uR/+esiWOtr48knU3On9/Myav+zziqY78 yXjez2f3IHlfB4lW75fg75CqnRJLUQbpDFISDa1+5TKMRynLXQ0QZoNTP0wAH4O1/mxJ JAog== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@hammerspace.com header.s=selector2 header.b=BPq4YtpA; 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 r4si13557706otd.50.2020.01.16.08.02.16; Thu, 16 Jan 2020 08:02:36 -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=BPq4YtpA; 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 S1726189AbgAPQCP (ORCPT + 99 others); Thu, 16 Jan 2020 11:02:15 -0500 Received: from mail-eopbgr760121.outbound.protection.outlook.com ([40.107.76.121]:33602 "EHLO NAM02-CY1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726832AbgAPQCP (ORCPT ); Thu, 16 Jan 2020 11:02:15 -0500 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=fRlDxBwZe0UzEYCZDPmCnJXqcB4vGmMTzD0gq7Cpqj6mjbI5wwLSTW/g9NYaxeMNXMghUh5hEijbZcstN4PNCHkgt2IIjYV9jezNW7fbIJPZUtiOmcvnlnYo7o/obG0IdAjvQZxczwEoZA7rU0OI9zcxIBnfh0h5VPPbCCdGEYRVWPRLTKYym+GU8vCK5oJjMiFvBAIA32G1KlX8KxHSQXpnd3LaUXNRA4P8/EeMl5r6Oy7KwlYDQURXqoxaKH5ZfHNWm2O4X5I6tJRigImLsVaoOh8ogvfI7SK0uCfv32nOeOcS3NadOQVn+y5bxR3XWIJ4Qb4G3Kca07VX62bHjw== 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=bDx446LktZ630mk09IF1jVaaA7zFKTykb7hwyGNq7ew=; b=BH+Q2lx1HWIR3ER+tY3X/KvqYnItRqRZ0x1CEKIUZSU6UvxG/7IYL9Kgmzb7Y3FJ2qIlJIDkqcJMGGYylOuMTeaOz1xxeX7rt9B2fAPR12LIsZ+AauzPV/ZYPJXxFgpGfzz3RqcIfJZuUF2cBwhDFjkiqkPKMb25SmVLR2kJbhfA2MQRyZl9ooaQnAO89INDFfnJfyzu/yc8/oZyGPmPJpmjfXEuJbuzHKp6Umo7oPVrWlUQZy2/HpbTRaTvdZCTOKJHvwsofV1/9+TcBJbY2qSi8PWfynML0OuVEZZ61ofwUKd9BpbNxrUcdEv5HGMVqGxm300qUpdDrs6UFmErzA== 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=bDx446LktZ630mk09IF1jVaaA7zFKTykb7hwyGNq7ew=; b=BPq4YtpAG3h8TbFzsRKpriocnXg9uj7XvNyl3QRSknPIkw+ExOJXvBidHk6H5Kjt8UIZmwUOTcx6Cot48GRMK31H/z54Xklsk5SP4TvC65/bk6bmYv/LoHOZFNMbg+toNUe+A6N5CLmb2YJsMQr8JqnqxLk3WW12jdK/E/9TmfY= Received: from DM5PR1301MB2108.namprd13.prod.outlook.com (10.174.186.34) by DM5PR1301MB2075.namprd13.prod.outlook.com (10.174.185.155) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2644.14; Thu, 16 Jan 2020 16:02:11 +0000 Received: from DM5PR1301MB2108.namprd13.prod.outlook.com ([fe80::2d32:cf4b:1b58:16ce]) by DM5PR1301MB2108.namprd13.prod.outlook.com ([fe80::2d32:cf4b:1b58:16ce%7]) with mapi id 15.20.2644.021; Thu, 16 Jan 2020 16:02:10 +0000 From: Trond Myklebust To: "bcodding@redhat.com" , "anna.schumaker@netapp.com" CC: "linux-nfs@vger.kernel.org" Subject: Re: [PATCH v2] NFS: Don't skip lookup when holding a delegation Thread-Topic: [PATCH v2] NFS: Don't skip lookup when holding a delegation Thread-Index: AQHVbvlhXK/ljPJmmUKulFnJAnn0pafuIqIAgAAMCIA= Date: Thu, 16 Jan 2020 16:02:10 +0000 Message-ID: References: <77be993185fa7f114f6856f74f2f7affb5bd411d.1568904510.git.bcodding@redhat.com> <6399DBA2-DA9D-40C3-80BC-6DCE94BB9C49@redhat.com> In-Reply-To: <6399DBA2-DA9D-40C3-80BC-6DCE94BB9C49@redhat.com> 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: b4a761af-43a3-453a-eef6-08d79a9d7204 x-ms-traffictypediagnostic: DM5PR1301MB2075: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:8882; x-forefront-prvs: 02843AA9E0 x-forefront-antispam-report: SFV:NSPM;SFS:(10019020)(366004)(376002)(396003)(39830400003)(346002)(136003)(189003)(199004)(71200400001)(2616005)(66556008)(36756003)(91956017)(66446008)(64756008)(6512007)(76116006)(66476007)(5660300002)(66946007)(81156014)(4326008)(86362001)(478600001)(8936002)(316002)(186003)(8676002)(53546011)(6506007)(110136005)(2906002)(6486002)(26005)(81166006);DIR:OUT;SFP:1102;SCL:1;SRVR:DM5PR1301MB2075;H:DM5PR1301MB2108.namprd13.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;MX:1;A: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: 0LCYZBuyBgkIwa1Gdw+UJG+1O1f1P39BEG5WgRz39UXQf9azXiITU+6Ppn90g69I6d1SIev3rxSily9sVq009KDL1igO7HOTodtknd3uoL/bRZcPSysA3DjpBzGgKAHl3d2ZXo3xmcnBZ38jasXwbfykEtMXnkJe4hXW5lQsVPerIO7wGsaFnkTKsKNT+toIQNodhL8Wp55ko85gpVL8YtuldNZ6X04dWs+oHlYRSJzk/F7nSknlN87KiJpBno9UEuLP6UiUAb7oWyBZTiiSnrL7xzQPcpNQu+LFE2aoGVWH0C6IYIn4WNerPm3i36qG8MmY+/kbyRely7kLiaW+IECWXuD8qoUCrOFRkRqmYF9z19jt5Ev0CKlLkHewvbsMGPxX42wW7B/QTvnuC3SCyGefvPnw0PYtSa+ZwAOuXzfUXwHFr83BwTBRtI1cVeU3 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: b4a761af-43a3-453a-eef6-08d79a9d7204 X-MS-Exchange-CrossTenant-originalarrivaltime: 16 Jan 2020 16:02:10.8334 (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: +PvliCgDPAygJqStHZKGzyRyetJU9IJ3Q2LVuTGSoDZCqNRQ218PYXU2SXDPLYXJSlXkTbhU3/PtL7+n7jDjTw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM5PR1301MB2075 Sender: linux-nfs-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-nfs@vger.kernel.org T24gVGh1LCAyMDIwLTAxLTE2IGF0IDEwOjE5IC0wNTAwLCBCZW5qYW1pbiBDb2RkaW5ndG9uIHdy b3RlOg0KPiBJJ2QgbGlrZSB0byBidW1wIHRoaXMgb25lIGFnYWluIHdoaWxlIHdlJ3JlIHRhbGtp bmcgYWJvdXQgDQo+IGxvb2t1cC9yZXZhbGlkYXRpb24uDQo+IA0KPiBXZSBoYXZlIGZvbGtzIHRo YXQgaGl0IHRoaXMgcHJvYmxlbSBpbiB0aGUgZmllbGQ6DQo+ICAgICAgLSBjbGllbnQgY2FjaGVz IGEgZGVudHJ5DQo+ICAgICAgLSBmaWxlIGdldHMgbW92ZWQNCj4gICAgICAtIHNlcnZlciBnaXZl cyBvdXQgYSBkZWxlZ2F0aW9uDQo+ICAgICAgLSBjbGllbnQgbmV2ZXIgbm90aWNlcyB0aGUgY2hh bmdlIGJlY2F1c2Ugd2UgYWx3YXlzIHNraXAgDQo+IHJldmFsaWRhdGlvbg0KPiANCj4gSXMgdGhp cyB0aGUgd3JvbmcgcGxhY2UgdG8gZml4IHRoaXM/ICBBbnkgb3RoZXIgZmVlZGJhY2s/DQo+IA0K PiBCZW4NCj4gDQo+IE9uIDE5IFNlcCAyMDE5LCBhdCAxMDo0OSwgQmVuamFta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