public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Michael Berry <trismegustis@gmail.com>
To: git-commits@fedoraproject.org
Subject: [rpms/btrfs-backup-ng] f43: Merge branch 'rawhide' into f43
Date: Thu, 22 Oct 2026 10:51:28 GMT [thread overview]
Message-ID: <179266628870.1.678277089379805340.rpms-btrfs-backup-ng-9c4658ca42d2@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/btrfs-backup-ng
Branch : f43
Commit : 9c4658ca42d2bc4030300f02488142d1afabdf48
Author : Michael Berry <trismegustis@gmail.com>
Date : 2026-10-22T04:09:29-04:00
Stats : +3/-39 in 4 file(s)
URL : https://src.fedoraproject.org/rpms/btrfs-backup-ng/c/9c4658ca42d2bc4030300f02488142d1afabdf48?branch=f43
Log:
Merge branch 'rawhide' into f43
---
diff --git a/.gitignore b/.gitignore
index a403bda..0d9fbb4 100644
--- a/.gitignore
+++ b/.gitignore
@@ -11,3 +11,4 @@
/btrfs_backup_ng-0.9.15.tar.gz
/btrfs_backup_ng-0.9.16.tar.gz
/btrfs_backup_ng-0.9.17.tar.gz
+/btrfs_backup_ng-0.9.18.tar.gz
diff --git a/btrfs-backup-ng-0.9.17-lock-rewind-before-listing.patch b/btrfs-backup-ng-0.9.17-lock-rewind-before-listing.patch
deleted file mode 100644
index 7abcc19..0000000
--- a/btrfs-backup-ng-0.9.17-lock-rewind-before-listing.patch
+++ /dev/null
@@ -1,35 +0,0 @@
-From: Michael Berry <trismegustis@gmail.com>
-Date: Wed, 22 Oct 2026 02:45:00 -0400
-Subject: [PATCH] lock: rewind the lock directory before counting records
-
-On btrfs a directory descriptor lists only the entries that existed when
-it was opened until it is rewound (since kernel 6.6 the last directory
-index is snapshotted at open so a reader always terminates), and
-os.listdir(fd) rewinds only after it has read. LocalLockManager._take
-opens the lock directory, writes its owner record, then lists through the
-same descriptor: on btrfs the record is not seen, the count is 0, the
-holder removes its own record and reports BUSY, so every exclusive
-acquire on a local btrfs target fails. Seek to 0 before listing.
-
-Upstream's suite passes on tmpfs /tmp; it fails wherever tmp_path is on
-btrfs (tests/test_lock_store_never_follows_a_link.py,
-TestTheLocalStoreIsWrittenAsItShouldBe::test_directories_and_records).
---- a/src/btrfs_backup_ng/sshutil/lock.py 2026-10-22 01:44:01.339704800 -0400
-+++ b/src/btrfs_backup_ng/sshutil/lock.py 2026-10-22 02:41:48.017419356 -0400
-@@ -1918,7 +1918,16 @@
- return ["BUSY"]
- with os.fdopen(fd, "wb") as f:
- f.write(payload.encode("utf-8"))
-+ # A directory descriptor on btrfs lists only the entries that
-+ # existed when it was opened until it is rewound (the kernel
-+ # snapshots the last directory index at open, since 6.6, so a
-+ # reader always terminates), and os.listdir(fd) rewinds only
-+ # AFTER it has read. lock_fd was opened before the record above
-+ # was written, so without the rewind the record just written is
-+ # not listed, the count below is 0, and the lock this holder has
-+ # just taken is given up as BUSY.
- try:
-+ os.lseek(lock_fd, 0, os.SEEK_SET)
- entries = os.listdir(lock_fd)
- except OSError:
- entries = []
diff --git a/btrfs-backup-ng.spec b/btrfs-backup-ng.spec
index 393f8c1..1fbb433 100644
--- a/btrfs-backup-ng.spec
+++ b/btrfs-backup-ng.spec
@@ -1,13 +1,11 @@
Name: btrfs-backup-ng
-Version: 0.9.17
+Version: 0.9.18
Release: %autorelease
Summary: Btrfs backups with snapshots, incremental transfers and restore
License: MIT
URL: https://github.com/berrym/btrfs-backup-ng
Source: %{pypi_source btrfs_backup_ng}
-# Fix exclusive lock acquire on btrfs; sent upstream.
-Patch0: btrfs-backup-ng-0.9.17-lock-rewind-before-listing.patch
BuildArch: noarch
BuildRequires: python3-devel
diff --git a/sources b/sources
index 5e6b43e..49a1ca3 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (btrfs_backup_ng-0.9.17.tar.gz) = a6900c60cc3c6b9f6f00c80afebce059bb94c737da4c892ee5734edb43870f57481a1f449b8ff2a4c82279f8b338b0573ab78c6150032b01dc1528e092e7f307
+SHA512 (btrfs_backup_ng-0.9.18.tar.gz) = d39104d3fffc52d5e467f6cc6d66d3c44fad7fac168a90e13b7530b5392918d24d4fd441402027d11fa0c64479f718c3052bd8779e6a1114379e6250236e6b3a
next reply other threads:[~2026-10-22 10:51 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-10-22 10:51 Michael Berry [this message]
-- strict thread matches above, loose matches on Subject: below --
2026-11-10 23:22 [rpms/btrfs-backup-ng] f43: Merge branch 'rawhide' into f43 Michael Berry
2026-10-23 4:27 Michael Berry
2026-10-23 3:04 Michael Berry
2026-10-23 3:04 Michael Berry
2026-10-22 10:51 Michael Berry
2026-10-20 12:15 Michael Berry
2026-10-19 20:17 Michael Berry
2026-10-19 4:41 Michael Berry
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=179266628870.1.678277089379805340.rpms-btrfs-backup-ng-9c4658ca42d2@fedoraproject.org \
--to=trismegustis@gmail.com \
--cc=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox