31 Commits

Author SHA256 Message Date
0dea6971c4 bcachefs-tools 1.35.0 2026-01-13 21:31:05 +01:00
8808fbd66f bcachefs-tools 1.34.0 2026-01-09 16:07:15 +01:00
8a495420aa bcachefs-tools 1.33.4 2025-12-26 00:06:56 +01:00
Holden R. Fried
e22a14b764 Update to v1.33.3 2025-12-25 23:12:04 +01:00
Holden R. Fried
0463c0119e Update to v1.33.2 2025-12-20 23:08:32 +01:00
Holden R. Fried
4ecea368ad Update to v1.33.1 2025-12-16 17:16:38 +01:00
6ccfd58f5a Curate changelog further 2025-12-07 10:31:22 +01:00
Holden R. Fried
7bd5e3e487 Update to v1.33.0 2025-12-07 10:22:24 +01:00
efef5fcfa0 Merge commit '9214b8a' (PR 5) 2025-11-17 21:10:32 +01:00
Holden R. Fried
9214b8a708 Update to v1.32.1 2025-11-16 14:38:24 -05:00
dbf5ad2026 Adhere to changelog syntax 2025-11-09 22:03:05 +01:00
Holden R. Fried
9e94377468 Update to 1.32.0 2025-11-09 13:41:58 -05:00
7080b51db1 bcachefs-tools 1.31.12 2025-10-29 17:52:05 +01:00
0cd51059c4 bcachefs-tools 1.31.11 2025-10-17 14:16:05 +02:00
070510380f bcachefs-tools 1.31.7 2025-10-07 15:55:12 +02:00
5abe392b6d bcachefs-tools 1.31.6 2025-10-07 12:32:07 +02:00
545b76eb86 bcachefs-tools 1.31.1 2025-09-23 23:02:32 +02:00
09b387dd29 Changelog update 2025-09-01 15:00:12 +02:00
Petr Vorel
1c0bed3ca2 bcachefs-tools 1.25.3
Signed-off-by: Petr Vorel <pvorel@suse.cz>
2025-08-29 15:13:57 +02:00
86e3305084 bcachefs-tools 1.25.2 2025-05-30 00:03:52 +02:00
8ebc455543 Fix obvious spellos in changelog
Fixes: ddf7f089f4
2025-02-06 11:14:28 +01:00
Petr Vorel
ddf7f089f4 bcachefs-tools 1.20.0
Signed-off-by: Petr Vorel <pvorel@suse.cz>
2025-02-06 10:47:45 +01:00
de4fe49640 Trim changelog to user-relevant parts 2024-12-19 15:24:03 +01:00
b70b5a710e Work around "broken: ERROR:root:ERROR: The _scmsync.obsinfo file must not be part of the git repository." 2024-12-19 14:27:01 +01:00
a659b22803 update to 1.13.0 2024-12-18 19:47:54 +01:00
4cbe32c50d Disable LTO, reinforce CFLAGS 2024-08-19 02:54:50 +02:00
1a2400f029 bcachefs-tools 1.11.0 2024-08-19 01:48:21 +02:00
Git SCM Staging
71dc0ee8fb Merge pull request 'Update to release v1.9.4' (#2) from ddiss/bcachefs-tools:1.9.4 into factory 2024-08-12 09:44:06 +02:00
96ce580ffc Update to release v1.9.4
Some checks failed
obs/scm/build
* No longer logging by default
* Fix undefined behavour

Signed-off-by: David Disseldorp <ddiss@suse.de>
2024-07-22 11:27:10 +02:00
d07946290c bcachefs-tools 1.9.3 (synchronize with OBS) 2024-07-13 03:20:10 +02:00
45476f2d4a bcachefs-tools 1.9.1 (synchronize with OBS) 2024-07-13 03:13:58 +02:00
9 changed files with 343 additions and 49 deletions

View File

@@ -1,4 +0,0 @@
mtime: 1721640430
commit: 96ce580ffcfc151a50c1911fb5ec8c4f28665955c6e31640f167510db7700c51
url: https://src.opensuse.org/ddiss/bcachefs-tools.git
revision: 96ce580ffcfc151a50c1911fb5ec8c4f28665955c6e31640f167510db7700c51

5
bcachefs-preamble Normal file
View File

@@ -0,0 +1,5 @@
Provides: multiversion(kernel)
Enhances: kernel-%1
Requires: kernel-%1
Supplements: (kernel-%1 and zfs)
Recommends: %{name}-ueficert = %{version}

View File

@@ -0,0 +1,16 @@
-----BEGIN PGP SIGNATURE-----
iQIzBAABCgAdFiEEKnAFLkS8Qha+jvQrE6szbY3KbnYFAmllCDUACgkQE6szbY3K
bnakBhAAhSrb7BuKzEddJRvEkqFDNO/4Q3PJZzL2UPofs7kfWrqSnkK4ufdrsVfO
w0fQK7BJUI8HitKpqm4x1uDn0oYTmjAcx7TlPeyVyTfiTLdE+971GTbglPuFy00c
BpEJ6QNeWfCsHagJqSzfa1kEW2QVe8l1fgVxsX8KK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q2QuHdX9WAkR/7WSOTOru8op9YnVIz2Lp46azUTLLO3N//rrg
l/s5s8ZKCYMeDFqk5B1h6YO921rfz33vqYJorhPUhbgFq1I6aGuPrTS+ujpOLRV3
2lVHSSjUnWRoi79u/BwqwC14bHEUjtYJhuSX2yZRdRH+hfhg2lMEc+6MD5MYKL+r
Mx3bbrcxDB5C2OGojua03ff6xr5rMyudff2Xm17eD90k5vpFTRlY24urx0AJCvCx
LucwMiI0fO/Yjnxa7gq1q4qT7W0jeQJif3tC983SqnuwYlb+VV0=
=xx/R
-----END PGP SIGNATURE-----

Binary file not shown.

View File

@@ -1,3 +1,275 @@
-------------------------------------------------------------------
Tue Jan 13 19:52:59 UTC 2026 - Jan Engelhardt <jengelh@inai.de>
- Update to release 1.35.0
* The requirement that devices must have matched bucket sizes to
be members of the same stripes has been removed.
* Stripes may be reshaped (number of blocks increased or
decreased), as needed; this improves EC's handling of device
failures.
* Significantly improved evacuate, rereplicate performance on
rotating disks: we now launch one thread per device being read
from (i.e. every device that shared data with the device going
away); each device is read from in parallel with reads across
the whole device done in sorted order.
* `backpointer_scan_iter`, for improved performance for code
doing backpointer -> extent walks, including but not limited to
reconcile; this is quite significant on systems with metadata
on rotating disk and relatively limited memory.
* The bug with reconcile where btree roots wouldn't be processed
has been fixed.
* A few bugs with reconcile's handling of cached data have been
fixed.
* The reconcile tracepoints, especially `reconcile_set_pending`,
now give significantly more information.
* Reconcile now knows how to wait on copygc when a device it
wants to write to is full, rather than (incorrectly) marking
the extent as pending.
* Fixed several memory reclaim recursion bugs; performance under
memory pressure should be improved.
* Various allocation watermark fixes; btree updates now only run
with high priority watermarks when necessary. This fixes some
allocator deadlocks on open bucket allocation.
* 'encoded_extent_max` settings of 1MB and greater now work
properly; previously, this could cause backpointer issues if
compression was enabled.
-------------------------------------------------------------------
Fri Jan 9 15:06:44 UTC 2026 - Jan Engelhardt <jengelh@inai.de>
- Update to release 1.34.0
* `KEY_TYPE_error` keys new include a field that indicates the
reason and codepath they were created.
* We now run `check_snapshots` before deleting interior snapshot
nodes, after observing a bug where bad skiplist entries were
created due to prior corruption of the snapshot depth field.
* The compression code now always bounces the source buffer if it
may have been mapped to userspace; this should solve reports of
corruption with zstd.
* `str_hash` (dirents and xattrs) repair now handles keys in
different snapshots correctly.
-------------------------------------------------------------------
Thu Dec 25 23:04:13 UTC 2025 - Jan Engelhardt <jengelh@inai.de>
- Update to release 1.33.4
* Fix a bug with interior snapshot node deletion that could
manifest as fs corruption that would disappear on the next
remount.
* New mode for verifying the result of data compression before
writing compressed data out to disk (``verify_compress``).
* Reconcile no longer runs when the filesystem is mounted read only.
-------------------------------------------------------------------
Tue Dec 23 17:11:23 UTC 2025 - Holden Fried <holden@opensuse.org>
- Update to release 1.33.3
* More snapshot deletion fixes, old interior snapshot nodes
should finally be getting cleaned up correctly
* We now run ``check_snapshots`` on every mount; there have been
some bugs which result in snapshot tree corruption in the
depth/skiplist fields, breaking ``snapshot_is_ancestor()``.
We can't efficiently detect this kind of corruption at
runtime, but ``check_snapshots`` is no more expensive than
``read_snapshots``; if we still have bugs in snapshot deletion,
this will render them harmless.
* Some obscure repair paths are now more robust - str_hash
mismatch repair, inode reconstruction.
* Btree node rewrites no longer run at ``BCH_WATERMARK_btree``
by default; this should solve some deadlocks that started
happening when reconcile started moving around a lot more
btree nodes.
* When we get a ZSTD decompression error, the specific error
code from zstd will now be reported in the error message.
-------------------------------------------------------------------
Fri Dec 19 21:28:19 UTC 2025 - Holden Fried <holden@opensuse.org>
- Update to release 1.33.2
* Fix multiple bugs involving deleting interior snapshot nodes
* Fix an assertion pop caused by leftover rebalance scan
cookies, from pre-1.33.0
* Fix mmap-involved page cache inconsistency/corruption, users
generally noticed this as files that seemed to be corrupted by
the cp afterwards
* Fix a topology inconsistency caused by a transaction commit
merging a node we were updating a key for in the same
transaction; we now have stricter topology checks
* Online fsck now understands ``-o recovery_passes``
* Copygc (and elsewhere) now correctly uses the 'fragmented'
counter under `dev_data_type` accounting; intricacies of
compressed data accounting mean that ``buckets * bucket_size -
sectors`` does not work for this, and may underflow.
* New recovery pass: ``kill_i_generation_keys``. Modern
filesystems do not use ``KEY_TYPE_i_generation`` for
implementing NFS inode generation numbers, and old filesystems
may have significant amounts of wasted space in the inodes
btree from these. Must be run manually, and can be run online.
* Subvolumes and snapshot trees are now viewable in debugfs,
along with the per-snapshot accounting. These should be
considered prototype interfaces, to give users something to
look at and comment on before the real interfaces are
designed.
* Snapshot accounting is no longer kept in-memory; this fixes
slow ``accouting_read`` on filesystems with huge numbers of
snapshots.
-------------------------------------------------------------------
Mon Dec 15 16:57:51 UTC 2025 - Holden Fried <holden@opensuse.org>
- Update to release 1.33.1
* Recovery passes will now be run in the background when possible
* When a scheduled recovery pass and all scheduled passes that
depend on it can be run online, we'll now run it in the
background instead of blocking mount. This means that upgrades
to 1.33 from previous versions will now happen in the
background.
* We now avoid blocking on memory reclaim when allocating btree
node buffers; it was discovered that under memory pressure it
can take > 10 seconds to satisfy a single allocation due to
compaction. We'll now fall back to vmalloc much quicker.This
should help with the SRCU lock hold time warnings that have
still been popping up.
* There's a new btree node cache statistic to track the number
of vmalloc allocations; if we notice that this is now too high
we may want to add a background task to allocate physically
contiguous buffers to replace the vmalloc allocations (vmalloc
memory is a bit slower than physically contiguous memory).
* Fix a "pending incorrectly set" ERO
* Fix checking for device rebalance scan cookies, this will
eliminate some spurious "extent with incorrect/missing
reconcile opts" errors.
* Snapshot deletion fixes; when multiple leaves were being
deleted simultaneously and interior nodes needed to be deleted
too, the interior nodes often wouldn't get cleaned up - and in
rare situations keys could get moved to the incorrect snapshot
node, due to a DFS iteration bug.
-------------------------------------------------------------------
Fri Dec 5 23:11:05 UTC 2025 - Holden Fried <holden@opensuse.org>
- Update to release 1.33.0
* ``bcachefs_metadata_version_reconcile``, formerly known as
``rebalance_v2``, is now available, and requires an
incompatible format upgrade to enable.
* Reconcile/Rebalance now handles all IO path operations
(rather than just the background target & compression options),
as well as metadata.
* Reconcile reacts to option changes and device setting changes,
immediately rereplicating degraded data or metadata. This
obsoletes the commands ``data rereplicate``, ``data job
drop_extra_replicas``, and others; the new commands are
``reconcile status`` and ``reconcile wait``.
* The filesystem now track whether a disk is rotational or not,
but this currently cannot be changed once set.
* Degraded data is now always properly reported as degraded (by
``bcachefs fs usage`)`.
-------------------------------------------------------------------
Sun Nov 16 19:36:29 UTC 2025 - Holden Fried <holden@opensuse.org>
- Update to release 1.32.1
* Update bcachefs sources to 99a43760af01 bcachefs: ret_fsck_err()
* Update bcachefs sources to f4a2c8cad65c bcachefs: print NO_KEYS
in snapshot_to_text()
-------------------------------------------------------------------
Sun Nov 9 17:39:05 UTC 2025 - Holden Fried <holden@opensuse.org>
- Update to release 1.32.0
* bcachefs: vendorize bio_iov_iter_get_pages()
* bcachefs: BCH_ERR_unaligned_io
* bcachefs: Don't bail out of check_inode() if
check_has_case_sensitive() fails
* udev rules: Add per-member links in /dev/disk/by-uuid
* A number of documentation updates including:
* Added Documentation about how to add Device Labels
* Clarified how to remove offline devices
* Added data scrub documentation
* Added set-fs-option as an alternative for sysfs option
* Added casefold_disabled option Documentation, not sure if
able to be set other than on mount
* bcachefs: don't BUG() if using the btree before initialized
* bcachefs: Restrict output size of
bch2_snapshot_delete_nodes_to_text()
* cmd_fs_top: Fix replication display for erasure coded data
-------------------------------------------------------------------
Wed Oct 29 16:49:54 UTC 2025 - Jan Engelhardt <jengelh@inai.de>
- Update to release 1.31.12
* kmp: don't log duplicate errors in read path
* format: Don't format with a version higher than supported by tools
* kmp: track whether new btree nodes are roots
-------------------------------------------------------------------
Fri Oct 17 12:12:59 UTC 2025 - Jan Engelhardt <jengelh@inai.de>
- Update to release 1.31.11
* No changelog was provided
-------------------------------------------------------------------
Tue Oct 7 10:32:27 UTC 2025 - Jan Engelhardt <jengelh@inai.de>
- Update to release 1.31.7
* mount: for when a passphrase is needed, try
systemd-ask-password when stdin is /dev/null
* mount: pass --keyname and --accept-cached to
systemd-ask-password
* bcachefs: Fix double-free of journal_keys key
* bcachefs: Fix promote path nocow deadlock
* bcachefs: Add time_stats for btree write buffer flush
-------------------------------------------------------------------
Tue Sep 23 13:09:54 UTC 2025 - Jan Engelhardt <jengelh@inai.de>
- Update to release 1.31.1
* Enforce a soft minimum limit of 64k for bucket size
* Add v2 ioctls that return error strings
* Commands called with no arguments now print usage
* scrub: Return code now indicates corrected/uncorrected errors
-------------------------------------------------------------------
Fri Aug 29 13:13:02 UTC 2025 - Petr Vorel <pvorel@suse.cz>
- Update to release 1.25.3
* New commands: `bcachefs image create` and
`bcachefs image update`
-------------------------------------------------------------------
Thu May 29 21:41:18 UTC 2025 - Jan Engelhardt <jengelh@inai.de>
- Update to release 1.25.2 [boo#1243231]
* No changelog was provided
-------------------------------------------------------------------
Thu Feb 6 09:36:16 UTC 2025 - Petr Vorel <pvorel@suse.cz>
- Update to 1.20.0:
* bcachefs fs top - show runtime performance information
* various fixes
-------------------------------------------------------------------
Wed Dec 18 18:33:29 UTC 2024 - Richard Rahl <rrahl0@opensuse.org>
- update to 1.13.0:
* posix_to_bcachefs: fix missing copy_xattrs() error checking
* Change lingering set-option texts to set-fs-option
* change setattr to set-file-option in docs/usage
- update to 1.11.1:
* bch_bindgen: Remove memoffset dep
* cmd_list: open with noexcl
* fuse: graceful shutdown when startup fails
-------------------------------------------------------------------
Sun Aug 18 23:46:46 UTC 2024 - Jan Engelhardt <jengelh@inai.de>
- Update to release 1.11.0
* mount: Fix UAF in option string handling
* mount: Support asking for password via systemd-ask-password
- Fix a crash in mkfs.bcachefs by disabling LTO.
-------------------------------------------------------------------
Mon Jul 22 09:06:43 UTC 2024 - David Disseldorp <ddiss@suse.de>

View File

@@ -1,7 +1,7 @@
#
# spec file for package bcachefs-tools
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2026 SUSE LLC and contributors
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -17,15 +17,18 @@
Name: bcachefs-tools
Version: 1.9.4
Version: 1.35.0
Release: 0
Summary: Configuration utilities for bcachefs
License: GPL-2.0-or-later
License: Apache-2.0 AND (Apache-2.0 OR MIT) AND (Apache-2.0 OR Apache-2.0 WITH LLVM-exception OR MIT) AND MIT AND MPL-2.0 AND (MIT OR Unlicense) AND BSD-3-Clause AND GPL-2.0-only AND GPL-2.0-or-later AND LGPL-2.1-only
Group: System/Filesystems
URL: https://bcachefs.org/
Source0: https://evilpiepirate.org/%name/%name-vendored-%version.tar.zst
Source1: https://evilpiepirate.org/%name/%name-vendored-%version.tar.sign
Source2: %{name}.keyring
#Git-Clone: https://evilpiepirate.org/git/bcachefs-tools.git
#Changelog: <source0>/Changelog.mdwn
Source0: https://evilpiepirate.org/bcachefs-tools/%name-vendored-%version.tar.zst
Source1: https://evilpiepirate.org/bcachefs-tools/%name-vendored-%version.tar.sign
Source2: %name.keyring
Source3: bcachefs-preamble
BuildRequires: cargo
BuildRequires: clang-devel
BuildRequires: libaio-devel >= 0.3.111
@@ -41,6 +44,12 @@ BuildRequires: pkgconfig(libzstd)
BuildRequires: pkgconfig(udev)
BuildRequires: pkgconfig(uuid)
BuildRequires: pkgconfig(zlib)
%if 0%{?suse_version} >= 1690
BuildRequires: %kernel_module_package_buildreqs
BuildRequires: kernel-devel
BuildRequires: kernel-syms
%kernel_module_package -n bcachefs -x xen -p %_sourcedir/bcachefs-preamble
%endif
%description
Bcachefs is a filesystem for Linux, with an emphasis on reliability
@@ -62,38 +71,53 @@ This package contains utilities for creating and mounting bcachefs.
%autosetup -p1
%build
# The combination of -Og/-O1/-O2 + LTO produces a broken mkfs.bcachefs which
# crashes (disabling one of the two fixes it). Given this -O+LTO scenario, if
# -g2 is also used, the lto1-wpa process runs into memory exhaustion (>80GB)
# and the build fails altogether.
%define _lto_cflags %nil
# gh/koverstreet/bcachefs-tools#237
# bcachefs-tools uses malloc_usable_size, which is incompatible
# with fortification level 3
export CFLAGS="${RPM_OPT_FLAGS/_FORTIFY_SOURCE=3/_FORTIFY_SOURCE=2}"
export CXXFLAGS="${RPM_OPT_FLAGS/_FORTIFY_SOURCE=3/_FORTIFY_SOURCE=2}"
export CXXFLAGS="$CFLAGS"
# Workaround antisocial Makefile that forces its own -O level
export EXTRA_CFLAGS="$CFLAGS"
%make_build PREFIX="%_prefix" ROOT_SBINDIR="%_sbindir"
%if 0%{?suse_version} >= 1690
%make_build install_dkms DKMSDIR="/tmp/kb"
cd /tmp/kb
for kmp_flavor in %{?flavors_to_build}; do
rm -Rf "../obj-$kmp_flavor"
cp -a . "../obj-$kmp_flavor"
cd "../obj-$kmp_flavor/"
%make_build KDIR="/usr/src/linux-obj/%_target_cpu/$kmp_flavor"
cd -
done
%endif
%install
%make_install PREFIX="%_prefix" ROOT_SBINDIR="%_sbindir"
%make_install PREFIX="%_prefix" ROOT_SBINDIR="%_sbindir" DKMSDIR=/tmpdel
rm -Rf "%buildroot/tmpdel"
# this ain't no debian
rm -Rf "%buildroot/etc/initramfs-tools" "%buildroot/%_datadir/initramfs-tools"
%pre
%service_add_pre bcachefsck_all.service bcachefsck_all_fail.service
%post
%service_add_post bcachefsck_all.service bcachefsck_all_fail.service
%preun
%service_del_preun bcachefsck_all.service bcachefsck_all_fail.service
%postun
%service_del_postun bcachefsck_all.service bcachefsck_all_fail.service
%if 0%{?suse_version} >= 1690
cd /tmp/kb
for kmp_flavor in %{?flavors_to_build}; do
cd "../obj-$kmp_flavor/"
%make_build -C "/usr/src/linux-obj/%_target_cpu/$kmp_flavor" \
M="$PWD" INSTALL_MOD_PATH="%buildroot" modules_install
cd -
done
%endif
%files
%_sbindir/*bcache*
%_unitdir/bcachefsck*
%_unitdir/system-bcachefsck*
%_libexecdir/bcachefsck*
%_udevrulesdir/64-bcachefs.rules
%_mandir/man8/*.8*
%license COPYING
%doc doc/bcachefs-principles-of-operation.tex
%doc doc/bcachefs-principles-of-operation.tex Changelog.mdwn Documentation/*
%changelog

Binary file not shown.