Re: [PATCH RFC DRAFT POC 10/11] tree-wide: make all kthread path lookups to use LOOKUP_IN_INIT
From: Christoph Hellwig
Date: Tue Mar 03 2026 - 10:10:28 EST
On Tue, Mar 03, 2026 at 02:49:21PM +0100, Christian Brauner wrote:
> In preparation to isolate all kthreads in nullfs convert all lookups
> performed from kthread context to use LOOKUP_IN_INIT. This will make
> them all perform the relevant lookup operation in init's filesystem
> state.
>
> This should be switched to individual commits for easy bisectability but
Not just for bisectability, but also to explain how we end up calling
these from thread context. I suspect in many cases by just undestanding
that we could get rid of it entirely with a bit of work.