Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp3531719pxb; Mon, 9 Nov 2020 13:49:26 -0800 (PST) X-Google-Smtp-Source: ABdhPJx1OepAjfV0JV33DtbhUnKFdN3khUyHqLX5mekF5sBDZIKyCT+mofTmM280sbUehi2Hvt6N X-Received: by 2002:a17:907:2166:: with SMTP id rl6mr17229513ejb.61.1604958566504; Mon, 09 Nov 2020 13:49:26 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1604958566; cv=pass; d=google.com; s=arc-20160816; b=K8GoIdLahx6D9E+6bLKvFKFPHwDboQkD2GV6UyvJyI1K7WgwP5RYKkCVFT6kBVbZNJ DFey7CHLcqU8xGHmIb6/D40S1j7RDlmSNJM7dyVgJb2iVmQ4EhkopNDXcIbPs0z3ldKF qGC46JSp4GMOWsYTsmXzqVJJhEZ8Lh6FvnxyzLnPlvQrsc8Zkk9rVZxWEWPLyshek+6m uR3yUcz/ERUOBo/7X2+ju4TlnORh9UvJaTbqYPYcRelOwQTKURL7cGYK0G7kvsodJsJq oPwVD5Cu3qg/M83IA+QSmq6TGNB9qWkqhvpVzAnbtMI2Sc1eobvAIHphb0HgSvkozRX0 rVXw== 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=ObQL5w/7phAIVBD/cwbJaS9z4d9d2YrxSgr2OOZHmEE=; b=mDa6X4uSIxqNJHRHcC3yOfXaddc7NH9ApcbRKbDWBl6UhwDU3iOCAwpmQ9sUp/XkPP XLK7o+6SlbLGHwCux/pAj4BcG+Ycx6cVGE1j/60RZRSVmerMgVrXzrNDME/HdEFuwRRD B0jUIgZiT4jdQecbalZnRy9QetldewzZsMi5p+vYVOF1+c9QyE+6Qlr69VVkBDz4ET4W rCmR69mg4/u90H063mmEqN5k6wTrM2H9wyan6jlvIj+i63u2U1lY6+riluOjpPCqBzQw jOufziMDouektpeSYdW64VmsHVy+RAb4PuFFPldqfuZOMpmLZjHt8BQIHsFEX7MqX6mM vyGQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@hammerspace.com header.s=selector2 header.b="Jvx3P/rM"; 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 p22si8045600edy.347.2020.11.09.13.49.01; Mon, 09 Nov 2020 13:49:26 -0800 (PST) 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="Jvx3P/rM"; 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 S1729247AbgKIVqp (ORCPT + 99 others); Mon, 9 Nov 2020 16:46:45 -0500 Received: from mail-mw2nam12on2109.outbound.protection.outlook.com ([40.107.244.109]:45153 "EHLO NAM12-MW2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1725946AbgKIVqp (ORCPT ); Mon, 9 Nov 2020 16:46:45 -0500 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=j/JuUqG84O2wiZWv5fYUQcKn/94Vu9BkysmVUuuEktBI6BtfAimxO5JxDryoFWf5X751V7eakc/uKNIN2b3ZwR6bAMRIznjVXXY1eZpMjCgr1y0BwiPjxYLqDOPR6ChNXpfvl50YDeVH3DiduoyPFlbWHROX3v6dUbxHzdJ3bbjZuuxFNJF01gEusNoyv8W5c4QNqmJVjnNzPHDlYrP93N8qDGrrSpeIUByEDzX789CXqM1gQZDZpcEB0bA1dujFrbxYKVoLk+xBblZ+38kjqa/XR89znMeqfolMHxSMITSO34/hA/DJSonXf4wt6fo7fOjLLwo0al/hKwO+N4gOig== 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=ObQL5w/7phAIVBD/cwbJaS9z4d9d2YrxSgr2OOZHmEE=; b=mjkmeHREaxi1PEmwLwcbGUNpamoGvQQAW33MTg1tA5lQdY1f4XrIqsJ7uOhaN0QyWoNc43C2WJA/R9jE9DxDnDoZq8hLVVvtYjZl9u5a10bEoDA5297dTOp3gOj8jp/p5ujz2bW0bOaLz5FLcfL1T5q3JasMBKIFlQrixg+7b55RWrgdEPNbx6FCLGWU7W0DI8J3MaCPs+nCuEvqTq4+Xei5eld1XNxtk08FFz0E34iSvzU1DY7dakjZ/cTxmliP6yaHieszEh/NPXs4vsTNfrXRM2DCxcaq/TMygMy0Z6fkn5MGSfwNMLMTzy6ZWOaHYokgQZpni/tRQ6C5JwkMkw== 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=ObQL5w/7phAIVBD/cwbJaS9z4d9d2YrxSgr2OOZHmEE=; b=Jvx3P/rMhY49W5ggjhXXnP2EgV1lxfYJArUqaVQ2U4sOWOvCL6pQe5g8oa0im7+2hgvcovqhjTYbL2pJZsbFduWC8MWrpL7/zbQ83ipicu2aCc54xBqoJYWVR3AMWM/zBIAJzpwRu4pZNa7hqg98rxkzTchMGu5T2pwh7eOSPWE= Received: from MN2PR13MB3957.namprd13.prod.outlook.com (2603:10b6:208:263::11) by MN2PR13MB3230.namprd13.prod.outlook.com (2603:10b6:208:13d::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3564.15; Mon, 9 Nov 2020 21:46:39 +0000 Received: from MN2PR13MB3957.namprd13.prod.outlook.com ([fe80::e989:f666:131a:e210]) by MN2PR13MB3957.namprd13.prod.outlook.com ([fe80::e989:f666:131a:e210%9]) with mapi id 15.20.3541.018; Mon, 9 Nov 2020 21:46:39 +0000 From: Trond Myklebust To: "bcodding@redhat.com" CC: "linux-nfs@vger.kernel.org" Subject: Re: [PATCH v4 21/21] NFS: Do uncached readdir when we're seeking a cookie in an empty page cache Thread-Topic: [PATCH v4 21/21] NFS: Do uncached readdir when we're seeking a cookie in an empty page cache Thread-Index: AQHWtRA6iwOeaceJLkybCI7SueOQ/6nAV/UAgAABg4A= Date: Mon, 9 Nov 2020 21:46:38 +0000 Message-ID: References: <20201107140325.281678-1-trondmy@kernel.org> <20201107140325.281678-2-trondmy@kernel.org> <20201107140325.281678-3-trondmy@kernel.org> <20201107140325.281678-4-trondmy@kernel.org> <20201107140325.281678-5-trondmy@kernel.org> <20201107140325.281678-6-trondmy@kernel.org> <20201107140325.281678-7-trondmy@kernel.org> <20201107140325.281678-8-trondmy@kernel.org> <20201107140325.281678-9-trondmy@kernel.org> <20201107140325.281678-10-trondmy@kernel.org> <20201107140325.281678-11-trondmy@kernel.org> <20201107140325.281678-12-trondmy@kernel.org> <20201107140325.281678-13-trondmy@kernel.org> <20201107140325.281678-14-trondmy@kernel.org> <20201107140325.281678-15-trondmy@kernel.org> <20201107140325.281678-16-trondmy@kernel.org> <20201107140325.281678-17-trondmy@kernel.org> <20201107140325.281678-18-trondmy@kernel.org> <20201107140325.281678-19-trondmy@kernel.org> <20201107140325.281678-20-trondmy@kernel.org> <20201107140325.281678-21-trondmy@kernel.org> <20201107140325.281678-22-trondmy@kernel.org> <86F25343-0860-44A2-BA40-CFB640147D50@redhat.com> In-Reply-To: <86F25343-0860-44A2-BA40-CFB640147D50@redhat.com> Accept-Language: en-US, en-GB Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: redhat.com; dkim=none (message not signed) header.d=none;redhat.com; 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: 69738481-919d-4d02-0282-08d884f8f047 x-ms-traffictypediagnostic: MN2PR13MB3230: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:3826; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: mfqSfdaWbQr3iogS/pWQMaylQH9WJ6ysIayVoLIzU4JDcsrfqmZpxJ/vefOz/m5N5BLJDfBBXprNyKs/65RHod96VIBujOTnWxAI7Ic8GHWtaL2BrE148jAAdvrjHRMi1cMZT7L3y9OvtgbOVM5CPJc8RqOaFLyS0B6wjDY89nJPXbEnoGmn3DTP5O9yzmeVdS7sgDnRTGQpzonMIjrXdkGuVOrtI3Uzsp6MVQqEqRCCGnGq/CXr7BxTP6v8vehYlmwJ+ZCIAVb6kqP8PCXS1Ae1ewyXtfX8d65jMuO9D50K7lmEGN81FG6PdjjYObmhL0awDTZ/3JQUp++KyBNUKg== x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:MN2PR13MB3957.namprd13.prod.outlook.com;PTR:;CAT:NONE;SFS:(376002)(346002)(396003)(136003)(39830400003)(366004)(6506007)(5660300002)(8676002)(36756003)(186003)(316002)(83380400001)(86362001)(53546011)(6486002)(66476007)(66556008)(8936002)(91956017)(2616005)(64756008)(66446008)(6512007)(4326008)(66946007)(76116006)(6916009)(2906002)(26005)(478600001)(71200400001);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata: Myoybbg9EJyNfSLFY9tfrlCO/XNkY7nD6W87Rkivl+apyjXCYTc9k5Fv2jhyxI6aPhp9/mmToVmgUJrMDNJV8tmzuhIyN9Mr0ZGxCmjSMp0Tgecvn4OTOUlHJYQySdPU43/PJN1BzHS6vg9FkQpSLIEEON+dNPSJEYLEtA9w0dFu3J4icgMayw5K7exkYE988S3YNX9nKjLQEjjt+1IZS/oQpnADkT7my65A3GvodAM9Yq2atrMd08kpEktYDJ4Exs9T7X+DKxPneqaTRo0Z6PRPcbb7+ppvb7snxSIrhDtnsqLMbY5Fqhi/FrP+I2Gj31/7Q2ELx3tAtYXau/pfhkIw9DthDcQeUMyi/NmMQJu2Zbc7GhLCToJzXA+MreaKjwDOutZfR6VUr376pIiGhJo70dIGclPHtIjKC8uks0CtbzHavV8n2J9AhQBM3ZaN4xvK4En72nD+FyoyaeKKuFYWRVQheQxqIYOHPOUe7b/IZUEU+Z5Qg0gNJ6xOOU/u6q3a0B+zBvoOFSYLS7o04c5mzDSOT+iqpY/5pczrErDWX1dzlbbBrSQsbEYIjL5GktHsi3J4TLbOKLSvvoWSSz+m+HFlKrtyX99UzLMan2bM1DHlhkrAJ5wqEwKnEK3JdH+UupcCMZ2MNTbmfARgQA== x-ms-exchange-transport-forked: True Content-Type: text/plain; charset="utf-8" Content-ID: <7F0A4616ECD8654CB0B8405E919BCF84@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: MN2PR13MB3957.namprd13.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 69738481-919d-4d02-0282-08d884f8f047 X-MS-Exchange-CrossTenant-originalarrivaltime: 09 Nov 2020 21:46:38.8895 (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: nMySYr7A0x6F1Oox0A0M1/MZZEOaSYeRGLTbbqS8+bj1SAIEcQtfNokqdVfz0/+dabcbeaNjJh2d+qH0rZnAKA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN2PR13MB3230 Precedence: bulk List-ID: X-Mailing-List: linux-nfs@vger.kernel.org T24gTW9uLCAyMDIwLTExLTA5IGF0IDE2OjQxIC0wNTAwLCBCZW5qYW1pbiBDb2RkaW5ndG9uIHdy b3RlOg0KPiBPbiA3IE5vdiAyMDIwLCBhdCA5OjAzLCB0cm9uZG15QGtlcm5lbC5vcmfCoHdyb3Rl Og0KPiANCj4gPiBGcm9tOiBUcm9uZCBNeWtsZWJ1c3QgPHRyb25kLm15a2xlYnVzdEBoYW1tZXJz cGFjZS5jb20+DQo+ID4gDQo+ID4gSWYgdGhlIGRpcmVjdG9yeSBpcyBjaGFuZ2luZywgY2F1c2lu ZyB0aGUgcGFnZSBjYWNoZSB0byBnZXQgDQo+ID4gaW52YWxpZGF0ZWQNCj4gPiB3aGlsZSB3ZSBh cmUgbGlzdGluZyB0aGUgY29udGVudHMsIHRoZW4gdGhlIE5GUyBjbGllbnQgaXMgY3VycmVudGx5 DQo+ID4gZm9yY2VkDQo+ID4gdG8gcmVhZCBpbiB0aGUgZW50aXJlIGRpcmVjdG9yeSBjb250ZW50 cyBmcm9tIHNjcmF0Y2gsIGJlY2F1c2UgaXQgDQo+ID4gbmVlZHMNCj4gPiB0byBwZXJmb3JtIGEg bGluZWFyIHNlYXJjaCBmb3IgdGhlIHJlYWRkaXIgY29va2llLiBXaGlsZSB0aGl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