Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp4305633pxf; Tue, 30 Mar 2021 04:45:42 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwjEmAiZVgW0VDJbhC46FihG+iaLA/IVn2NOceKQfD2d2au00eA18WKhGDIF1eG9Jbpp0/7 X-Received: by 2002:a17:906:86c1:: with SMTP id j1mr33904948ejy.373.1617104742527; Tue, 30 Mar 2021 04:45:42 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1617104742; cv=pass; d=google.com; s=arc-20160816; b=kcsbA21l9YB48tWYMQr1A77rUs9uRLGk8ZJQ4tMBbr2/sAfNUzxxp0YWqwM4B8WOdg ODGQ8JAPNBfhVa8nXvSfJDH3lKDG5kZU+PDgRbeF9C1OVQlfqwTGDVb7P9EERlLOvhb4 ojfQu7TIvvfT0M2lI8ERA8Hbu8HwGU5/VX/bM2O8+JQngA8hEyjCRZYtOT2e4QazUui8 i0Eb3Q+LghSTUWRSZGGo1pIJqnvA23nDFu+qoDEohIfMhDboNbVF09WaThJMBjZyOKrd u2naofVKBuoT6x9l6vDxJAFmnvO2rWMl3s2FUzPIeYN9FqhWclRfSG7GS6krWywlVeZM oZYA== 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=oU/khSy/xyf42f9+x/gTuGGLEr22IkjzZa+lolDAXbo=; b=wj7pwJbhZTOB5g2bbITOpQYjPxSgaLfhhbh+XgNhU4j59Ougv9N3BAv5QqQVvs5n47 Jraq1BJqVF4BuZklC7aW5uHBFNuwNwWgNzlA7fy+ImYOcB08HNuc7eqh219RcPQPFREu 0vBzTrX6nPBSG95NR6+HIY12W5hFG02AtbB7F5G5aXdwcOlPQTF2Pz3CiFwSm/XF8nwt KOPz6f1W0x7RQdrSysTGyNhaHGW8dc7gZX1SkfShF7mMIMGWWJ1gD1xm4JWpTITxrjvj oeZEUz1kov6fMK+isyvdz023brEPSXVxi6dXXhVE8xT0HsqTperujqiTTWhggTZaiHiR ym/A== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@hammerspace.com header.s=selector2 header.b=ZpxlOMSJ; 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 mb15si15080773ejb.147.2021.03.30.04.45.19; Tue, 30 Mar 2021 04:45:42 -0700 (PDT) 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=ZpxlOMSJ; 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 S231897AbhC3LoM (ORCPT + 99 others); Tue, 30 Mar 2021 07:44:12 -0400 Received: from mail-bn8nam12on2098.outbound.protection.outlook.com ([40.107.237.98]:5729 "EHLO NAM12-BN8-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S231742AbhC3Ln4 (ORCPT ); Tue, 30 Mar 2021 07:43:56 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=B2/qWinXpmLL5iZ7moZ546pYK6lCirjCxBxiqNu3Qe5c15dqsTlkipttEtrwtpwehpWXPG1WPgXyb2lOxyEjhVIyMmNFYgbat5o9RsfBA37/+1vXPw3XjBN9fW14VipcP9k4QABy0+I5O0xODBN2PrrICfwMrkw1QlwfcC7Z32JaIc5pYFG0DbogETk6gB9P4D8DVLrvppC3nMcbIR352pAJO3smyazqjPnBHhCDJggrBHu0CQ9o6ZAxIYxtJ2GupGTdogTF5CG6d8JxjNal89ZXfUAWZdtXG2ioaOtgWTZLAylKBXT4Opfcen8piuf4E3i8By2gTGXQsUOHrAowfw== 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=oU/khSy/xyf42f9+x/gTuGGLEr22IkjzZa+lolDAXbo=; b=YJC+6WJtVp4Ozx+rf5dlYLr2op47AgvlXpGYAIRjeoY2KIyJlkaDod+KzuLS4npggm5qLlyn4UJPCRCgAjksqtvuDDI0NT+8xpA+lL7qoxcbWv8Pa+Vb2zD2uv+zLjOurpmUBjFAgKYDy+CiDCbWDlwIoGwhny+ROfW/Wgw48ISUL/F/8x8O7Y4nMjJcRZ+/a3DtjE6bh681V510HAqwSIRUvsLt70aRSm33SMD4vRj5d6NxF7ihW/KHsUbXg4cef6921K6JeoMCPBM5LAflAY7a4ixtZvEwjt6l0N1UhcVZmIdI8fSXDXgMjeqiVhB7GdskHDJlLwjQUfyadBBwUQ== 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=oU/khSy/xyf42f9+x/gTuGGLEr22IkjzZa+lolDAXbo=; b=ZpxlOMSJp6QwetxaH1wiFUov5Hh8693aRv+zUKXe6KPxm2Y93/9k/6gAj3jQTtvLFLinL4Slk8/Cac6hMbx6ExFP43p6r0JcRYEcuuFWVACG5BzmZFcI56ERNUfOO++xVxzZEwmWqJimadgRJfYptkqAT4zJgTn2Jp4LWltXZdE= Received: from CH2PR13MB3525.namprd13.prod.outlook.com (2603:10b6:610:21::29) by CH0PR13MB4762.namprd13.prod.outlook.com (2603:10b6:610:c2::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3999.16; Tue, 30 Mar 2021 11:43:50 +0000 Received: from CH2PR13MB3525.namprd13.prod.outlook.com ([fe80::69bf:b8e4:7fa0:ae74]) by CH2PR13MB3525.namprd13.prod.outlook.com ([fe80::69bf:b8e4:7fa0:ae74%7]) with mapi id 15.20.3999.016; Tue, 30 Mar 2021 11:43:50 +0000 From: Trond Myklebust To: "viro@zeniv.linux.org.uk" CC: "linux-nfs@vger.kernel.org" , "linux-fsdevel@vger.kernel.org" Subject: Re: why is short-circuiting nfs_lookup() for mkdir(2) et.al. dependent upon v3 or later? Thread-Topic: why is short-circuiting nfs_lookup() for mkdir(2) et.al. dependent upon v3 or later? Thread-Index: AQHXJP5knEiHWg0oK02mbPpLhXEOO6qcaegA Date: Tue, 30 Mar 2021 11:43:49 +0000 Message-ID: References: In-Reply-To: Accept-Language: en-US, en-GB Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: zeniv.linux.org.uk; dkim=none (message not signed) header.d=none;zeniv.linux.org.uk; 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: b7fc2ae2-9773-49f5-75b3-08d8f3711668 x-ms-traffictypediagnostic: CH0PR13MB4762: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:10000; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: 4yIHh89PVZ/uAQ3triQ3rYjcd0je1pyK7Gw5g4VZywlkZBJRu1/oTY/idtMWgt3YF2kc3wxXJPjsHOjsJJJRFmf4HRNdbCTGfkyfedzS737msE9BwP9gF1zFtN/nfaSCJPyeo7R2GcpFUp9HH+tiNpWkzXu1ht5SOHH0F1cPSLEb/+izIpjeqTXRiHKwcDptCH2D04SGEloPtgw5fLE4kgSYZt/47MpEXKDfDS/6teMz7qXjvKbqSQTlnd1B3R8EUXvVOHOaDIcN1DGD9J5J35qVYuZphWbGlBuoH3pqyKWWmux/Qxj+3N956dP7FfxLAjC1pju0LYfHJCJPeL84dYr/k4xyaSTszqtCcjYmJOKwKEK97MhH+pJwFGfhBuLF+UCt4kqcV/q690kEQ0STgKb+sykuBJM+nyeqEAq28/dqzqwyJLk7e3aB+IjPrymCInDlbJrD4KQYmcgdTpov7nX4iVa10KbS8hKXVSvi71u2Qln16vvyEfy8QpY2TkQ/7sqB22/pkKp2TR9H4jf+B7Hi/I6ifzSpLoHzWkQfr3bbIfIUKH9qGonKQ8Do4J1V0iPx7BaK9nUxl8DAv/50sSNl1fkWs3XhBAFfE7HtohQyTAjZPqcDKkSfHu8hrmou1lLgqttWIsVyAEG81dy+XjRpUnen3INz8DPYZ6nfiYI= x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:CH2PR13MB3525.namprd13.prod.outlook.com;PTR:;CAT:NONE;SFS:(136003)(346002)(376002)(366004)(39840400004)(396003)(478600001)(2616005)(64756008)(54906003)(4326008)(5660300002)(6506007)(316002)(2906002)(36756003)(38100700001)(6916009)(186003)(66556008)(26005)(8676002)(6512007)(86362001)(66476007)(8936002)(66446008)(6486002)(66946007)(71200400001)(76116006);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata: =?utf-8?B?MzR6TVJNa0dPdVh3aFBONWJMalo2STlFbE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ktiMWZmVDdqU2hIU3YzUDVhZ3NKeXZYd0hudVlvL0JUNFVnd2Ux?= =?utf-8?B?Unk0TmVRcmVTVEh4MEJOWm9DM2hZSGJzbGFKbVJJZ3FhdlZxa2hRSUd4UUZH?= =?utf-8?B?VHJRcVdPanYzUHdJbmFrZzE3K2NOeGNCL21aSGJRUmtRVHEzL2piTnpRdml5?= =?utf-8?B?TVBrczVITjVYT3daNVcxeWxjbGtKdExoVUxjLzY2VXppeVRSZGUwWmE3TmR5?= =?utf-8?B?V01weVpjRkZYV2hDMmFmVm9yeE02WXRVVUh5azdOMXZ6eGVHUjZRdXNXeXRn?= =?utf-8?B?Wmc2YjhZeVhMdnBrWWp6TVZZeUs0VERabmRVT3Q5ekgreXlyNFF4TUY0KzBm?= =?utf-8?B?MzZHRm1oRnVVMDFtelVOUlNHcWxzTStJb1A0ODI2V0Z0aFN5M2lMWHFlUTRY?= =?utf-8?B?YUlaR3B2NW56eDkxQzd4YkU5QkdsRGtKQmlIR0UvMXdkdCtZVCtJdkkxekk1?= =?utf-8?B?enVOVnlXVGxFN2xFYVZkUnIvU1VXK0hUR0Q3WUphRDYyTDNlYnlTdzhaZnJD?= =?utf-8?B?b3dGaTh3RTdsRWpNcTMvcTVKZ3VhODF5VTY2SUduK2tBT3FsZnJPaElueVBU?= =?utf-8?B?VlRzSzlucEhaMWl4Mm1YOHBiZUhDZWRENWVCWDZRM2pMckVvVGVEUVJGUldW?= =?utf-8?B?d2hzd3BOUUNKRmF4aTFuamJnSitTVWxFY254UzJydGM1aGpYNFBCbUExUy9W?= =?utf-8?B?aXJVSXZFc2JObjhZa1lrSElrNncvM1JtY21Ba0JtL2VxVnEzL2RPTTk4V2pt?= =?utf-8?B?c240TEp5NGp3a1ZpSmRRTS81c0VtOUk4bVRqOWRtanpJZ0pxSkNLVEEvVmFn?= =?utf-8?Q?kEOdkkT/at7HbHrVyaQCkSWLj2RXorFoCu/yMYe?= 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-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: CH2PR13MB3525.namprd13.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: b7fc2ae2-9773-49f5-75b3-08d8f3711668 X-MS-Exchange-CrossTenant-originalarrivaltime: 30 Mar 2021 11:43:49.7188 (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: TLjWqIME8cAAiNghzgH01MwxNN7NVYQgAQ45qLj5MxmZ/x8xsMe5NUDwVpM1ayXXl/6MNmJ+n+fMkcBuoA9JdQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: CH0PR13MB4762 Precedence: bulk List-ID: X-Mailing-List: linux-nfs@vger.kernel.org T24gVHVlLCAyMDIxLTAzLTMwIGF0IDAwOjQ4ICswMDAwLCBBbCBWaXJvIHdyb3RlOg0KPiDCoMKg wqDCoMKgwqDCoCBJbiBuZnNfbG9va3VwKCkgd2UgaGF2ZQ0KPiDCoMKgwqDCoMKgwqDCoCAvKg0K PiDCoMKgwqDCoMKgwqDCoMKgICogSWYgd2UncmUgZG9pbmcgYW4gZXhjbHVzaXZlIGNyZWF0ZSwg b3B0aW1pemUgYXdheSB0aGUNCj4gbG9va3VwDQo+IMKgwqDCoMKgwqDCoMKgwqAgKiBidXQgZG9u J3QgaGFzaCB0aGUgZGVudHJ5Lg0KPiDCoMKgwqDCoMKgwqDCoMKgICovDQo+IMKgwqDCoMKgwqDC oMKgIGlmIChuZnNfaXNfZXhjbHVzaXZlX2NyZWF0ZShkaXIsIGZsYWdzKSB8fCBmbGFncyAmDQo+ IExPT0tVUF9SRU5BTUVfVEFSR0VUKQ0KPiDCoMKgwqDCoMKgwqDCoM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