From mboxrd@z Thu Jan 1 00:00:00 1970 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 D16F1C7EE2E for ; Mon, 12 Jun 2023 06:15:57 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233777AbjFLGP4 (ORCPT ); Mon, 12 Jun 2023 02:15:56 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52118 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231258AbjFLGPz (ORCPT ); Mon, 12 Jun 2023 02:15:55 -0400 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7AE5093; Sun, 11 Jun 2023 23:15:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=In-Reply-To:Content-Type:MIME-Version :References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=sBP0nSW6/Sb084WdMIA75VMt8PAOWVcCHkxnURq91eE=; b=kEpL6VvDAAsB2nSeMhVD4Gk6t2 8m3CmKdTnhify4RvIhyedLvzcLfkZKMK1al0lEwRhVRF6zyH5bAfAA3XjM3PiryODpDKHJZgKKSOM wPkzlKe8S1jUUX5B0hpBasCFj1kItLzXlIjGZgzMORQePj71J8o7gaiFGInV9DhuzMAOzw5YJpVyY 6E4yflrvJFb1zqY29YG8ZSIU9DijnJPZ9JQGSyj/pNOHJynOZq6LQpRKnGvkFRrhs0YFVx01M6jxD Xw0+eZTHUNZBdtoqIAZHZcfATWeab4FnFYVLqVbEq0NID5hV+80FNydEANSS67rddVfNhvJfrCvdL zIfAGFSg==; Received: from hch by bombadil.infradead.org with local (Exim 4.96 #2 (Red Hat Linux)) id 1q8aqF-002kBQ-0T; Mon, 12 Jun 2023 06:15:51 +0000 Date: Sun, 11 Jun 2023 23:15:51 -0700 From: Christoph Hellwig To: Amir Goldstein Cc: Christoph Hellwig , Miklos Szeredi , Christian Brauner , Al Viro , Jan Kara , linux-fsdevel@vger.kernel.org, linux-unionfs@vger.kernel.org, David Howells , linux-cachefs@redhat.com Subject: Re: [PATCH v2 1/3] fs: rename FMODE_NOACCOUNT to FMODE_INTERNAL Message-ID: References: <20230611132732.1502040-1-amir73il@gmail.com> <20230611132732.1502040-2-amir73il@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org. See http://www.infradead.org/rpr.html Precedence: bulk List-ID: X-Mailing-List: linux-fsdevel@vger.kernel.org On Sun, Jun 11, 2023 at 11:11:25PM -0700, Christoph Hellwig wrote: > On Mon, Jun 12, 2023 at 09:08:37AM +0300, Amir Goldstein wrote: > > Well, I am not sure if FMODE_FAKE_PATH in v3 is a better name, > > because you did rightfully say that "fake path" is not that descriptive, > > but I will think of a better way to describe "fake path" and match the > > flag to the file container name. > > I suspect the just claling it out what it is and naming it > FMODE_OVERLAYFS might be a good idea. We'd just need to make sure not > to set it for the cachefiles use case, which is probably a good idea > anyway. Adding Dave: not sure if I'm missing something, but is there any good reason cachefs doesn't juse use dentry_open() ?