On Wed, 16 Oct 2024 at 19:52, Shakeel Butt <shakeel.butt@xxxxxxxxx> wrote: > If I understand you correctly, you are saying fuse server doing wrong > things like accessing the files it is serving is not something we need > to care about. I don't think detecting such recursion is feasible or even generally possible. > More specifically all the operations which directly > manipulates the folios it is serving (like migration) should be ignored. > Is this correct? Um, not sure I understand. If migration can be triggered on fuse folios that results in the task that triggered the migration to wait on the fuse folio, then that's bad. Ignoring fuse folios is the only solution that I can see, and that's basically what the current temp page copy does. Sprinkling mm code with fuse specific conditionals seems the only solution if we want to get rid of the temp page thing. Hopefully there aren't too many of those. Thanks, Miklos