Article View: linux.kernel.git
Article #2778[PATCH 1/4] object-file: rename default transaction prefix
From: Justin Tobler
Date: Tue, 10 Nov 2026 00:22
Date: Tue, 10 Nov 2026 00:22
35 lines
11820 bytes
11820 bytes
By default, the temporary directory created for a "files" ODB
transaction has its name prefixed with "bulk-fsync". This name dates
back to c0f4752ed2 (core.fsyncmethod: batched disk flushes for
loose-objects, 2022-04-04), where the temporary object directory only
served to batch fsyncs of loose objects.
ODB transactions have since grown into a more general interface for
writing objects though, and the temporary object directory is not
inherently tied to how objects are synced. In a subsequent commit, the
temporary object directory is created for every transaction regardless
of the configured fsync method, which would make the name misleading.
Rename the default prefix to "transaction" accordingly.
Signed-off-by: Justin Tobler <jltobler@gmail.com>
---
object-file.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/object-file.c b/object-file.c
index 132aaab6f8..201d9d6490 100644
--- a/object-file.c
+++ b/object-file.c
@@ -1566,7 +1566,7 @@ int odb_transaction_files_begin(struct odb_source *source,
transaction->flags = flags;
strvec_init(&transaction->pack_names);
- transaction->prefix = "bulk-fsync";
+ transaction->prefix = "transaction";
if (flags & ODB_TRANSACTION_RECEIVE) {
/*
* ODB transactions for git-receive-pack(1) eagerly create a
--
2.56.0.173.gf57c9a7388
Technical Details
Message-ID:
<20261110002251.2007617-2-jltobler@gmail.com>Path:
mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!newsfeed.bofh.team!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!git+bounces-75001-linux-kernel-git=dewy.ruReferences:
<20261110002251.2007617-1-jltobler@gmail.com>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!newsfeed.bofh.team!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!git+bounces-75001-linux-kernel-git=dewy.ru
From: jltobler@gmail.com (Justin Tobler)
Newsgroups: linux.kernel.git
Subject: [PATCH 1/4] object-file: rename default transaction prefix
Date: Mon, 9 Nov 2026 18:22:48 -0600
Organization: Usenet Network
Message-ID: <20261110002251.2007617-2-jltobler@gmail.com>
References: <20261110002251.2007617-1-jltobler@gmail.com>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
Injection-Info: usenet.network;
logging-data="484594"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:8jDZZl9m8yaZvqCzdFP5jpjE7k0= sha256:og83AvKpGst7d7crgGYLgIHoljc7X3lFk7oBNItht/M=
sha1:nUCPcVeDoIg/fr8QCWKr8xPDbxc= sha256:nU21OiGIWBCX3nfrV/cDsXk0p45k3VVKnm4W3bvrJkw=
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 B5FBC113927; Tue, 10 Nov 2026 03:31:03 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -1.949
X-Spam-Status: No, score=-1.949 tagged_above=-9999 required=6.31
tests=[DCC_CHECK=1.1, 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.249,
MAILING_LIST_MULTI=-1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001,
SPF_PASS=-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 8tCD4f83ZE3f;
Tue, 10 Nov 2026 03:31:00 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.234.253.10; helo=sea.lore.kernel.org; envelope-from=git+bounces-75001-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 7E5C81139A9; Tue, 10 Nov 2026 03:30:51 +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 E0C31A4D3C; Tue, 10 Nov 2026 00:23:05 +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=1794270179;
b=L3E0EidjqU4ZG9wAFRouFel0jZzl8Dl+y6ph7w1W8g/ECxr1oj3uAKoqYqAEMl2Emeui
kDb921UurlJ9rN2E5CmJcbsxZw7nu+xEjvAlb/NyEiUp2XV+tpE89hmvs8wBAafPNiH8y
bl23WsydVIB+S1OG107jZq7S19i28RIPGSWLGoa7chQ6PFMbFr8csLWv40Mw1vOmcJeU3
ZIdU7UP0oX7oRnmVYlOrRsN16feQsSGHtSVyRNqrB+kXP3pgyjHocmq6BinXMvBDntcRq
qLIT0E3uDFn2T2VpovDb5mxyCmFTzSs3LS4S5yS57wKhM19AAfemJtGK2BJgSw5Ix1A==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
a=rsa-sha256; c=relaxed/relaxed; t=1794270179;
h=X-Original-To:Received:DMARC-Filter:Received:DKIM-Signature:
X-Google-DKIM-Signature:X-Gm-Message-State:X-Gm-Gg:X-Received:
Received:From:To:Cc:Subject:Date:Message-ID:X-Mailer:In-Reply-To:
References:X-Mailing-List:List-Id:List-Post:List-Help:List-Subscribe:
List-Unsubscribe:List-Owner:Precedence:MIME-Version:
Content-Transfer-Encoding;
bh=xpD80DimQYgR/0e1e3paRzNhCO1o9FKm31PzSwweQis=;
b=cG3u3mK0XNwOTFQ1rOrvO24jXDgw2kypmDVRgdpgXVqPKgZcYE5iUrU/L1juCTMXckGk
1xm8iA/WakSqo0liqa/KvHNZhHvEyue5QrO5+EZOLuWV52o2NlSsmYQO+FPzgN7UeGouL
aeo9JFNSemiEP9coG8DNHXvsxlIwyOvZGU/cGJXL45Fn18v0iOSbXHhvIQl5bnjzoBfMK
CS/KbM0KOK4Wk44T7/OQvZ+zmEJKYG2YxxJbxfHTEBJzu/wnidZFJpkDsTWqw6QgQB26y
Yv2iK3F+U3oV85aF/AWA/nu+ng8DYkjtn6BATgc7NbrT5LlxQpZCry/V189FmH43PgA==
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=GfNALtbj;
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 0D18F60A260C;
Tue, 10 Nov 2026 00:22:59 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org;
dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20260707 header.b=GfNALtbj
X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=209.85.161.53
X-ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none;
t=1794270178;
b=00rABEmHrVCQ7CB5mv1KDlA3sH3ei0pZcxfhr6NTD8vwCjcPqQBLbjdczxTKmW+R/ib+
R6dau2u0YBiyEn9K24RHWwVHb2kckUTBLgOCSkOnbxOQUa5jvdtnIZCCiIEE/V6nOLP5C
QGKQo1tQ3AVJ4DKlNEP5IwUgKSVKcttIFAT5PfWVr8jLB3T/KpFXFKkpEum2Jydazh8VD
2IQPVNU4vp5n2I09euU2fLUmhyy/k4mYMlqNKpBhRaJmtHsONbPCXOpwZUf/MTrbJEcXr
QXted321UH7kq8sF+EiQw4jYQSdmSdMiJPYRO6t0nXiKey/o1JATCQMZN0EHKksF3Hg==
X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015;
a=rsa-sha256; c=relaxed/relaxed; t=1794270178;
h=DMARC-Filter:Received:DKIM-Signature:X-Google-DKIM-Signature:
X-Gm-Message-State:X-Gm-Gg:X-Received:Received:From:To:Cc:Subject:
Date:Message-ID:X-Mailer:In-Reply-To:References:MIME-Version:
Content-Transfer-Encoding;
bh=xpD80DimQYgR/0e1e3paRzNhCO1o9FKm31PzSwweQis=;
b=45c7RCivX03bVbHlHeAMK+8JRphznm/jhbKkSVR8wel1idA1stLmCHkEA5bKcBu7RyWi
7ftd7EDGntZxgKq7YqSxm9CwCC3x7eGqF0E4WaBDD/BY3CC3+JhGmx33Y7X5v+XSWbsDn
3uQ3ihFgcKGlXFPkVCSAKDaWUahXV9dVlhGXVjQWBuH+a8gjBAaQjHblj+bNRhsCZNXHp
lX7nUWZ8lvM2PC74SWg59JsgXL/+535xBjJDi0F6Q36RIPhDVoteGx2Cl6obRY++47jYI
jPQWQhaBtqszgIJeaSQ33l3sAf/35H7XagOiHsIuAaPm/HrC6QhemkJMYGk57gwNEjw==
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=GfNALtbj;
arc=none smtp.remote-ip=209.85.161.53
X-Received: from mail-oo1-f53.google.com (mail-oo1-f53.google.com [209.85.161.53])
(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 C6333606A330
for <git@vger.kernel.org>; Tue, 10 Nov 2026 00:22:57 +0000 (UTC)
X-DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org C6333606A330
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-oo1-f53.google.com with SMTP id 006d021491bc7-703be215729so553539eaf.1
for <git@vger.kernel.org>; Mon, 09 Nov 2026 16:22:57 -0800 (PST)
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=gmail.com; s=20260707; t=1794270177; x=1794874977; darn=vger.kernel.org;
h=content-transfer-encoding:mime-version:references:in-reply-to
:message-id:date:subject:cc:to:from:from:to:cc:subject:date
:message-id:reply-to:content-type;
bh=xpD80DimQYgR/0e1e3paRzNhCO1o9FKm31PzSwweQis=;
b=GfNALtbjQxblvOnwkSbPBqe0B/wV0W95xNLWmbHqbmQYscb96aUxa+uGtai4vg5Zg8
Hn6dGcr43O+swuJdEOhrnEnzoyc0YqMbJ3Zj9NcbQggqWsvnDzswmnECua2RiTw+dx/I
9y+vf8DrvKVWSuDztWbjSNB4zLRfnoepjR1lRL/eykLqOEz0vNQMuJNn4bH217SLWa+T
Ius/Gj6ki4cvS+WNysqmA9XdSy9Sw6kRJ134vJYrT0nl+azgjDmimkbF4uSCy613oIoL
eifXyI501hf4FfUGpGqstkWgilM7gJluIMaWtQP9b0SyNEwiPzsFnaFr7+6zgkD1mpDR
pM4w==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20260707; t=1794270177; x=1794874977;
h=content-transfer-encoding:mime-version:references:in-reply-to
:message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from
:to:cc:subject:date:message-id:reply-to:content-type;
bh=xpD80DimQYgR/0e1e3paRzNhCO1o9FKm31PzSwweQis=;
b=Fal9h3EghMpHJ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DFOGon8fRwbYcgl31Q8lmowWmMP0QNHnzLIOq5Uyx5/bLif6GMuChtWQfaeYR0QTQ
X-Received: by 2002:a05:6820:55d3:10b0:6b7:8396:f3da with SMTP id 006d021491bc7-718a547cf25mr291974eaf.60.1794270176658;
Mon, 09 Nov 2026 16:22:56 -0800 (PST)
X-Received: from denethor.localdomain ([136.51.44.64])
by smtp.gmail.com with ESMTPSA id 46e09a7af769-860dcbc82b5sm680518a34.17.2026.11.09.16.22.56
(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
Mon, 09 Nov 2026 16:22:56 -0800 (PST)
X-Cc: Justin Tobler <jltobler@gmail.com>
X-Mailer: git-send-email 2.56.0.173.gf57c9a7388
X-In-Reply-To: <20261110002251.2007617-1-jltobler@gmail.com>
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