Dealing with negative dentries
Dealing with negative dentries
Posted May 10, 2022 18:57 UTC (Tue) by nickodell (subscriber, #125165)In reply to: Dealing with negative dentries by brenns10
Parent article: Dealing with negative dentries
>I don't love the idea of timing operations to determine whether something is local or remote: ideally we should provide an API to provide the required info and then try to make every operation fast enough to appear as if it's local :P
They don't care about whether the directory is local or remote, exactly - they care about whether it's fast or slow. In principle, you could have a really fast network filesystem, and then NSS wouldn't bother with the workaround.
>But I suppose craziness is in the eye of the beholder :)
Haha, exactly.
-----
By the way, thanks for hosting this session, and posting the initial patch. I thought it was a really smart and fast heuristic.
