Received: by 2002:a05:7412:d1aa:b0:fc:a2b0:25d7 with SMTP id ba42csp106900rdb; Sun, 28 Jan 2024 16:21:37 -0800 (PST) X-Google-Smtp-Source: AGHT+IHB+S2LTxnO4TEdlzbl9sIDvlqtPzVyEwq6Ok3hnh028KzblOfp7hFAu4VV9SGVl31AWriJ X-Received: by 2002:a17:90b:3449:b0:295:3d98:68fd with SMTP id lj9-20020a17090b344900b002953d9868fdmr2803930pjb.28.1706487696811; Sun, 28 Jan 2024 16:21:36 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706487696; cv=pass; d=google.com; s=arc-20160816; b=wD8dKivO1myZstb4Bm1eoZfZ5lwy2EHfLup5X4y3LTr/TUXDOfXM+X9eGA43Eihw21 +D/NMUxH855yZgL/V2VemWRUnQ0vgHng7f1Mc26zUmIH07RasmBB7pc0r8xDdbBQe67e fjtVfs17Od745H8hVNMwHRlLcahlI1bAct/y+jycm/ScNZCSfXMh9prXHGc5cHFoGJDB BI5V/EJzq1omFbkJNLDuBibKQA6tK3dbP1L3MuC6cz7J3ju1rrwXVNqNgySDjA5OZLuF M9BYUFJ/0pj8tKHg558jWFjso+IfrwlUPDaINHAJQ+Js7ZCwSoU3xJRaAff4VAfzCR02 AAeg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :subject:cc:to:from:date; bh=yohxmFdKGzvSCvrlhY+UNV3ctIs2NQDZakYwlyDcz6U=; fh=+NHEOwOI8sgHa/emZ3nIKC4IhKoRFLn6O7wLrfs7tlM=; b=EfhFG19gSJe2nTejeDsGsiobfYvzizDtLt6AADIAh/KfV/oX/us1+Kl6Db5yod33Uc x9AlcjB+eGwJ+PN6XQMbRE8Mg+unSuM30gA9WuYZfpNPVJ6lvpnQHZr1XSoen6jOt6Bv U0OYjoMnKGMG4M+QqwM52GtxlhK8f+AAusELeodXYfy9OC/VuTU2NpG16mlEKp0/7KhX fM1+htqQWsQLdD7UgpshEpRAqRrS48uFW71VCU4XNbdK/0hsVEUGw75cjiadwVdPH2NA 4lTyMxV6OCjmIDuvDeF0bqQL+7461mh3tQk/KcoSbyzDu8hWllALaP6AK9AsKN/AI6YL zKZA== ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1); spf=pass (google.com: domain of linux-kernel+bounces-42026-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-42026-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id l20-20020a17090a599400b0029078b78be0si4793887pji.2.2024.01.28.16.21.36 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 28 Jan 2024 16:21:36 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-42026-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; arc=pass (i=1); spf=pass (google.com: domain of linux-kernel+bounces-42026-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-42026-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id DC381B21CEE for ; Mon, 29 Jan 2024 00:21:26 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id D9FE82112; Mon, 29 Jan 2024 00:21:14 +0000 (UTC) Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 5B43B2106; Mon, 29 Jan 2024 00:21:14 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706487674; cv=none; b=ltA17hoIsOcknDC39fRPFf4uo+T+JbiTt3ttblJe8vGdyg6WRgHZPIxfRrVYU3gyASomeZhl4kLG862J4sNLqUCI1vS/nriBfgazFshBKzA+yJ/9yuqJz2tO8pEKAEGJfhKnRr0L0DjFepGHdzJD+tugV98NvnPspCgzUt/5yqE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706487674; c=relaxed/simple; bh=rgphQiz0R2K4/aXTeK5mCBYjAqv98lYNgmkV/UD7Lsc=; h=Date:From:To:Cc:Subject:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=HAeScGMvYCOpRTq2FFirAGqJIsJvS3gvkPkEE3Vntfia7H2HCoziaNuZt7sXFENc40xinbTk1pIJ37wYfBVMx5sptv3ctgFSVa1hlHdru1M1fuyz9IPDftT+DgSPY0Ajsf7gd0ePn3Tn3kGjl0rnuYbSmoDgdfwlqc/1uyYAmIw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id A0E57C43390; Mon, 29 Jan 2024 00:21:11 +0000 (UTC) Date: Sun, 28 Jan 2024 19:21:08 -0500 From: Steven Rostedt To: Linus Torvalds Cc: Masami Hiramatsu , Mathieu Desnoyers , LKML , Linux Trace Devel , Christian Brauner , Ajay Kaher , Geert Uytterhoeven , linux-fsdevel Subject: Re: [PATCH] eventfs: Have inodes have unique inode numbers Message-ID: <20240128192108.6875ecf4@rorschach.local.home> In-Reply-To: <20240128185943.6920388b@rorschach.local.home> References: <20240126150209.367ff402@gandalf.local.home> <20240126162626.31d90da9@gandalf.local.home> <20240128175111.69f8b973@rorschach.local.home> <20240128185943.6920388b@rorschach.local.home> X-Mailer: Claws Mail 3.17.8 (GTK+ 2.24.33; x86_64-pc-linux-gnu) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit On Sun, 28 Jan 2024 18:59:43 -0500 Steven Rostedt wrote: > > - somebody is still using it (you can 'rmdir()' a directory that some > > other process has as its cwd, for example), which keeps it alive and > > active anyway > > Wouldn't it be bad if the dentry hung around after the rmdir. You don't > want to be able to access files after rmdir has finished. And thinking about this more, this is one thing that is different with eventfs than a normal file system. The rmdir in most cases where directories are deleted in eventfs will fail if there's any open files within it. eventfs doesn't itself enforce this, but the users of eventfs do. -- Steve