SGTM; I'll see if I can write a patch to do this when I get some spare cycles.
On Thu, Jun 1, 2023 at 2:21 PM Frank Ch. Eigler <f...@redhat.com> wrote: > Hi - > > > Hmm, how would the effective behavior of this differ from directly > > returning the path? The symlink could become invalid at any time [...] > > Effective behaviour is about the same, but code logic and explanation > is simpler. > > > It would make sense if the cache were made to contain a hard link to the > > file if it were on the same filesystem as the cache [...] > > And this could be a QoI implementation detail: prefer hardlink, fall > back to symlink. > > - FChE > > -- Daniel Thornburgh | dth...@google.com