Re: [PATCH] kernfs: support kernfs notify in memory recliam context

From: Mariusz Tkaczyk
Date: Wed Nov 15 2023 - 10:31:02 EST


On Tue, 14 Nov 2023 15:53:47 -0800
junxiao.bi@xxxxxxxxxx wrote:

> Understood, thanks. Sound like depending on Userspace on memory reclaim
> path is really bad idea and the only option for fixing it is to remove
> that dependency, but i am not sure that is possible without breaking the
> consistency of metadata.
>
> Thanks,
>
> Junxiao.

Indeed the project of external metadata management if fragile. You cares about
IMSM here (same as me) so ideally we should implement metadata management in
kernel- I think that IMSM deserved that after 10 years on the market. There is
no better option, other options are just "workarounds" for the lack of metadata
management in kernel.

Song, any comments here?

From the second hand, there is native raid which should just work, so maybe you
can switch to the native raid?

Thanks,
Mariusz