Received: by 2002:a05:6a10:6744:0:0:0:0 with SMTP id w4csp3394283pxu; Mon, 19 Oct 2020 10:58:17 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwio9e617Lp8jesy6YTAYFp+NZ+f6/uafF/tLtXo8HRwvx0hWAJTFClclpBgxeY42Vi7pZ6 X-Received: by 2002:a50:e40c:: with SMTP id d12mr989912edm.35.1603130297433; Mon, 19 Oct 2020 10:58:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1603130297; cv=none; d=google.com; s=arc-20160816; b=hBYtoypyA//6Vl4Pm5v04magptsjBqV9Yn4eO7yS1gO/dnJmtfcvDfkn31/8l9OOBQ dp+rsyWsHSr9s97dQXcmzNNxuOw1TkOgmb/AWF97VJ9NJe1pu2dbzhK8hhEF42jiCsyy xPGw6xovNl6uRs+b6GMxTAtfMaILtYAhEn1gnLmnuSULYVJ33txibSZ5EimZ5mgYqHCY YBFxhoIorbSylLY7oY2dOjjNCRu1AqZCfqM6SlfY6CD5Dpk6LvFR68fo3mN+0SoehJKo aRPW5ttvKXvhMZ90fsLhG0JvP1lMWYS4psZ6f9eP3DSGYLmxZ1p87btu4C77m4neuoZU 1YZA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=0BGFYhq9ViIX0+xH/q4XNKnkbCwBUAwDiNm9jrmQZp0=; b=KmsE7q2sXIFKzyMhCfKJ9S8tK8Epmgm5lpuZJdcvSL32KxLPB8UsAfyS1L1tomALe7 qBET4X1EgaOvxGciE7zy02hVE9LdUlc9lxYxwmpqEpIJn5aiygc69Qc97VkhOdOkzqOr eAWu5MGanM5R7jPOcaCn9hh1QMg6GrxODlboKHlezrYeXqcr0O6RZIg26uO6sObrJLO5 lILe/i/F2Qie1L6mc/Fz6e2u1yUlHxdLTevL1gBsXSoIV8jYbTPfNYFX4RQ2efal4L3m 3mp9bWCPGQTf8/vGdU0UPUCPzSoynzfyl6UqWEKBglX9gLM/HJiapKhB7W4L75pVkOFf yDwQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=awN0nMzS; 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=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id cw5si293771edb.108.2020.10.19.10.57.42; Mon, 19 Oct 2020 10:58:17 -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=@kernel.org header.s=default header.b=awN0nMzS; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727962AbgJSRzu (ORCPT + 99 others); Mon, 19 Oct 2020 13:55:50 -0400 Received: from mail.kernel.org ([198.145.29.99]:52404 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726005AbgJSRzu (ORCPT ); Mon, 19 Oct 2020 13:55:50 -0400 Received: from localhost.localdomain (c-68-36-133-222.hsd1.mi.comcast.net [68.36.133.222]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 2ED892224D; Mon, 19 Oct 2020 17:55:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1603130149; bh=/Ou1201yhdUNXE/9uX43V7eOsDH00j0nbAO5iwPaJcM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=awN0nMzS8w62V6gsSqWxYb5I+wQRwuWELtFptcN9b7Q3/ZrLQxnr+oizjBA9h61h/ ntw/5GbOmCMcokKjDV4Pn09LP8ybYqjFC3J1ZP2nIHhFascLA1UOCDNbKWM1dWRTZ6 BcWJl6QwTKkmC89ZLERYBKQNKlDjVFZnhAaDeAUI= From: trondmy@kernel.org To: Daire Byrne Cc: linux-nfs@vger.kernel.org Subject: [PATCH 0/2] Add NFSv3 emulation of the lookupp operation Date: Mon, 19 Oct 2020 13:53:28 -0400 Message-Id: <20201019175330.595894-1-trondmy@kernel.org> X-Mailer: git-send-email 2.26.2 In-Reply-To: <279389889.68934777.1603124383614.JavaMail.zimbra@dneg.com> References: <279389889.68934777.1603124383614.JavaMail.zimbra@dneg.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-nfs@vger.kernel.org From: Trond Myklebust In order to use the open-by-filehandle functionality with NFSv3, we need to ensure that the NFS client can convert disconnected dentries into connected ones by doing a reverse walk of the filesystem path. To do so, NFSv4 provides the LOOKUPP operation, which does not exist in NFSv3, but which can usually be emulated using lookup(".."). Trond Myklebust (2): NFSv3: Refactor nfs3_proc_lookup() to split out the dentry NFSv3: Add emulation of the lookupp() operation fs/nfs/nfs3proc.c | 43 ++++++++++++++++++++++++++++++++----------- 1 file changed, 32 insertions(+), 11 deletions(-) -- 2.26.2