Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id B4250C636D4 for ; Mon, 13 Feb 2023 21:51:53 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229648AbjBMVvw (ORCPT ); Mon, 13 Feb 2023 16:51:52 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41630 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229622AbjBMVvv (ORCPT ); Mon, 13 Feb 2023 16:51:51 -0500 Received: from NAM11-CO1-obe.outbound.protection.outlook.com (mail-co1nam11on2092.outbound.protection.outlook.com [40.107.220.92]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 88F1FEB6D for ; Mon, 13 Feb 2023 13:51:50 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=bMJCuNHuk6qKMUY595yhAuP4v+jK72fZpBDL5TDPQfUPpW7lAzzha8vwGk8Jz5oFmuu4kbFJ4BvTZxgx7HUBil9m6qOicPD5k01Z0kRYBEHCohUMB3NDMp/hUQufnBGp7dDxgNX3xskQGGELs9G/HC6h3kB8frjmnzogiuA7/vTIZSyGWSsyzvUxb0dD8BR6VzaDwCx0h/6jnyuyYe2JO2tg3cwkIlJjL+eOp5oTjtVmMYQvgQbsClkI5mqStxr7kBRud7jKWKMtHCdPwaHdwiVPDExTnBco04eFoD2zNf6/M+YprvHgpP9Q8OJSmSOh3X0RluGwEcs3baUwYi9hdw== 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=E+0e9RClHIJDuC+LC9jUrQO93gnlX5WosBnPzuuSnX4=; b=dqhGQtSaQ2vyG17yJckc6S3CSuSzpMH0prvKryoc/dQE1Q+YpNs6yZFWiicjUNTxGsZQn5v/6FuGrF3AfWT9uYdsO17k+CzE/1ttaZJPLTzcQfMHdB6d4HCtYDB3XrKsTyzXMbueeM6RvfOFPvyGKKbvBwKNQq2vSOIsogsOAmDVb3uqFfaWdTiTJJ+DRbJi+Q13+h1W2jeiC6g3B4ziHUvTa4X5CquiTAXIkmHwMlM2YcROi7P2F0mHH/ZKQjKcM7LQcrNPLO/WkD4MrxdED+qcC3uPEh0TAlFcbnSpqm2DaKzzamjTvulNZ4qWdjZWZ2nDe8GEg6U3OrgpQ049cA== 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=E+0e9RClHIJDuC+LC9jUrQO93gnlX5WosBnPzuuSnX4=; b=gTkbv4k/hpq4/RGZTjj4nmoX3mtTtRhFixDJQQSzJsFdpD5f2cR88DQKYX+7XiU1J50T3NZnPR5yKvVHXy2GccB/NTyqqaZAcP0nWZj6kbs1ve4SHkZMlhm3tU79nVmYtL6e4B71Dz2rsa38P4RLPCaQLrpEwSWLm4NaWFZkkFs= Received: from CH0PR13MB5084.namprd13.prod.outlook.com (2603:10b6:610:111::7) by DM6PR13MB3788.namprd13.prod.outlook.com (2603:10b6:5:242::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6086.19; Mon, 13 Feb 2023 21:51:47 +0000 Received: from CH0PR13MB5084.namprd13.prod.outlook.com ([fe80::7007:3376:4f4e:b87b]) by CH0PR13MB5084.namprd13.prod.outlook.com ([fe80::7007:3376:4f4e:b87b%5]) with mapi id 15.20.6086.023; Mon, 13 Feb 2023 21:51:47 +0000 From: Trond Myklebust To: Dan Carpenter CC: Linux NFS Mailing List Subject: Re: [bug report] NFS: Simplify struct nfs_cache_array_entry Thread-Topic: [bug report] NFS: Simplify struct nfs_cache_array_entry Thread-Index: AQHZNjla74iZ+CtJT0uTP8kksa93ma7Nfj6A Date: Mon, 13 Feb 2023 21:51:47 +0000 Message-ID: <31EB0FBE-7791-477C-B3D9-62339EF32570@hammerspace.com> References: In-Reply-To: Accept-Language: en-US, en-GB Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-mailer: Apple Mail (2.3731.400.51.1.1) authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=hammerspace.com; x-ms-publictraffictype: Email x-ms-traffictypediagnostic: CH0PR13MB5084:EE_|DM6PR13MB3788:EE_ x-ms-office365-filtering-correlation-id: 17d38db4-e33f-4b0f-cb1a-08db0e0c8151 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: 5PRxHV732PDa7ibl/960bBYN2r0cRKfX6plYTEuJ2FhcjHYYQpNCa4h2Ydu5f8NSYtzG15ZJZaCFr5ni2CoU9U+b3jbaK6B4ZfnOM+QyAoZFY3hEHjE3zaudeD1hdv+ynYFYt1sf1u3oXfb5tjsD76qzCbwiljsUeu85HiBkdY1whevOlUAMsWHxgKu33x/vTVhOthuLkB0F3Y2V9EuEllXS87p+SwWIGpBlJeXzhxW2kfLQoOZfj6vjCZXLblTbuga1v2Eh8kocMM/AVNCE+hN8hlxk9IOp3z0yqgyk+mDxtberoIlBlDjC4ys63iFKU4jXculO8UPyWKo7i79bASkvDjX1rrUKgcqwjYm+OJIHbL/IULcPWEWUHhfk2tClwNx8gwg7hPBcsDwVRNVyS7lonYLCDfG7009FVbDhWAqWg4ZkNQl3Y6PLMdDDSQlt0xesqH3LDU5BI+dadOzML+MNlNwy9z90p93bS/wcWPs+h9cIUrzcSzhrkL5Gj71lRyOFuzGkqJk2c2UJ0Ljho6LgX8OkGaitTqhMKo+Y/g1M2pG0+EKDDc+DO3bfFUdzm1I5e0l/puC6wiCvUsQ6noVE98E6P+C8U/59wW6ZfitrKUOfNjAFpm3jmovXEEBnNMd6+zxo+WFWWhV1n7pwiOBUjodo7gjZUAYjgg/0dhcdbd1VAQUAqc5wzsBK7mKbQh/4hfOX1DDv4mqHg/D+pryPUENbDwXh3zaGCc7YrAg= 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:(13230025)(376002)(346002)(39830400003)(396003)(136003)(366004)(451199018)(38100700002)(122000001)(5660300002)(8936002)(41300700001)(6916009)(2616005)(86362001)(66556008)(66476007)(8676002)(64756008)(66946007)(66446008)(76116006)(6506007)(4326008)(71200400001)(53546011)(478600001)(186003)(6512007)(38070700005)(316002)(6486002)(2906002)(83380400001)(36756003)(33656002)(45980500001);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?utf-8?B?eTFXQzBuNXpZemgvNndodUNaRzAvWW40dlNBQkJJNENqNzZVOHJ3ZnRMeXpr?= =?utf-8?B?UThHczZaa0hpa3pkSDJoelUzTkxKeWplL1AzQVNaYk01YUlMaU1GN2lMSFZm?= =?utf-8?B?Rk1jRGFGSnRud081WHpXb0xkRTE0S3RBWExtTExxVU55ZDdJMnl6OWMzMkxP?= =?utf-8?B?MktjbHVzSXdlZmVzNzVVRHkwVUFGYk5lUElweTZJQzd4VkZLQldxMVhEVVZG?= =?utf-8?B?M3BKL0d1RmJNMk1RT2xuc1QrZ1dqR2lKNks5K1hyS3ZwU0hzWXZzaTI2Q1lR?= =?utf-8?B?eTFOK2V6SXZydl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L0FnSVdiQmx0?= =?utf-8?B?c1dMVjBvUW4wcDNBdkY2MHZpcW9WLzdmbnpLak1aWlhaQXJyUE82N3RoZkwx?= =?utf-8?B?WlQ0ejdQMmtWbzkvaWlsZUNLVWZlbGMyWm52SU5qdFEySVpKTXp6bHRzN2RB?= =?utf-8?B?ajJzTjFmdUJlYW9TUnZ3WWJQQjdBPT0=?= 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: 17d38db4-e33f-4b0f-cb1a-08db0e0c8151 X-MS-Exchange-CrossTenant-originalarrivaltime: 13 Feb 2023 21:51:47.4918 (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: rY6/Z9rnjz5QfcJ/HZU2NKuu/zujC0iMNrfn8wufHUUvjIWQO1GLKlxT3+acfFxZIp9AEfpOR8MDsiM6+pXNWQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR13MB3788 Precedence: bulk List-ID: X-Mailing-List: linux-nfs@vger.kernel.org SGkgRGFuLA0KDQo+IE9uIEZlYiAxLCAyMDIzLCBhdCAwNjoyNywgRGFuIENhcnBlbnRlciA8ZXJy b3IyN0BnbWFpbC5jb20+IHdyb3RlOg0KPiANCj4gSGVsbG8gVHJvbmQgTXlrbGVidXN0LA0KPiAN Cj4gVGhlIHBhdGNoIGE1MmE4YTZhZGFkOTogIk5GUzogU2ltcGxpZnkgc3RydWN0IG5mc19jYWNo ZV9hcnJheV9lbnRyeSINCj4gZnJvbSBOb3YgMSwgMjAyMCwgbGVhZHMgdG8gdGhlIGZv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