14 Commits

Author SHA256 Message Date
f600658ba2 remove invalid imported files 2025-08-07 18:10:40 +02:00
6400497be0 Accepting request 1243600 from filesystems
- Update to 1.20.0:

OBS-URL: https://build.opensuse.org/request/show/1243600
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bcachefs-tools?expand=0&rev=16
2025-02-06 21:09:01 +00:00
OBS User unknown
3c15d0c466 [info=8ebc455543cbf138e1dfe2485413a3b4ecf6b2f84a5cefcf4671b971577bd529]
OBS-URL: https://build.opensuse.org/package/show/filesystems/bcachefs-tools?expand=0&rev=40
2025-02-06 10:14:40 +00:00
OBS User unknown
93c3bd5681 [info=ddf7f089f4140a9846776c41977a929052f90b49f4174c6c8c551f8dfb0d9443]
OBS-URL: https://build.opensuse.org/package/show/filesystems/bcachefs-tools?expand=0&rev=39
2025-02-06 10:12:15 +00:00
4967a8fb07 Accepting request 1232607 from filesystems
- update to 1.13.0:

OBS-URL: https://build.opensuse.org/request/show/1232607
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bcachefs-tools?expand=0&rev=15
2024-12-19 20:42:07 +00:00
OBS User unknown
dd0d43610b [info=de4fe496407bcaab7eb3e5b84508d16804ea1685f8b06a916682bb934c0eee88]
OBS-URL: https://build.opensuse.org/package/show/filesystems/bcachefs-tools?expand=0&rev=38
2024-12-19 14:24:15 +00:00
OBS User unknown
c8a1196ef9 [info=b70b5a710eaadb92c4d34ae96dd08acf21a546cdff44310f044b82003cef5e58]
OBS-URL: https://build.opensuse.org/package/show/filesystems/bcachefs-tools?expand=0&rev=37
2024-12-19 13:27:39 +00:00
6538c32a01 Accepting request 1194611 from filesystems
- Update to release 1.11.0

OBS-URL: https://build.opensuse.org/request/show/1194611
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bcachefs-tools?expand=0&rev=14
2024-08-19 21:44:44 +00:00
OBS User unknown
5b1d95ec19 [info=4cbe32c50d941a049d089648a21abc8d42316f6cdbd8db7ec4872d9916e12d6d]
OBS-URL: https://build.opensuse.org/package/show/filesystems/bcachefs-tools?expand=0&rev=36
2024-08-19 00:50:19 +00:00
OBS User unknown
c5f1ad8302 [info=72bf126e4bcaec767dfd0fe42b21205b414db6d7e5ffe3936377129f20650fa2]
OBS-URL: https://build.opensuse.org/package/show/filesystems/bcachefs-tools?expand=0&rev=35
2024-08-19 00:25:56 +00:00
132982aae3 [info=1a2400f02946a839c983e3c551740f9d5b3383283791fe2ace29003b7813c6bd]
OBS-URL: https://build.opensuse.org/package/show/filesystems/bcachefs-tools?expand=0&rev=34
2024-08-19 00:09:34 +00:00
OBS User unknown
e8cedb3b40 [info=71dc0ee8fb898144f84ea113ffeb0bb640668889f3de1686d072696a678159dd]
OBS-URL: https://build.opensuse.org/package/show/filesystems/bcachefs-tools?expand=0&rev=33
2024-08-12 07:44:16 +00:00
OBS User unknown
f911dea267 [info=a6099128dcc3cd2de3999ba69d14afab08dd0a9605ca6f40c06c44ee09d0f95c]
OBS-URL: https://build.opensuse.org/package/show/filesystems/bcachefs-tools?expand=0&rev=32
2024-08-09 08:34:57 +00:00
bb426d1afc [info=cd63bfecde524f5ad22ad6bb83a45b950b5c749a2f2664f579e8ad77b51fb467]
OBS-URL: https://build.opensuse.org/package/show/filesystems/bcachefs-tools?expand=0&rev=31
2024-07-22 18:27:13 +00:00
7 changed files with 41 additions and 308 deletions

View File

@@ -1,5 +0,0 @@
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+jvQrE6szbY3KbnYFAmehfrcACgkQE6szbY3K
bnYBFxAAk3EKaZbSYPBd9VtBF+MQvOPGjwhofGx+9jl0dKWZJG4SqTxQQUXc8a0n
48nkQuyCwJdglKmp13UXV8DjkL3llqxtLjRCo2vJLE1UG+ZKjjTIwfCNZKeqvipc
Rmq6rtfafiZk2BjZo6kc/59vyLebmGdg0oQHoEupFUENztSHJ9L90x9ONwVeqwlU
1+tujMBMpg+WHkjJmV/tBtTyD3pD/Y/SDdLR/E6u46qdq3Wjv8xup6PbcUkv8cML
ugYRipggN2lxYnTOXfXFw0/wWFGmWOIHVOx9UjOKF3zoGSGg7L9AbaSdhA+lFKNX
pp7TU2SO+aLzDTb1W/sqT5W4+a/DhwazY+arnwburDSQrFNWTLR9+4G+h0uU3PPp
W47fod8+JbNlrh//9xyFVkBuBIHmcEkys5XfQbO5a6CZMvG/FTj3Z3wOFL4eMGSm
eld3YElmZ65Y+82azPvMf66nixXzQqKq49u21e7F+fGs2OLw0i9eAXXVufdhSnWa
h6lyvDAsJAntlImBWYOYMUOtH1ntQrKyFmiKElvdfR5Dq+ajKIdqXKfesyfvYezE
xviFRfOVxBYePHcqD61DY6wa6bIpklu0WgmMF6k9MMHu9D9vV3+GK3qc6Q7qLPex
arQnsiIC57an2pRL6aBLE6beSwsvfXEEfGkppcW+GUos2Zitew8=
=lJI1
-----END PGP SIGNATURE-----

Binary file not shown.

View File

@@ -1,16 +0,0 @@
-----BEGIN PGP SIGNATURE-----
iQIzBAABCgAdFiEEKnAFLkS8Qha+jvQrE6szbY3KbnYFAmllCDUACgkQE6szbY3K
bnakBhAAhSrb7BuKzEddJRvEkqFDNO/4Q3PJZzL2UPofs7kfWrqSnkK4ufdrsVfO
w0fQK7BJUI8HitKpqm4x1uDn0oYTmjAcx7TlPeyVyTfiTLdE+971GTbglPuFy00c
BpEJ6QNeWfCsHagJqSzfa1kEW2QVe8l1fgVxsX8KK7fO3uMyCBwGFKK2/TEXLDgi
hW30+umXYs9+y8VnJQTod2/f5JNVgMRtxMtXQ0KVeH3RSZQSaompbveND4u0Fh8f
p3ufa/zHowU3zYwAiVbTh6oTWdYbaJGYzh7AEOf9uGZ9OXYnjYoW9KYYVbEhnYGe
zbfWdjYNjMfmELE3cuv+xXEJyPbNTkLm0HICWyC1PY1dbZsusBXm9qlfRXB/XIKp
Vd+DcRO+ske07BRtvG7bqilB7vP5hc1Q0f0f9WbQ6A+a/kzEpotaFBMagShBsOn7
QXfrMfdUY4oCCS+gtXLkX2vMrZnivCvlh+MpByz5ytjIxU/Icqqnt5/o/QTQjLuB
ezIY+3jXF8oRA3SLAAvRKuO3I/tAmcjXSeewMZfwl3FoXgMyeldSp2XQZwS/Ua0P
+1Q5zbAE81J3WwnHADovEVtogGQo9OUkGTeI2Ffnf6pokmMHyN8Dl1FgMWZkZQ3l
+SItNvR81e8P7RmypyqXXRX+I+zW7LFamcyTb7BxtGtV1hmz0C0=
=06NA
-----END PGP SIGNATURE-----

Binary file not shown.

View File

@@ -1,248 +1,3 @@
-------------------------------------------------------------------
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>

View File

@@ -1,7 +1,7 @@
#
# spec file for package bcachefs-tools
#
# Copyright (c) 2026 SUSE LLC and contributors
# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -17,18 +17,15 @@
Name: bcachefs-tools
Version: 1.35.0
Version: 1.20.0
Release: 0
Summary: Configuration utilities for bcachefs
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
License: GPL-2.0-or-later
Group: System/Filesystems
URL: https://bcachefs.org/
#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
Source0: https://evilpiepirate.org/%name/%name-vendored-%version.tar.zst
Source1: https://evilpiepirate.org/%name/%name-vendored-%version.tar.sign
Source2: %{name}.keyring
BuildRequires: cargo
BuildRequires: clang-devel
BuildRequires: libaio-devel >= 0.3.111
@@ -44,12 +41,6 @@ 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
@@ -85,39 +76,31 @@ export CXXFLAGS="$CFLAGS"
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" DKMSDIR=/tmpdel
rm -Rf "%buildroot/tmpdel"
%make_install PREFIX="%_prefix" ROOT_SBINDIR="%_sbindir"
# this ain't no debian
rm -Rf "%buildroot/etc/initramfs-tools" "%buildroot/%_datadir/initramfs-tools"
%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
%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
%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 Changelog.mdwn Documentation/*
%doc doc/bcachefs-principles-of-operation.tex
%changelog