🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.git
Article #2919

Re: [PATCH v5 0/5] log: speed up --follow following renames for non-linear history

#2919
From: Miklos Vajna
Date: Wed, 11 Nov 2026 12:41
45 lines
11634 bytes
Hi Patrick,

On Wed, Nov 11, 2026 at 11:43:50AM +0100, Patrick Steinhardt <ps@pks.im> wrote:
> > While the original patch and this series do improve correctness of
> > following a file through history, I wonder if the increased cost is
> > ultimately worth it in most scenarios. Maybe this could be something
> > opt-in with another flag instead of toggled on my default?
> 
> Yeah, by now I'm also leaning into this direction. The performance cost
> is definitely way too high for us, so we need a way to disable this new
> feature altogether at GitLab.

I have no problem with turning this from default to opt-in. I would be
happy to not revert, since a lot of effort went into this, and some see
this as a bug in git-log, not showing some history which is there.

> I don't have a strong sense on whether or not we should revert the whole
> series. I find the patches quite hard to review, but that may not be
> because we're fixing things incrementally and rather be because I myself
> am not familiar with this subsystem.
> 
> But in case we decide to not revert I'd like to see a toggle to disable
> this feature as a first step. As mentioned, this change has caused a
> rather big regression for GitLab, so we'd ideally have a way to disable
> this feature soon so that we can mitigate it.

Makes sense. To be honest, I'm not too happy about the complexity the
last patch in the series introduces -- but having performance that is
somewhat close to the old behavior seems to justify it.

> I don't want to make you (Miklos) responsible for delivering that of
> course, I just want us to align on a fast path forward. In case we don't
> revert we can help out and contribute such a default-disabled toggle.
> And if so, that would also give us more time to fix the issue properly.

Yes, aligning on what we want would be good. :-) I'm OK to replace the
last patch in the series with a patch that turns this off by default,
but then how to opt in, would be be fine to have a new config option for
this (similar to log.follow)? Would that do what you need or you want
something else?

Thanks,

Miklos
Technical Details
Message-ID: <avRicTWUWuyOuUNP@collabora.com>
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!newsfeed.bofh.team!nntp.comgw.net!eternal-september.org!feeder.eternal-september.org!usenet.network!.POSTED!vger.kernel.org!git+bounces-75186-linux-kernel-git=dewy.ru
References: <cover.1793298331.git.vmiklos@collabora.com> <cover.1794078554.git.vmiklos@collabora.com> <avOzVCHdGBNIG8sT@jtobler--20250820-SHC54> <avRG5r8DPrS23Nmk@pks.im>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!newsfeed.bofh.team!nntp.comgw.net!eternal-september.org!feeder.eternal-september.org!usenet.network!.POSTED!vger.kernel.org!git+bounces-75186-linux-kernel-git=dewy.ru
From: vmiklos@collabora.com (Miklos Vajna)
Newsgroups: linux.kernel.git
Subject: Re: [PATCH v5 0/5] log: speed up --follow following renames for
 non-linear history
Date: Wed, 11 Nov 2026 12:41:21 +0000
Organization: Usenet Network
Message-ID: <avRicTWUWuyOuUNP@collabora.com>
References: <cover.1793298331.git.vmiklos@collabora.com>
 <cover.1794078554.git.vmiklos@collabora.com>
 <avOzVCHdGBNIG8sT@jtobler--20250820-SHC54>
 <avRG5r8DPrS23Nmk@pks.im>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Injection-Info: usenet.network;
	logging-data="854271"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:UocQicTErTccfHrsVJ0YzMM2yuU= sha256:v5VmcKyhE0W2pqexp9uN245SQNBIdyCXYc8Xd1yVP/E=
	sha1:VuI8eMzkExv19FtdSPYLROgopVE= sha256:LQuFs4iv8p9qtXUPcPVDYTeYiptjB3wPslV9tSOxloM=
Content-Disposition: inline
List-ID: <git.vger.kernel.org>
X-Mailpost-Empty-Hdrs: X-Spam-Level
X-Received: from localhost (localhost [127.0.0.1])
	by mail.dewy.ru (Postfix) with ESMTP id E370A113EEA; Wed, 11 Nov 2026 15:53:07 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -2.75
X-Spam-Status: No, score=-2.75 tagged_above=-9999 required=6.31
	tests=[DCC_REPUT_70_89=0.1, DKIM_INVALID=0.1, DKIM_SIGNED=0.1,
	HEADER_FROM_DIFFERENT_DOMAINS=0.249, MAILING_LIST_MULTI=-1,
	RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001,
	URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
X-Authentication-Results: mail.dewy.ru (amavisd-new); dkim=fail (1024-bit key)
	reason="fail (message has been altered)" header.d=collabora.com
X-Received: from mail.dewy.ru ([127.0.0.1])
	by localhost (mail.dewy.ru [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id GU236DCb2b6x;
	Wed, 11 Nov 2026 15:53:04 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=104.64.211.4; helo=sin.lore.kernel.org; envelope-from=git+bounces-75186-linux-kernel-git=dewy.ru@vger.kernel.org; receiver=<UNKNOWN> 
X-Authentication-Results: OpenDMARC; dmarc=fail (p=none dis=none) header.from=collabora.com
X-Received: from sin.lore.kernel.org (sin.lore.kernel.org [104.64.211.4])
	by mail.dewy.ru (Postfix) with ESMTPS id A4055113EE5; Wed, 11 Nov 2026 15:52:54 +0300 (MSK)
X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92])
	by sin.lore.kernel.org (Postfix) with ESMTP id 592383F5D9; Wed, 11 Nov 2026 12:41:42 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org; arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1
X-ARC-Seal: i=3; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=pass;
	t=1794400894;
	b=rnvNloPw5ESHq6c84ld0R89vnlfBrvPn+zFKtMcsyAAgrt67Cq5FgcapMQTtGE2v261X
	 ovtQMT4ZztEfGKVF+IggT9B72vAVjC3vQWlEXnWcRj+WKEoPgR65mr5ELLK8/Ngq/XMeS
	 xcG/JDISzZNuV3sqNiaxWQyHhxYp2+5DxR0M/Qrm/2ve6sbur8KfuvOPrTCLrEwpYpcV4
	 7vnRCl6+GtLdgHWNg8LP5PT0QtsD5DlvoBzCsWFPnQ+uh5zcbBznLZFfBr0lU6bnHWbtQ
	 iufSzXI71DepRoX6SzwuZJJGWZb0BsBPG4dlMmGgTMceZ7dCzU9ZKPwWEljkIOuhk0A==
X-ARC-Message-Signature: i=3; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1794400894;
	h=X-Original-To:Received:DMARC-Filter:DKIM-Signature:Received:Date:
	 From:To:Cc:Subject:Message-ID:References:X-Mailing-List:List-Id:
	 List-Post:List-Help:List-Subscribe:List-Unsubscribe:List-Owner:
	 Precedence:MIME-Version:Content-Type:Content-Disposition:In-Reply-To:
	 X-Zoho-Virus-Status:X-Zoho-AV-Stamp:X-ZohoMailClient;
	bh=dlrFYR182a3OJxLQehSM2O2LqTZRaIrYuICynJjZHeI=;
	b=mFnAHwkTf3DSAEFUjN9Zg5Vi/m1UpW59WKyatIHIL7CjYu5dDGUS3FggK+G71HDyAkke
	 YIEcmfjghVIVg6QvoQI7OBJHuZPiHBv/gUgZx6n6HU4PPCNp39sLXg2h0fl7z3TFOsXLi
	 aa1IvET3ms5gEI2RcwR+uBkTTt+2MRFVuaEtjaDEcZTOTjvXV1sAA4EdI2ouAnD+nRbRJ
	 ahUE7mwZWgah4Zpzc/JO/DgoHWB3VBpcHaffn4xH98uWZ+KLSGsVbPix6jRFX17q7muZg
	 AysuY+bTLvn2QR1J5GM1axmtAv7ZJDS+IpdD73ZKT6CBaHc9kdtPiwO14xQ3lKJH/xA==
X-ARC-Authentication-Results: i=3; smtp.subspace.kernel.org; 
	dkim=fail reason="signature verification failed" header.d=collabora.com header.i=@collabora.com header.a=rsa-sha256 header.s=zohomail header.b=iGAU5Yo3;
	dmarc=pass header.from=collabora.com;
	spf=pass smtp.mailfrom=collabora.com;
	arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1
X-Received: from localhost.localdomain (localhost [127.0.0.1])
	by smtp.subspace.kernel.org (Postfix) with ESMTP id ED93D606A32E;
	Wed, 11 Nov 2026 12:41:33 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org;
	dkim=fail reason="signature verification failed" (1024-bit key) header.d=collabora.com header.i=@collabora.com header.a=rsa-sha256 header.s=zohomail header.b=iGAU5Yo3
X-Authentication-Results: smtp.subspace.kernel.org; arc=pass header.oldest-pass=0 smtp.remote-ip=165.173.182.12
X-ARC-Seal: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=pass;
	t=1794400893;
	b=dCRU48wmxPe7hpkHoo/V+gpoIEqY/LCtOSczeWZG9/06qzz0jtSseWLOQDDv+8u5UWQ0
	 FxLUIEvqYZMHNaObaril5AEzxFXmdNo3um9HgabUp71InlgbqnZAHcvOYgZZ/QHeOtDfY
	 K7aAL2K0YEevCisB9Ze1C56AiJGwitX8prml1o7j53JIMUclOj//Fm3m46z65l9tNplXs
	 avSxOSAy8eo0etd/iYdU3cnY0HbMa4Twvw+ChwTNnSZOJitDieSltMPB7r4bROdiPo3JG
	 x6tIdRlbQYcZ4qk3Q791FQBWuACrNGXnODvR4+ytKaNAeDqn9EmIVk4q05KK2LbOFPw==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1794400893;
	h=DMARC-Filter:DKIM-Signature:Received:Date:From:To:Cc:Subject:
	 Message-ID:References:MIME-Version:Content-Type:Content-Disposition:
	 In-Reply-To:X-Zoho-Virus-Status:X-Zoho-AV-Stamp:X-ZohoMailClient;
	bh=dlrFYR182a3OJxLQehSM2O2LqTZRaIrYuICynJjZHeI=;
	b=xmrYWImNNGQCxOtuQVQ+zGiGu1ahnyOprBASJBzlgoNx9c1xlbubVsGlKBMN/SSeF6HF
	 HcHTdlIIxQDSKT4ZuLdbuVnHrNby/3zKA/mVFQjUUU1o9A6jaUT4MOJX/7JI1NS6GNi7+
	 +r4Hp2DZ14aT7GKcVXhdmppFlPXJmaqK4BwDIu9Qm9BijpiyqaEA5kNlzkgE83MuvWY6f
	 Urr+5K0o4d1QV2xHg8c5NXzziVi1LTabYRPPRiZ4g5AxMNpMKle6nhOfRIM5LbkW9Ph75
	 YiFklSGEVPfXqcCYMXZHNM356CMkVaHzY4aPMQNTj/fxBRJPToKir/X/MQ8GtdiGOVA==
X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; 
	dmarc=pass header.from=collabora.com;
	spf=pass smtp.mailfrom=collabora.com;
	dkim=pass header.d=collabora.com header.i=@collabora.com header.a=rsa-sha256 header.s=zohomail header.b=iGAU5Yo3;
	arc=pass header.oldest-pass=0 smtp.remote-ip=165.173.182.12
X-Received: from sender5-op-o12.zoho.com (sender5-op-o12.zoho.com [165.173.182.12])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256)
	(No client certificate requested)
	by smtp.subspace.kernel.org (Postfix) with ESMTPS id B4799606A321
	for <git@vger.kernel.org>; Wed, 11 Nov 2026 12:41:32 +0000 (UTC)
X-DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org B4799606A321
X-Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=collabora.com
X-Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=collabora.com
X-ARC-Seal: i=1; a=rsa-sha256; t=1794400886; cv=none; 
	d=zohomail.com; s=zohoarc; 
	b=Pl49MK7wicR0sQShBYGWRqt5GV/CoMFS/xoqoxNWhfD8Ji7scEK4zFBr1GKdBc4uPF+wH1YPual/7dn0gydi7ro3y7ECX5ZseYOBHCwIK2nRGbhEXwE8c27h0tB+Y/Lqq0O7b5FGH0BinFc0BbbPPGlpE9bulIRqB2euZUg3x8A=
X-ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; 
	t=1794400886; h=Content-Type:Cc:Cc:Date:Date:From:From:In-Reply-To:MIME-Version:Message-ID:Subject:Subject:To:To:Message-Id:Reply-To; 
	bh=dlrFYR182a3OJxLQehSM2O2LqTZRaIrYuICynJjZHeI=; 
	b=DVzGn82DH21KUmcrfbns34Mcj6/IZuETfhwT9tulx7LMI8IvPk30EUEdJgIAgGQ5WFbBYK7vDb2o4WHDd7NFA+Xe182hsswgwiXHDIrdmMoVcrESw2yrKxU1tvaEHBFxDemKLuVdGoc8Stvi+PgJwYgYOnp30+XNnfovt5R7SMU=
X-ARC-Authentication-Results: i=1; mx.zohomail.com;
	dkim=pass  header.i=collabora.com;
	spf=pass  smtp.mailfrom=vmiklos@collabora.com;
	dmarc=pass header.from=<vmiklos@collabora.com>
X-DKIM-Signature: a=rsa-sha256; b=iGAU5Yo3MHcTaNetwXhlKl1/LjYgd9tG7PFSbZ1qOoGhlNh3pY2OKcH6A7QJvAY6ITBKtmw64TWHkafP2yZLKIvNhj111AqqOuo3z4gHjHnEqdlUrIrroZ61inSQxXhM+dVT8JWSByklYVYKJq+ydFely6ntXeAEkYUDG58ezHg=; c=relaxed/relaxed; s=zohomail; d=collabora.com; v=1; bh=dlrFYR182a3OJxLQehSM2O2LqTZRaIrYuICynJjZHeI=; h=Content-Description:Content-ID:Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Owner:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Resent-Sender:Resent-Cc:Resent-Date:Resent-To:Reply-To:Resent-Message-ID:Resent-From:Sender:Subject:To:Date:From:Message-Id:Reply-To:Subject:To:Cc;
X-Received: by smtp.zohomail.com with SMTPS id 1794400885401121.81315640616162;
	Wed, 11 Nov 2026 04:41:25 -0800 (PST)
X-Cc: Justin Tobler <jltobler@gmail.com>, gitster@pobox.com,
	szeder.dev@gmail.com, git@vger.kernel.org
X-Mailing-List: git@vger.kernel.org
X-List-Post: <mailto:git@vger.kernel.org>
X-List-Help: <mailto:git+help@vger.kernel.org>
X-List-Subscribe: <mailto:git+subscribe@vger.kernel.org>
X-List-Unsubscribe: <mailto:git+unsubscribe@vger.kernel.org>
X-List-Owner: <mailto:git+owner@vger.kernel.org>
X-Precedence: list
X-In-Reply-To: <avRG5r8DPrS23Nmk@pks.im>
X-Zoho-Virus-Status: 1
X-Zoho-AV-Stamp: zmail-av-0.2.13.1.5.4/294.380.36
X-ZohoMailClient: External