Re: [PATCH v2 2/2] eventfs: Create list of files and directories at dir open

2024-01-16 Thread Steven Rostedt
On Tue, 16 Jan 2024 13:39:38 -0800 Linus Torvalds wrote: > I don't understand why your still insist on this pointless open wrapper. I just liked the consistency of it. > > Just do this all at iterate time. No open wrappers. No nothing. Just > iterate over the days structures your have. > > IO

[PATCH v2 2/2] eventfs: Create list of files and directories at dir open

2024-01-16 Thread Steven Rostedt
From: "Steven Rostedt (Google)" The original eventfs code added a wrapper around the dcache_readdir open callback and created all the dentries and inodes at open, and increment their ref count. A wrapper was added around the dcache_readdir release function to decrement all the ref counts of those