Messages in this thread | | | Date | Sun, 28 Jan 2024 17:26:50 -0500 | From | Steven Rostedt <> | Subject | Re: [PATCH] eventfs: Have inodes have unique inode numbers |
| |
On Sun, 28 Jan 2024 14:17:43 -0800 Linus Torvalds <torvalds@linux-foundation.org> wrote:
> You seem to have used SRCU as a "I don't want to do refcounts" thing. > I bet you'll notice that it clarifies things *enormously* to just use > refcounts.
Well, removing creating dentries in the readdir() logic is what opened up the door to a lot of simplification. Thanks for helping me with that. As I believe that may have been the source of most of the deadlocks we were struggling with.
But yeah, kref probably could have fixed that too.
-- Steve
| |