Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp4023353ybv; Mon, 10 Feb 2020 10:48:23 -0800 (PST) X-Google-Smtp-Source: APXvYqzaHUcbtiu06FAYdYHOGNNYGZoKhb7MMF6PzDoydy0TQE4YFQpb326yUABYc5EwUd2VI6Sk X-Received: by 2002:a9d:67d7:: with SMTP id c23mr2120421otn.262.1581360503524; Mon, 10 Feb 2020 10:48:23 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1581360503; cv=pass; d=google.com; s=arc-20160816; b=0Kk8MYRty2fpTKat+GoMDF6CSJ2u4Ic+dr+YQmqOSIuPHtGmE7Kym7m17IxyTGIz6o 7PLFZXA8nofe08IawBLuqwHgVFqvSSyfeESzGTKhtbIHBKCT6cs1qbQuC4kkOocuNlwg 2y6EdJkV5FHG1bJBlG7ZYwC6IDAoxaq5d62l/xcdByKJwpfarqcgC1CXfRBM3t3PvxTG qF5ex8qzZI2CNJyAkeyfNW4GWKxx7r84IWe85AOheETvYoca85uj7gRmJw2H3WzMhLiW tyMYqaSDUObKPzignS8BiVWOzmvuHpXAF+biaoqixmNJVJC3PACl54k8GNXc8TSDnwBW oWEA== 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=/rGiJ19I4zHkNB8QhuorYywfR6tAOXuJsb4568WukEU=; b=BW7R5Q225Hs9Okj28LpsBTof9XgAediszKniKoCSWeJNjSyKxDrv8AoBpqXlBcjzyV cVNrkvvcRE0cENANK+XVguxSqCE48m7g/hp8U54v0wJUjYGdS99KlUce8VlgFZIUB0KT CnVHX5jAN2P3MfkhWNNwjhUp1Wynq79Z7R/Yapdl0cmU5TtCOwjCh7BT6Mo0pWvHL+/B j5sydG8Aq4Pcx5nst9KrjsLrfuv94lyicJ+Vz2/yuLe/g792BQ1YG9joMEh4JddK0V9w aJg2UyHdgCrUJi7+9an52MvPR6tvl6RWesPyoBpx2WCvqBiZKmhRTaKfQv+0z699g2so +1eg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@hammerspace.com header.s=selector2 header.b=OFi0PI5e; 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 p191si518720oic.257.2020.02.10.10.48.02; Mon, 10 Feb 2020 10:48:23 -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=OFi0PI5e; 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 S1727054AbgBJSr6 (ORCPT + 99 others); Mon, 10 Feb 2020 13:47:58 -0500 Received: from mail-dm6nam10on2091.outbound.protection.outlook.com ([40.107.93.91]:16384 "EHLO NAM10-DM6-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726991AbgBJSr6 (ORCPT ); Mon, 10 Feb 2020 13:47:58 -0500 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=iBLBtvc9eWr4BMSoaX7mUhHIC9j8OUrdVR53sWgiQqYdN0bMxwS5cY0Oe86HPcbd7A8jB9prLiBvf2meJnt8EE72h2WXwBThr+Nrp706EMbvyBNBw08ezQmtWs+Rls0bllRzJ1gAsol+YfvZ2KLv0mzXQbsnJrEF42hLnAsP0iK3gLt6rHGF2L726vGfbbB6Qv7RvcKsMxZeRO0DbUKKZrvAhoScnLLDcNxeVM5hQRfdd6xD2KhHFuXPQKExu+bAsXlLCDhX7sOlOC6Z++lPeTVEhsqi4zDttFP+j5BLEoUvaDHEvvqGoeu7euRp0MM/pS29aUzdDQ7Bw7rO6mXrmw== 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=/rGiJ19I4zHkNB8QhuorYywfR6tAOXuJsb4568WukEU=; b=fli+8doSQpC3pAlFxnz9RobBQqicuRAWEXWluIU8JL7tXIGwTCKeQ2RBMLp6SkrSFyM4cDrDkK6B3uYRvd9UziWNAhQrvRJTSoIsz9n8Sqg6pUcfEZgVf193UM75MJvTMHuJsvy1JacUcjYBVhQLcIwMoDOgh5eCxvpkRW/gAOK4xfpmocdBgRpAVAngTXvpdyOkh1oR4Aowcxdq2se2sUKBKYdCstZSNk1+QGpPHv0RL6TAzd2NfmCon+xbH5P8700kXMlsJDaqgflWJuWuTiLPjktJJKid+e5xzY+yW6QPybANh+0Z6R9vj0TvxIRcZvVIGFHyXffMB9Zk5VEaXQ== 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=/rGiJ19I4zHkNB8QhuorYywfR6tAOXuJsb4568WukEU=; b=OFi0PI5ep+lFga7I4rb8W3SUJH8HyOYJdBLnceh1P6vwc2BoAZ1Eg0k554pKzSmP4sl4YlHsulz/tzb9skSUjNpHZzk33P4gpVkgaAsChEIXdcm6ESLMyiZI3hDZqU8QXPa7/4kPwUw2G6Md3ZpJBVskhjkPWJh7bqsZNoo3VOY= Received: from DM5PR1301MB2108.namprd13.prod.outlook.com (10.174.186.34) by DM5PR1301MB1994.namprd13.prod.outlook.com (10.174.182.164) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2729.21; Mon, 10 Feb 2020 18:47:54 +0000 Received: from DM5PR1301MB2108.namprd13.prod.outlook.com ([fe80::9449:ded8:d7b:a344]) by DM5PR1301MB2108.namprd13.prod.outlook.com ([fe80::9449:ded8:d7b:a344%3]) with mapi id 15.20.2729.018; Mon, 10 Feb 2020 18:47:54 +0000 From: Trond Myklebust To: "bfields@fieldses.org" CC: "linux-nfs@vger.kernel.org" , "bfields@redhat.com" Subject: Re: [PATCH] SUNRPC/cache: Allow garbage collection of invalid cache entries Thread-Topic: [PATCH] SUNRPC/cache: Allow garbage collection of invalid cache entries Thread-Index: AQHVyvwJPYRIWp4ZtEelpB+N9lu4ZqgOgFIAgAFulwCAAEEOgIAEv0MA Date: Mon, 10 Feb 2020 18:47:54 +0000 Message-ID: <9cb604f804e8be5a689cf6e5ee7c517dd0c6e8f8.camel@hammerspace.com> References: <20200114165738.922961-1-trond.myklebust@hammerspace.com> <20200206163322.GB2244@fieldses.org> <8dc1ed17de98e4b59fb9e408692c152456863a20.camel@hammerspace.com> <20200207181817.GC17036@fieldses.org> In-Reply-To: <20200207181817.GC17036@fieldses.org> 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: e624a380-3ec8-4a9c-f363-08d7ae59bcf5 x-ms-traffictypediagnostic: DM5PR1301MB1994: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:8882; x-forefront-prvs: 03094A4065 x-forefront-antispam-report: SFV:NSPM;SFS:(10019020)(346002)(376002)(396003)(39830400003)(136003)(366004)(189003)(199004)(6486002)(36756003)(54906003)(316002)(26005)(6512007)(2616005)(4326008)(186003)(66446008)(8676002)(86362001)(71200400001)(5660300002)(64756008)(66556008)(66476007)(8936002)(91956017)(6506007)(81156014)(66946007)(81166006)(76116006)(478600001)(15974865002)(2906002)(6916009);DIR:OUT;SFP:1102;SCL:1;SRVR:DM5PR1301MB1994;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: FqBfv9pGOibB5bkq+UisFBNK3vH1hv5YQCy7wouuB7FF+NtCUBfd58GYEsZTyUalGEuSfbDYHhZpRTwrrBGIXxsiw24nGSr2VqxaI//ayJ/ClgD8RtbBgl/3A0Pdq9jsjt8dGfVCzAf/WisQdNjUKEW+5INv01jAlbKgtHJyck6ZYYXQ8KjWIs4naJ+HzQAkhCZ5EzVTLW3/N4HOKBe+c8lWFSVMNKuNE9WkdA20yGladZFW6Gh856/T/A6Hj+K6rFSyRLIZ3pk3dIZepJGgbhpNurdtXQsHJgicnMi1lXVNXXjTVOYK4A9K7PjnNwMmPCEIF2FWlJd+J+EXfiII5p8NpWe7vDSBMuO/bKFirojdHSQiZlZB4zUVqk/bgcUq0H1PPbm7LwsXXMn8LairCvCsr7gjCN0aoqeQ15RDbR2Dt9B4RclPpsx8V9F/4WrBqAb5lwv1DqaiphYoU61JXQ1+FnYCv8J9kTV1bLn2dLzWrJdFyx9XZXeKJ5sQVDfWGxpTofBensoMxyTL/r8Nyg== x-ms-exchange-antispam-messagedata: aDtEa4x0fOlBk+pSP73LBf1RplTSH+dFF4dZ3ceQENuzzRpr4pIHrEfesWCa1w4i2jO8N7cv86844rdEoAl47MVO4wrUVC/PLIgkR3WPEGUc1jom7Q252qdi1y2GqeeeA3VOS2XE3oOLkoK1l0pozg== 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: e624a380-3ec8-4a9c-f363-08d7ae59bcf5 X-MS-Exchange-CrossTenant-originalarrivaltime: 10 Feb 2020 18:47:54.0263 (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: StFe70mnttk7xLhmLl+mtQWY5zK1el0LUHSrNW4cFQZrNwZ3/TwN6+V0cz9swWfKYnqpSUMvLK7q7cDK54v8Dw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM5PR1301MB1994 Sender: linux-nfs-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-nfs@vger.kernel.org T24gRnJpLCAyMDIwLTAyLTA3IGF0IDEzOjE4IC0wNTAwLCBiZmllbGRzQGZpZWxkc2VzLm9yZyB3 cm90ZToNCj4gT24gRnJpLCBGZWIgMDcsIDIwMjAgYXQgMDI6MjU6MjdQTSArMDAwMCwgVHJvbmQg TXlrbGVidXN0IHdyb3RlOg0KPiA+IE9uIFRodSwgMjAyMC0wMi0wNiBhdCAxMTozMyAtMDUwMCwg Si4gQnJ1Y2UgRmllbGRzIHdyb3RlOg0KPiA+ID4gT24gVHVlLCBKYW4gMTQsIDIwMjAgYXQgMTE6 NTc6MzhBTSAtMDUwMCwgVHJvbmQgTXlrbGVidXN0IHd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