Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp547234pxj; Fri, 11 Jun 2021 05:50:46 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzgPuo1o8s1ULIt7t5sEjDZ0TF33XFFvHoR2/U+UrvnHlJJI85O8xBAWLmD9QCbShlB/8JC X-Received: by 2002:a05:6402:b1a:: with SMTP id bm26mr3541864edb.387.1623415845845; Fri, 11 Jun 2021 05:50:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1623415845; cv=none; d=google.com; s=arc-20160816; b=MYtHqGL/4ID1adLxKPqw9Hj8MUYaGGQhwWKDLa5866jyV9CjE12M44/lnc/U8z/pkr weZhmfsEffGDAPiBP9OK5Ta51y5ig34lJk49lo1QO8v+xYYbIwfgRrS5h/xwBdfYz+sf eE3J9uLBMrkqpc1VMQh6voW1n23nnMWx40Vj7R7C4Vb/6W8aoGDBEdDWRllYONiBvZZI Fi5q3FheqJC2KbycdxEjwcuLmZLYYtSVgt6hfFjvs7F1Skw73CJ+MOEC0N90BwkEFXZF +jSltZtpakUD3V0falOaWZw1n6MI9W3UkZXAQjfxpmEChoWadiLSLBmzmKP5FXGYBXmX +SkA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=WjHrb1dtK2G/VbmUcqAkZXLppuMhMD3yMja93ulZGQA=; b=Ce6Hw5Sn0jNgwZpA5eIa9II+LaxLGvGkcAVYQ0AAJd3mudnVg9zUn+/KLYhzoOupWY +IipyDi4dGrN1K4LNSuVqxChWHzGsKPUzOaMudmvmcQE8u55i6FZsDtkJl/bD3P+q5OC my2lQG7xvhPuh0TvC92H1STen2S6V1uykIDkfG2quFuvyyBsBANLU4kmenLvWj/8jKv0 v6kbwmdrThd2KWu/ypNBkQ6aKJG9FZd6xLIgK5UM+LhrnmQiDFUfjKWbov/xWlQMdoiM 2JBFduRypsP5psKpebwwm9/7IXrLG6q2TZewZWM2cR4kzgBJDQmkP12vIJUNXA13HV14 rZCA== ARC-Authentication-Results: i=1; mx.google.com; dkim=temperror (no key for signature) header.i=@szeredi.hu header.s=google header.b=TDYoRaMY; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id u23si5027447edi.175.2021.06.11.05.50.22; Fri, 11 Jun 2021 05:50:45 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=temperror (no key for signature) header.i=@szeredi.hu header.s=google header.b=TDYoRaMY; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231320AbhFKMtE (ORCPT + 99 others); Fri, 11 Jun 2021 08:49:04 -0400 Received: from mail-ua1-f50.google.com ([209.85.222.50]:44892 "EHLO mail-ua1-f50.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230349AbhFKMtD (ORCPT ); Fri, 11 Jun 2021 08:49:03 -0400 Received: by mail-ua1-f50.google.com with SMTP id 68so2516108uao.11 for ; Fri, 11 Jun 2021 05:47:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=szeredi.hu; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=WjHrb1dtK2G/VbmUcqAkZXLppuMhMD3yMja93ulZGQA=; b=TDYoRaMYnwSoHRfHhL8DdQgmyyazxTWd+5D9U6VCh6/4Cqe+HB+jQIwNMTGVAepTi/ EG8SMJmsDCwnfL7FNv9ubkMR7fxAyaiyOaUuzrCpG6AQ0ECcse3JAlaW1CpYbpIgrCqL kXP81kGnaSZ+bsP/LfqD63ZHfNlQLgSxrUIg8= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=WjHrb1dtK2G/VbmUcqAkZXLppuMhMD3yMja93ulZGQA=; b=H0OcdMam1XuQJH7/pJ+LxQ3JWktL5iQOFJDhWYXh4bJDt8A5Ny81BE3QT2D7MOoQkI YDlheCRzARILOfLZ+2Zi7MJCRdEyweDCh6pxDMLsA6sFxCkAAgLeft2Wtwpb27pJjx9W McUf3JhItyJc+Mkjn0RAN5cy3gu96VFDVJTkn/DOU545b0c0QNrVhCrJxyToy10xMZ1t adJ4ddut4XyNbNbakShNBpzxufIP65H+LKeACfMbKRri6XsRS/CHQLMQEIiGoDkAEj7w EzcSC4381h/lBSqE69bfZ2rsVc184TWLOv+zIz9swz053mAxrQtwqmlzk68euR+r2gwd owug== X-Gm-Message-State: AOAM530sEE/WNaqBOEotpGF7af5TYYDkZNHfKwNhMsdKiAkYhwMMO13f BDDrmdIPSumitXE8/muL1/3gwBSquA1dRVXlf2lWfQ== X-Received: by 2002:ab0:3418:: with SMTP id z24mr2723800uap.11.1623415565376; Fri, 11 Jun 2021 05:46:05 -0700 (PDT) MIME-Version: 1.0 References: <162322846765.361452.17051755721944717990.stgit@web.messagingengine.com> <162322857790.361452.16044356399148573870.stgit@web.messagingengine.com> In-Reply-To: <162322857790.361452.16044356399148573870.stgit@web.messagingengine.com> From: Miklos Szeredi Date: Fri, 11 Jun 2021 14:45:54 +0200 Message-ID: Subject: Re: [PATCH v6 1/7] kernfs: move revalidate to be near lookup To: Ian Kent Cc: Greg Kroah-Hartman , Tejun Heo , Eric Sandeen , Fox Chen , Brice Goglin , Al Viro , Rick Lindsley , David Howells , Marcelo Tosatti , "Eric W. Biederman" , Carlos Maiolino , linux-fsdevel , Kernel Mailing List Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 9 Jun 2021 at 10:49, Ian Kent wrote: > > While the dentry operation kernfs_dop_revalidate() is grouped with > dentry type functions it also has a strong affinity to the inode > operation ->lookup(). > > It makes sense to locate this function near to kernfs_iop_lookup() > because we will be adding VFS negative dentry caching to reduce path > lookup overhead for non-existent paths. > > There's no functional change from this patch. > > Signed-off-by: Ian Kent Reviewed-by: Miklos Szeredi