From mboxrd@z Thu Jan 1 00:00:00 1970 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-fsdevel@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