From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id qAiHJ9OU2mKAOQAAbAwnHQ (envelope-from ) for ; Fri, 22 Jul 2022 14:15:15 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id mHqsJ9OU2mJVJQEA9RJhRA (envelope-from ) for ; Fri, 22 Jul 2022 14:15:15 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 5EE169BD1 for ; Fri, 22 Jul 2022 14:15:15 +0200 (CEST) Received: from localhost ([::1]:58300 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oErYo-0004e7-Bc for larch@yhetil.org; Fri, 22 Jul 2022 08:15:14 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:53424) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oErYc-0004dr-Pu for guix-patches@gnu.org; Fri, 22 Jul 2022 08:15:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:50586) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oErYc-0002tq-G6 for guix-patches@gnu.org; Fri, 22 Jul 2022 08:15:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oErYc-0001H7-5r for guix-patches@gnu.org; Fri, 22 Jul 2022 08:15:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#51427] [PATCH] nix: libstore: Do not remove unused links when deleting specific items. Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 22 Jul 2022 12:15:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 51427 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Liliana Marie Prikler Cc: 51427@debbugs.gnu.org, Tobias Geerinckx-Rice , maxim.cournoyer@gmail.com, zimon.toutoune@gmail.com Received: via spool by 51427-submit@debbugs.gnu.org id=B51427.16584920684838 (code B ref 51427); Fri, 22 Jul 2022 12:15:02 +0000 Received: (at 51427) by debbugs.gnu.org; 22 Jul 2022 12:14:28 +0000 Received: from localhost ([127.0.0.1]:40335 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oErY4-0001Fy-1C for submit@debbugs.gnu.org; Fri, 22 Jul 2022 08:14:28 -0400 Received: from eggs.gnu.org ([209.51.188.92]:40340) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oErY1-0001Fi-H6 for 51427@debbugs.gnu.org; Fri, 22 Jul 2022 08:14:26 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:37264) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oErXt-0002h2-Va; Fri, 22 Jul 2022 08:14:17 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To: From; bh=qmrou6Z7bEzXjlHwPEFWsZOTexZ0JarxZb3WbsVTZNE=; b=hnffnU3Hz3WgV3urnTUi joGO5qH3h5LxNNhumNagSviyHkc7j3S7oJujos1tTEZckMQsLbmskNMoC3YWcop2H2Op1jTjhYJ6l NSdU5J/I/yIT2Nx0Q1b5orSa9SP5pjXzXbDIalJHH9GuLM5qjRfvosQiGfYyOzUz8WmfXcr9pFRh3 0VDydm/9mGOoRHrgMlAJOH3Y+j2mtyRnduXL0MqZuQG5TkrhdhCQzTd7z2rbb6Jm/79TjezSU3V6R XHC1WX8tVhJNTfOlmdHa5fQ1qMoJar0VDxQaoanzxe0Qu+/NPFFhz1f7VKHvCJZIZgn6wo91GEhK5 LwQRd54NZMPi7g==; Received: from [2001:660:6102:320:e120:2c8f:8909:cdfe] (port=38506 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oErXt-0008Sw-HY; Fri, 22 Jul 2022 08:14:17 -0400 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <20211027034918.4591-1-maxim.cournoyer@gmail.com> <87o8795j61.fsf@gnu.org> <5c2dd60acfaa7d74b7554babb3e223bc855bac8a.camel@gmail.com> <87h7cxp9tl.fsf@gnu.org> <87sfwg7w9z.fsf@gmail.com> <87ee7tmdbd.fsf@gnu.org> <86k0hhnqss.fsf@gmail.com> <871r3f2j7y.fsf@gnu.org> <867dd7roi2.fsf@gmail.com> <87o7xmy14l.fsf_-_@gnu.org> <2441c768fea8faee800947a17aef896c35173845.camel@gmail.com> <87sfmxv6ue.fsf@gnu.org> <8538dc9925eb499ea2b728e349d98296eedeb14d.camel@gmail.com> <877d48lx41@nckx> <877d46n7n5.fsf_-_@gnu.org> <12c768df412e23b4d69e87631cd805f741c38ce3.camel@gmail.com> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: Quartidi 4 Thermidor an 230 de la =?UTF-8?Q?R=C3=A9volution, ?= jour de l'Ivraie X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Fri, 22 Jul 2022 14:14:14 +0200 In-Reply-To: <12c768df412e23b4d69e87631cd805f741c38ce3.camel@gmail.com> (Liliana Marie Prikler's message of "Thu, 21 Jul 2022 20:02:41 +0200") Message-ID: <87ilnpibu1.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1658492115; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=qmrou6Z7bEzXjlHwPEFWsZOTexZ0JarxZb3WbsVTZNE=; b=M1u6SrGgLtRXgWRT5jtQM2B7qlysmVK0vtCCkLAZTpBt09Fpcif7/jkQWgt69zSHGIkUQs ThKouQcXM/rZT6Yv30+pREeU3k3qQH/sByAyZJN3E3IQVH8uP/JVjxg1o9xAIWzj9mwZCt TSpsVVrnAMukSQyNhmMi+79Zfbb8jEUXsVdipLgITJN6CCg4SPgDbmfdaick2kkrts0Tga C3WruHmj4Q5DVQ3dkUGo1gTmDGwAYzTdZF45jt9z9Vad0/9ZxxIjrqfHfc1DOz3QBmfNdi ekE0d+summ6DcW+btbmhU6luj380oEAcQ40SxmycR+O0G4dXIcugZOzu0FDrrw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1658492115; a=rsa-sha256; cv=none; b=OKwT//C8NrkrGaK0T3CSAXo+w5ShbUHMdRkwqeHOU7Czwu5b5f65F5olPSO2jCgB5CzvP4 c6IN5e/IWD+3FOn+GlfxN9aepw4oZtxJcxU7c6064U2zSKeIKpElH+XjfiMze0fgNr5wtP zWEpMs+VY65GJof/HASZGhHPRxWHVHTLJj65r/exELw1yY9cbqBjNnPLVeJRuy3xAiVjeT jip4n1BkX1dNf5x9hAj00enCOjqyWiPJd1YK79nLdNEDJzLRm6Ax2xUDCvN/rMqKYGiykW HeDvuC7mc/u8rWvble9uO9Erbi7whNgWin2c2nfZAWFBE70UcPjljILuAIuOmw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=hnffnU3H; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -0.84 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=hnffnU3H; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 5EE169BD1 X-Spam-Score: -0.84 X-Migadu-Scanner: scn1.migadu.com X-TUID: 5gfKdh98jTEc Hi, Liliana Marie Prikler skribis: > I don't think deleting links will ever be fast on that disk. But what > I've been saying the whole time is that I don't always need the links > deleted. I think adding "expert" switches to skip these phases might > actually be enough =E2=80=93 after all, if I ever do want to run a full G= C, the > information ought to be the same, no?=20 The expert will have to know that skipping that phase will have the effect of *not* freeing space on the device, so=E2=80=A6 Ludo=E2=80=99.