🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.git
Article #1952

Re: [PATCH] notes: do not drop notes written by a concurrent process

#1952
From: "Farid Zakaria"
Date: Fri, 30 Oct 2026 19:56
48 lines
12424 bytes
On Fri Oct 30, 2026 at 2:21 AM PDT, Kristoffer Haugsbakk wrote:
> On Thu, Oct 29, 2026, at 21:56, Farid Zakaria wrote:
>> On Thu Oct 29, 2026 at 11:25 AM PDT, Junio C Hamano wrote:
>>> "Kristoffer Haugsbakk" <kristofferhaugsbakk@fastmail.com> writes:
>>>>[snip]
>>>
>>> Or possibly
>>>
>>>[snip]
>>
>> Your proposals for retries when possible make sense but I may leave that
>> to you to implement.
>>
>> I felt confident reviewing the current patch at it's current state
>> (AI-assisted) and I do concur that it's a net-positive change in the
>> interim.
>
> Use of GenAI should be disclosed up front.
> Documentation/SubmittingPatches, [[ai]].
>

Please consider the thread my disclosure.

FWIW I did read https://git-scm.com/docs/SubmittingPatches as of today
and I don't see any specific mention of disclosure. It might be a good
idea to make that explicit.

I see no mention of special trailer or mention to disclosure although it
does mention rejecting anything that looks like "slop" which I hope this
is not -- I went through the patch and the failure.

If I was looking at the wrong document, please point me to the right
one.
>>
>> (I guess I could try to implement the retry logic - AI
>> assisted if you like)
>>
>> Would it be OK if I also suggested the other two bugs (+small fixes)
>> I found on the mailing list (with the same tool)?
>>
>> They are:
>> * Similar race-type bug for credential-cache leaving a stale daemon+credential
>> * fsmonitor daemon keeps running after its worktree is deleted or moved
>>
>> Both patches are of similar size and complexity to this one, with a test
>> case.
Technical Details
Message-ID: <DMIFRWWLOTMP.3HVH81PKHBTKK@gmail.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!git+bounces-73945-linux-kernel-git=dewy.ru
References: <20261028-fz-notes-concurrent-write-v1-1-3d513e1fdbb7@gmail.com> <3c4f3793-07d4-47c7-b503-13a6ae567147@app.fastmail.com> <xmqqbj8c2wk8.fsf@gitster.g> <DMHMEOZ1ZXRI.TDMEKTJ9W325@gmail.com> <34b5c9c8-74d6-4d49-93cf-1d1909d56e9b@app.fastmail.com>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!git+bounces-73945-linux-kernel-git=dewy.ru
From: farid.m.zakaria@gmail.com ("Farid Zakaria")
Newsgroups: linux.kernel.git
Subject: Re: [PATCH] notes: do not drop notes written by a concurrent
 process
Date: Fri, 30 Oct 2026 12:56:58 -0700
Organization: Usenet Network
Message-ID: <DMIFRWWLOTMP.3HVH81PKHBTKK@gmail.com>
References: <20261028-fz-notes-concurrent-write-v1-1-3d513e1fdbb7@gmail.com>
 <3c4f3793-07d4-47c7-b503-13a6ae567147@app.fastmail.com>
 <xmqqbj8c2wk8.fsf@gitster.g> <DMHMEOZ1ZXRI.TDMEKTJ9W325@gmail.com>
 <34b5c9c8-74d6-4d49-93cf-1d1909d56e9b@app.fastmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
Injection-Info: usenet.network;
	logging-data="2304980"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:EnGPSsdk8ub331aiGdu6S+i+xW4= sha256:XjtLC3XFGrDSa5KeEfEmeZxmdytg0Z2RUNfjT4Uqhp4=
	sha1:D10FdRSPvVlitY0Ox+3x0iPiwEo= sha256:FUUqtw/ist/VCQfHHR1S2yz1Ho3N6oCl2i/QhvPEs9U=
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 1EA34125CA6; Fri, 30 Oct 2026 22:57:23 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -3.047
X-Spam-Status: No, score=-3.047 tagged_above=-9999 required=6.31
	tests=[DCC_REPUT_70_89=0.1, DKIM_SIGNED=0.1, DKIM_VALID=-0.1,
	DKIM_VALID_AU=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.001,
	FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.25,
	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=pass (2048-bit key)
	header.d=gmail.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 xf4gqkdmByDz;
	Fri, 30 Oct 2026 22:57:20 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.234.253.10; helo=sea.lore.kernel.org; envelope-from=git+bounces-73945-linux-kernel-git=dewy.ru@vger.kernel.org; receiver=<UNKNOWN> 
X-Authentication-Results: OpenDMARC; dmarc=fail (p=none dis=none) header.from=gmail.com
X-Received: from sea.lore.kernel.org (sea.lore.kernel.org [172.234.253.10])
	by mail.dewy.ru (Postfix) with ESMTPS id A122D125CA5; Fri, 30 Oct 2026 22:57:08 +0300 (MSK)
X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92])
	by sea.lore.kernel.org (Postfix) with ESMTP id 8BF362BBE3; Fri, 30 Oct 2026 19:57:03 +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=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=pass;
	t=1793390223;
	b=fHma3wvJkqH1s3BU1LmICHHxEnI76L6ZVlHrtJzomEBIHBCNw9HmHQ2Q3QtrgW+vkAbN
	 Gd/cPeemPxC6SzOcbBJvqbE9pnWxIWp3vFnLe74vOY7RDr3lS99p78aMvvdna018LWHfi
	 tpC/ju8wiIucHBpV1ZrO+TLx/IXXFhecSg0S8g+OUsUpAjEWAPqCyvaN8EY2cnL2PxuVu
	 SEfSMRQTNrZz9uMVZvkx1eknWlZmUE1oOzF2algl6jZYTJFlp6X+Z9OiAhWg+J++zX5H3
	 tS7kNhgFbPp0qDwZmCViLDE7VBuL+RWoJtAdIjdYkJjtsyFAdTx8rb0VQvRsLXEw6WQ==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1793390223;
	h=X-Original-To:Received:DMARC-Filter:Received:DKIM-Signature:
	 X-Google-DKIM-Signature:X-Gm-Message-State:X-Gm-Gg:X-Received:
	 Received:X-Mailing-List:List-Id:List-Post:List-Help:List-Subscribe:
	 List-Unsubscribe:List-Owner:Precedence:Mime-Version:
	 Content-Transfer-Encoding:Content-Type:Date:Message-Id:Cc:Subject:
	 From:To:X-Mailer:References:In-Reply-To;
	bh=j+UYd6zLc+XveCeS3Q9V2e2r3mpxpqJD7iW/b55f4GY=;
	b=gqAJYolZB+v0gRkXsmcma8B6KyKXXH4LUNU9Tcv9YooGcn5cLtlaxNJfO/7PgZCg72Ye
	 IqTyK799B2xg8KEk2qYfa5qdcPvhBwZH00iUdq7v/UDVXTAxa/iKRJYWSvKnRqBpnpFhx
	 L/Ncqnuhl3OLNUyqkWW//sBYGWX59UkOBCHt26wCTJEd5057hLc31SE4g6pw+W603/2hm
	 dZlbFaVECncBJDpTyX5VLTbUXemxPhIUi37qrmK3v7cWHyFYPyYH3bKQ2lnhlhTVcnr9U
	 plL1L0ML11WDGkx/6GXxkcw+Jc8Ft7NXOcTi4QIQfRHPUuwUMeuoIG7Eeh/jJQMasxA==
X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; 
	dkim=pass header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20260707 header.b=D9CA2qT5;
	dmarc=pass header.from=gmail.com;
	spf=pass smtp.mailfrom=gmail.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 50887606A336;
	Fri, 30 Oct 2026 19:57:03 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org;
	dkim=pass (2048-bit key, unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20260707 header.b=D9CA2qT5
X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=74.125.82.46
X-ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none;
	t=1793390222;
	b=bjWI8vHDBK67YMxKI4W7F5HeW0cJYZW+Lg+jq29z3rkFP9pmHuHP+ZXVA5tJE6scJwX5
	 yRdLIwt0HQmHFXzh4O0wTsbIciMgcrEU+pgKIqNPkGqJgS5p5sOw8gCFHs7vXT09W9jsO
	 d5BASg0sRgElonfPFfy9X8DHaHaEuE65a4zoXK4yKaVg1Ds3nf2hEZra585KaZilR9a+8
	 78zdzlnFNoG+DkSHUoXpocnX3eujvaRlKxQmcnkuqDmflrl1CWj1BXMTO8J1ao4wKcfy+
	 vlrN4JJj81sQQ6CosxDB7jYAI/A664vb+3Ed33blLiUGnnyDrxT/0wu6qd2A/yRh6CA==
X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1793390222;
	h=DMARC-Filter:Received:DKIM-Signature:X-Google-DKIM-Signature:
	 X-Gm-Message-State:X-Gm-Gg:X-Received:Received:Mime-Version:
	 Content-Transfer-Encoding:Content-Type:Date:Message-Id:Cc:Subject:
	 From:To:X-Mailer:References:In-Reply-To;
	bh=j+UYd6zLc+XveCeS3Q9V2e2r3mpxpqJD7iW/b55f4GY=;
	b=Hn3TkWovrx6jHmsP40CXQyZ8+mhdx58yXjHGtQqBjdmM4cCz3CCoL4GpsHxxF9prO2gS
	 Gv+wCGzmK6KMcrY03dxeW/oGf2phqnwh8biE5tJIu38f4Wz1sp3jY+cbiAWCEuMtT6yh/
	 iyCCWATia2ySPm04Ks1DojPRBfpc0Z3E8hdRNF0jDHEXLcl3d249RKRvgQvUms1kxoOuR
	 VYEJeysiMlGH8/bWz5I0TkleEb4iVNY9e6Eux5JJGwf3Iv8+ovU5LwWVdsg+OC4LKNK23
	 tnhQ5zNhslae+Xi3PuiCgZN81Z6avWEwQxxAuDaesE1U399Z0WqelKh95Pg+g60zYtA==
X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; 
	dmarc=pass header.from=gmail.com;
	spf=pass smtp.mailfrom=gmail.com;
	dkim=pass header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20260707 header.b=D9CA2qT5;
	arc=none smtp.remote-ip=74.125.82.46
X-Received: from mail-dl1-f46.google.com (mail-dl1-f46.google.com [74.125.82.46])
	(using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)
	 key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256)
	(No client certificate requested)
	by smtp.subspace.kernel.org (Postfix) with ESMTPS id 1C8CD606A31A
	for <git@vger.kernel.org>; Fri, 30 Oct 2026 19:57:02 +0000 (UTC)
X-DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 1C8CD606A31A
X-Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com
X-Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com
X-Received: by mail-dl1-f46.google.com with SMTP id a92af1059eb24-1931ff67a29so86318c88.1
        for <git@vger.kernel.org>; Fri, 30 Oct 2026 12:57:02 -0700 (PDT)
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=20260707; t=1793390221; x=1793995021; darn=vger.kernel.org;
        h=in-reply-to:references:to:from:subject:cc:message-id:date
         :content-type:content-transfer-encoding:mime-version:from:to:cc
         :subject:date:message-id:reply-to:content-type;
        bh=j+UYd6zLc+XveCeS3Q9V2e2r3mpxpqJD7iW/b55f4GY=;
        b=D9CA2qT5zvQdjjpEFQYXG5c0jM1X2xcQvCiG9DfCM2QLEPB3za7awa/DVHmPXN9IwR
         +qTrfVPZ8lF2bEccKjrs66XfdO7vpLHNEIgo3UyCTZvqU4rb3wgTAs1pfLO8zvxYxaa7
         niBYi8ZDtvdeBnVt2tvDdsnV0zB3GFJuZeGeUqiZZQ5ZYpnuOGvn9whED8cgJPeucx+k
         WqT2TFaTPFQXQlCMq3hQ3cV6N/jswlIF1Evlywvl+LXAZmo2vzc4L1zJVvGHQdEjaIxW
         RvAeZ4a16ZkhlwE0yXBJyGpFypavyWIxCCF++N09EHtkrsarQn9nGS4NJaJRJeqqVHoR
         ZIeQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20260707; t=1793390221; x=1793995021;
        h=in-reply-to:references:to:from:subject:cc:message-id:date
         :content-type:content-transfer-encoding:mime-version:x-gm-gg
         :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to
         :content-type;
        bh=j+UYd6zLc+XveCeS3Q9V2e2r3mpxpqJD7iW/b55f4GY=;
        b=1vY8SVpC4pFscnAFgPJ1bKYn3sbPjuXhqLr4cmA+eIRh0E0DmT5qJCsSBRhH0gsbC/
         ghm7Ms2acdSRhlHJTcHQ14EKIzzNguUd39LuQv7XwkHmd6mxFHI2xmnmLN/NarFV6r51
         VqEAMZbZONt33RmF/mpMM66MIEoYq+EraWCxnGChIVNYgDv+M4hhdINuZdZOCRhgoKL+
         WMLHzup766KKqlb3RzMm5w5Qqcg01InwbrZYoUg1cbhnrmpxsAiPFs0xMd4qvQugXLr2
         EgUaXcuTmACBnNjRvaAAgLBfmlwu85c8B4CfIJDjjWrVqmSAzN81V5MhqyI0ThKynfCx
         ETpA==
X-Gm-Message-State: AFq9FYKbfwI0U7v0r/j1dOYW3lwu1zR16KudSN0FRTYmL+GkqlsnzKRB
	70IStrq3LAeU4mS4KqQLUgYWcCGBFF6ctWNN/NM4eWgUA+9hcjSPAloPXngwUsJQ
X-Gm-Gg: AYBFou1pBENK/b+YTGlIlzsU5FD27OjEi6wpMh01magWI3lMm3jrngGNg9CjSqyDuPI
	jquTyF5fAJlHdenjxIDwghZlIrYoSG2XWKPMV0wsGgnPuyFu896y2aQpg1+5fs1Q/f9GvEzDfXp
	nWDCVHBn+BGlEB7hYI6XDL+c1HF8h2eFZE5JPGnYjmBrbPhcdjnpxs5kgHqFpxi7ksp1FjPVb1R
	FbPCRfAhNrY7vOsYwcbb72KmSx9JA5EUQlB1HHACqDnEYRlI16MPYJ8K5hJFvYDrr0hmAl14Tzf
	lxHC+Dvy6yQJaJi6KAJqtKTCPyq7r5XDFYjRzGtuhPTd0vTTmJqy78QLF+17xDx3yryzS1Xo5Of
	Ei2E8oa44KBLBV+SGxEdOAfulolnfY6DtgTluTXyLumRA6fzOQlbK1PFyHq6cMnRSQVayb4GxfX
	Ce4YU8zbjOLo8UL/g/yCfn02VBsYCqHHmxHVK5qC5aSBUXTSFg+e4SGdzeDbED2RVx7WMqVlw3A
	qcCbj1WIy6Y7uQS5vE7BLiw/PfhGMFg6S6D64vPkfugHSpZdRyZISQqxFfihH1PUQfyQD0PgxYh
	skvvr+HlFVpcR//+2xmq2KFgAUcYLgWG
X-Received: by 2002:a05:701b:2910:b0:184:5f2e:aa52 with SMTP id a92af1059eb24-1ac5a0b4358mr4190230c88.16.1793390221004;
        Fri, 30 Oct 2026 12:57:01 -0700 (PDT)
X-Received: from localhost ([50.168.54.22])
        by smtp.gmail.com with ESMTPSA id a92af1059eb24-1ac1854da78sm12468124c88.6.2026.10.30.12.56.59
        (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128);
        Fri, 30 Oct 2026 12:56:59 -0700 (PDT)
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-Cc: <git@vger.kernel.org>, "Patrick Steinhardt" <ps@pks.im>
X-Mailer: aerc 0.22.0
X-In-Reply-To: <34b5c9c8-74d6-4d49-93cf-1d1909d56e9b@app.fastmail.com>