From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm1-x329.google.com (mail-wm1-x329.google.com [IPv6:2a00:1450:4864:20::329]) by sourceware.org (Postfix) with ESMTPS id 485253858C50 for ; Thu, 1 Jun 2023 23:52:06 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 485253858C50 Authentication-Results: sourceware.org; dmarc=pass (p=reject dis=none) header.from=google.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=google.com Received: by mail-wm1-x329.google.com with SMTP id 5b1f17b1804b1-3f6d01d390bso14843395e9.2 for ; Thu, 01 Jun 2023 16:52:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20221208; t=1685663525; x=1688255525; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=aZkFeRZ7WOVSkvJI1Lyqs/0ZQLVNn2wwPNvX1wgAS4s=; b=c770azeQB6cZE40bNvNHjHIoOKD1qPFlr546D3mjexTDgaqg35sRroLVYyeCx9vvN2 5hu5S95ZiGJQnPRp+xQobLHyZBx0EcyxrzjzhbWNcMi7p4qdMLNBskLm7zgGSmxHuulc MeGq5wO7uU+T3kBlHfUrlwfh1TqacpZbRGFfJ6lBQAVE/TGFSCjRwZm3sjyMqUIC37Z3 d8xvF7x1gAAC5EDcJchOPtYz0fTzlS2VNTHKzLss6cx98GC7MKNYEtmIeRdzIuo8RxV0 WranhnQ5r4W56uiIJPtQr6ilTD79uYDiybwT2MeOIyau0QuBor3d8InLDreRPhOtmmJw 6CsA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1685663525; x=1688255525; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=aZkFeRZ7WOVSkvJI1Lyqs/0ZQLVNn2wwPNvX1wgAS4s=; b=dAZ/MNYY7FUVBS3xzCwt/5j2eRn1jKwvd7EdoHspWhmL/ZUFACVbbvYDmNt6liqd61 qW4soW947Atblt6HhjOWT/VwZwGa5hAGe1+zkDTPD+NcML9Tb2X9o+hHnO+3VNMMdpOo 2KBOo0cthbF2Sk21DILRYHjus+mu7knkwpnvPyvRtAgg4hdb9uV22iFKnUYzId1uyZm9 K2cc58gF8PDSdc9tTdiWOW/hOK1CaC21Li2yt30VSkgnzp8dVR4IL7T8rl/JH65GDJf2 W0lFSOqsqXZI5gJrlf7ZONfDYuWd+1jz9aSCH+93xK/rjKyh3iWAEI/DJwvdvSz5bkx2 39Nw== X-Gm-Message-State: AC+VfDwQWZp9y01KFTsztt3yND1ATzuH8C7gLBVxnN/4AeybEjc7qcdF x/+pRy+PwrRns36IA1XDni95OUDqr3payy9EMEyZ9A== X-Google-Smtp-Source: ACHHUZ4+k2+a/hmEmDt/BjEIfUlH2q27BKSMK9sjpjCTut+qLRdl8mmFQtOv8h2QKmB4iJc4R+2j8+lvnDwy6AwwVoI= X-Received: by 2002:a05:600c:210e:b0:3f4:2e13:ccdc with SMTP id u14-20020a05600c210e00b003f42e13ccdcmr741795wml.0.1685663524691; Thu, 01 Jun 2023 16:52:04 -0700 (PDT) MIME-Version: 1.0 References: <20230531223555.GC26841@redhat.com> <20230601145810.GH26841@redhat.com> <20230601212101.GA3687@redhat.com> In-Reply-To: <20230601212101.GA3687@redhat.com> From: Daniel Thornburgh Date: Thu, 1 Jun 2023 16:51:53 -0700 Message-ID: Subject: Re: Local Build ID Directory Lookup (DEBUGINFOD_LOCAL_PATH) To: "Frank Ch. Eigler" Cc: elfutils-devel@sourceware.org Content-Type: multipart/alternative; boundary="0000000000009a412005fd1a1fc8" X-Spam-Status: No, score=-17.7 required=5.0 tests=BAYES_00,DKIMWL_WL_MED,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,ENV_AND_HDR_SPF_MATCH,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,TXREP,T_SCC_BODY_TEXT_LINE,USER_IN_DEF_DKIM_WL,USER_IN_DEF_SPF_WL autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: --0000000000009a412005fd1a1fc8 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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=E2=80=AFPM Frank Ch. Eigler w= rote: > 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 > > --=20 Daniel Thornburgh | dthorn@google.com --0000000000009a412005fd1a1fc8--