Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
53 commits
Select commit Hold shift + click to select a range
2e01e0c
btrfs-progs: fsck-tests: make the warning check more specific for 057
adam900710 Aug 2, 2025
69eb071
btrfs-progs: check that device byte values in superblock match those …
maharmstone Aug 2, 2025
7919d8f
btrfs-progs: refactor resize argument checking
loemraw Aug 28, 2025
5136c0b
btrfs-progs: fi resize: support offline/unmounted resize
loemraw Aug 21, 2025
a77a30c
btrfs-progs: tests: add case for offline filesystem resize
loemraw Aug 28, 2025
5ddccad
btrfs-progs: docs: document --offline resize feature
loemraw Sep 2, 2025
b4bdc5b
btrfs-progs: quota status: add new command
kdave Sep 12, 2025
bb99e5a
btrfs-progs: mkfs: print if zoned mode is native or emulated
kdave Sep 12, 2025
31dca32
btrfs-progs: count devices without SEARCH_TREE ioctl in get_fs_info()
kdave Sep 12, 2025
793d4b2
btrfs-progs: don't open with O_NOATIME when reading label
kdave Sep 12, 2025
165432b
libbtrfsutil: python: add config files for linters
kdave Sep 15, 2025
468a5ca
btrfs-progs: ci: drop CI/ prefix from accepted branches
kdave Sep 15, 2025
62510ff
btrfs-progs: switch strcmp() to the preferred pattern
kdave Sep 15, 2025
6be7c4b
btrfs-progs: switch strncmp() to the preferred pattern
kdave Sep 15, 2025
fd62159
btrfs-progs: switch memcmp() to the preferred pattern
kdave Sep 15, 2025
f89d402
btrfs-progs: handle allocation errors in cmd_subvolume_list()
kdave Sep 15, 2025
97e13d8
btrfs-progs: don't check pointer before free()
kdave Sep 15, 2025
f2aee8d
libbtrfsutil: add missing header guard defintion to stubs.h
kdave Sep 15, 2025
8a7fb3a
btrfs-progs: add shortcut for memory allocation error reporting
kdave Sep 15, 2025
b76a80c
btrfs-progs: use error_mem() macro for allocation error reports
kdave Sep 15, 2025
f5a3bae
btrfs-progs: kernel-shared: remove commented out code from btrfs_cow_…
kdave Sep 15, 2025
d0ff69a
btrfs-progs: remove stale debugging prints in comments
kdave Sep 15, 2025
5b2ffbe
btrfs-progs: handle readdir() end in get_first_device_zone_size()
kdave Sep 15, 2025
0565c85
btrfs-progs: remove unused imports from python code
kdave Sep 15, 2025
fc45fc8
btrfs-progs: drop newline from error() calls
kdave Sep 17, 2025
f55f5b7
btrfs-progs: ci: rename image build test workflow file
kdave Sep 18, 2025
4df4748
libbtrfsutil: python: lift the tests mkfs verbosity to a variable
kdave Sep 18, 2025
77b0a91
libbtrfsutil: python: increase test image size to 4GiB
kdave Sep 18, 2025
3dd6ca7
btrfs-progs: ci: add libbtrfsutil python bindings coverage
kdave Sep 18, 2025
547869f
btrfs-progs: coalesce 5.x versions in CHANGES
kdave Sep 18, 2025
c4c1765
btrfs-progs: docs: update experimental feature list
kdave Sep 18, 2025
0de1f3e
btrfs-progs: docs: fix typo in device stats name read_io_errs
bobolopolis Sep 15, 2025
dfb668c
btrfs-progs: docs: add headings for stable versions in Feature-by-ver…
kdave Sep 18, 2025
395d7bf
btrfs-progs: docs: add major level headings to Kernel-by-version
kdave Sep 18, 2025
cfd3d77
btrfs-progs: device stats: add support for offline mode
kdave Sep 15, 2025
f3e6118
btrfs-progs: fix btrfs-sb-mod build due to btrfs_csum_data()
kdave Sep 18, 2025
a36ca79
btrfs-progs: sb-mod: clean up used memory
kdave Sep 19, 2025
0c592fe
btrfs-progs: tests: add fuzzing of superblock struct members
kdave Jun 19, 2024
73477e3
btrfs-progs: tune: reset fs_info->new_chunk_tree_uuid at the end
kdave Sep 18, 2025
b4518c0
btrfs-progs: subvolume create: use stack path buffers
kdave Mar 11, 2025
25f665e
btrfs-progs: fi commit-stats: add new command
kdave Sep 19, 2025
7362f6b
btrfs-progs: docs: in btrfs-ioctl reorder Overview section
kdave Sep 20, 2025
6a449a4
btrfs-progs: docs: move ioctl list before data structures
kdave Sep 20, 2025
ac1938f
btrfs-progs: docs: update ioctls
kdave Sep 21, 2025
1b7c23e
btrfs-progs: docs: update kernel coding style
kdave Sep 23, 2025
74e60ac
btrfs-progs: ci: limit codespell workflow only on release and request…
kdave Sep 23, 2025
544020f
btrfs-progs: docs: add 6.17 kernel development statistics
kdave Jan 9, 2024
9965ac9
btrfs-progs: docs: update 6.17 contribution graphs
kdave Mar 20, 2025
6ff4ae7
btrfs-progs: balance: add extra delay if converting with a missing de…
adam900710 Feb 3, 2025
8e9c6b5
btrfs-progs: check: auto-detect chunk level when --chunk-root is spec…
adam900710 Sep 23, 2025
f4731c5
btrfs-progs: fix conditions order when parsing scrub status line
kdave Sep 25, 2025
34a78e8
btrfs-progs: fix mixup between bitwise and logical operators in print…
kdave Sep 25, 2025
154ed72
btrfs-progs: remove btrfs_fs_info::leaf_data_size
adam900710 Sep 27, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 5 additions & 7 deletions .github/workflows/codespell.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
# Check for typos on devel and pull rquests
# Check for typos on release and on-demand branches
#
# NOTE: this is not run on devel or pull requests
#
# - codespell configuration is within .codespellrc
# - the workflow can be run separately from other workflows that trigger on
# ci/* branches, use codespell/* as the prefix
Expand All @@ -9,13 +12,8 @@ run-name: Codespell
on:
push:
branches:
- devel
- 'ci/**'
- release-test
- 'codespell/**'
pull_request:
branches:
- devel
- 'ci/**'

permissions:
contents: read
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/devel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ on:
branches:
- devel
- 'ci/**'
- 'CI/**'
jobs:
build-simple:
name: Simple build tests, manual page build test
Expand Down
41 changes: 41 additions & 0 deletions .github/workflows/python.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
# Run python tests on various version
#
# NOTE: The minimum compatible version is 3.6 but the CI base image does not provide it.
# NOTE: The recent python versions (3.12 and up) fail to set up due to old python3-setuptools in the image
# NOTE: The workflow could still pass even if the individual tests fail (FIXME)

name: Python bindings tests
run-name: Python bindings tests
on:
push:
branches:
- "ci/**"
- devel
- release-test
- master
jobs:
python-test:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
# 3.6 not available since 22.04
# 3.12 broken on 24.04 (no setuptools found during build despite being installed, FIXME)
# 3.13 not available on 24.04
python-version: ["3.9", "3.10", "3.11"]
steps:
- uses: actions/checkout@v4
- run: sudo apt-get update -qqq
- run: sudo apt-get install -y pkg-config gcc liblzo2-dev libzstd-dev libblkid-dev uuid-dev zlib1g-dev libext2fs-dev e2fsprogs libudev-dev python3-sphinx libaio-dev liburing-dev python3-setuptools
- name: Set up python
uses: actions/setup-python@v6
with:
python-version: ${{ matrix.python-version }}
- run: python -c "import sys; print(sys.version)"
- name: Configure
run: ./autogen.sh && ./configure --disable-documentation --disable-programs --disable-static
- name: Make
# With --disable-programs most of the tools are not built, but the tests still need mkfs
run: make V=1 -j 4 all mkfs.btrfs
- name: Test python
run: sudo make test-libbtrfsutil
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@
!.github
!.readthedocs.yaml
!.codespellrc
!.pylintrc

/ci/images/*/devel.tar.gz

Expand Down
58 changes: 22 additions & 36 deletions CHANGES
Original file line number Diff line number Diff line change
Expand Up @@ -612,8 +612,11 @@ btrfs-progs-6.0.2 (2022-11-24)
* receive: fix silent data loss after fall back from encoded write
* fi mkswapfile: new command to create a formatted swapfile in one go

btrfs-progs-5.x (2022-09-12)
----------------------------

btrfs-progs-5.19 (2022-08-16)
-----------------------------
"""""""""""""""""""""""""""""
* send: support protocol version 2
* fi show: print all missing devices
* device stats: add tabular output
Expand All @@ -633,7 +636,6 @@ btrfs-progs-5.19 (2022-08-16)
* new tests

btrfs-progs-5.19.1 (2022-09-12)
"""""""""""""""""""""""""""""""
* fix memory leaks (extent buffer, path)
* check: verify block device size vs item
* rescue fix-device-size: allow to shrink device item
Expand All @@ -644,7 +646,7 @@ btrfs-progs-5.19.1 (2022-09-12)
* new tests

btrfs-progs-5.18 (2022-05-25)
-----------------------------
"""""""""""""""""""""""""""""
* fixes:
* dump-tree: don't print trailing zeros in checksums
* recognize paused balance as exclusive operation state, allow to start
Expand All @@ -661,7 +663,6 @@ btrfs-progs-5.18 (2022-05-25)
* new tests

btrfs-progs-5.18.1 (2022-06-06)
"""""""""""""""""""""""""""""""
* fixes:
* convert: fix self reference of toplevel directory
* build: make kernel lib headers compatible with C++
Expand All @@ -671,7 +672,7 @@ btrfs-progs-5.18.1 (2022-06-06)
* other: documentation updates

btrfs-progs-5.17 (2022-04-26)
-----------------------------
"""""""""""""""""""""""""""""
* check:
* repair wrong num_devices in superblock
* recognize overly long xattr names
Expand All @@ -697,7 +698,7 @@ btrfs-progs-5.17 (2022-04-26)
* add fsstress

btrfs-progs-5.16 (2022-01-12)
-----------------------------
"""""""""""""""""""""""""""""
* rescue: new subcommand clear-uuid-tree to fix failed mount due to bad uuid
subvolume keys, caught by tree-checker
* fi du: skip inaccessible files
Expand All @@ -713,7 +714,6 @@ btrfs-progs-5.16 (2022-01-12)
https://btrfs.readthedocs.io

btrfs-progs-5.16.1 (2022-02-04)
"""""""""""""""""""""""""""""""
* mkfs: support DUP on metadata on zoned devices
* subvol delete: drop warning for root when search ioctl fails
* check:
Expand All @@ -728,7 +728,6 @@ btrfs-progs-5.16.1 (2022-02-04)
* CI targets updated

btrfs-progs-5.16.2 (2022-02-16)
"""""""""""""""""""""""""""""""
* mkfs: fix detection of profile type for zoned mode when creating DUP
* build:
* add missing stub for zoned mode helper when zoned mode not enabled
Expand All @@ -740,7 +739,7 @@ btrfs-progs-5.16.2 (2022-02-16)
* test updates

btrfs-progs-5.15 (2021-11-05)
-----------------------------
"""""""""""""""""""""""""""""
* mkfs: new defaults!
* no-holes
* free-space-tree
Expand All @@ -762,15 +761,14 @@ btrfs-progs-5.15 (2021-11-05)
* new and updated tests

btrfs-progs-5.15.1 (2021-11-22)
"""""""""""""""""""""""""""""""
* fixes:
* fi usage: fix wrongly reported space of used or unallocated space
* fix detection of block device discard capability
* check: add more sanity checks for checksum items
* build: make sphinx optional backend for documentation

btrfs-progs-5.14 (2021-09-10)
-----------------------------
"""""""""""""""""""""""""""""
* convert:
* new option --uuid to copy, generate or set a given uuid
* improve output
Expand Down Expand Up @@ -800,7 +798,6 @@ btrfs-progs-5.14 (2021-09-10)
* new image dump format, with data

btrfs-progs-5.14.1 (2021-09-20)
"""""""""""""""""""""""""""""""
* fixes:
* defrag: fix parsing of compression (option -c)
* add workaround for old kernels when reading zone sizes
Expand All @@ -809,7 +806,6 @@ btrfs-progs-5.14.1 (2021-09-20)
* convert: --uuid copy does not fail on duplicate uuids

btrfs-progs-5.14.2 (2021-10-08)
"""""""""""""""""""""""""""""""
* fixes
* zoned mode
* properly detect non-zoned devices in emulation mode
Expand Down Expand Up @@ -838,7 +834,7 @@ btrfs-progs-5.14.2 (2021-10-08)
* new and updated tests

btrfs-progs-5.13 (2021-07-13)
-----------------------------
"""""""""""""""""""""""""""""
* restore: remove loop checks for extent count and directory scan
* inspect dump-tree: new options to print node (--csum-headers) and data
checksums (--csum-items)
Expand All @@ -863,7 +859,6 @@ btrfs-progs-5.13 (2021-07-13)
* hash speedtest measure time, cycles using perf and print throughput

btrfs-progs-5.13.1 (2021-07-30)
"""""""""""""""""""""""""""""""
* build: fix build on musl libc due to missing definition of NAME_MAX
* check:
* batch more work into one transaction when clearing v1 free space inodes
Expand All @@ -874,7 +869,7 @@ btrfs-progs-5.13.1 (2021-07-30)
* documentation updates

btrfs-progs-5.12 (2021-05-10)
-----------------------------
"""""""""""""""""""""""""""""
* libbtrfsutil: relicensed to LGPL v2.1+
* mkfs: zoned mode support (kernel 5.12+)
* fi df: show zone_unusable per profile type in zoned mode
Expand All @@ -899,14 +894,13 @@ btrfs-progs-5.12 (2021-05-10)
* update status of mount options since 5.9

btrfs-progs-5.12.1 (2021-05-13)
"""""""""""""""""""""""""""""""
* build: fix missing symbols in libbtrfs
* mkfs: check for minimal number of zones
* check: fix warning about cache generation when free space tree is enabled
* fix superblock write in zoned mode on 16K pages

btrfs-progs-5.11 (2021-03-05)
-----------------------------
"""""""""""""""""""""""""""""
* fix device path canonicalization for device mapper devices
* receive: remove workaround for setting capabilities, all stable kernels
have been patched
Expand All @@ -926,7 +920,6 @@ btrfs-progs-5.11 (2021-03-05)
* docker images for various distros

btrfs-progs-5.11.1 (2021-03-24)
"""""""""""""""""""""""""""""""
* properly format checksums when a mismatch is reported
* check: fix false alert on tree block crossing 64K page boundary
* convert:
Expand All @@ -940,7 +933,7 @@ btrfs-progs-5.11.1 (2021-03-24)
* updated tests

btrfs-progs-5.10 (2021-01-18)
-----------------------------
"""""""""""""""""""""""""""""
* scrub status:
* print percentage of progress
* add size unit options
Expand All @@ -964,7 +957,6 @@ btrfs-progs-5.10 (2021-01-18)
* debugging output enhancements

btrfs-progs-5.10.1 (2021-02-05)
"""""""""""""""""""""""""""""""
* static build works again
* other:
* add a way to test static binaries with the testsuite
Expand All @@ -973,7 +965,7 @@ btrfs-progs-5.10.1 (2021-02-05)
change in the future

btrfs-progs-5.9 (2020-10-23)
----------------------------
""""""""""""""""""""""""""""
* mkfs:
* switch default to single profile for multi-device filesystem, up to
now it was raid0 that may not be simple to convert to some other profile
Expand Down Expand Up @@ -1011,10 +1003,10 @@ btrfs-progs-5.9 (2020-10-23)
* print .so versions of libraries in configure summary

btrfs-progs-5.8 (skipped)
-------------------------
"""""""""""""""""""""""""

btrfs-progs-5.7 (2020-07-02)
----------------------------
""""""""""""""""""""""""""""
* mkfs:
* new option to enable features otherwise enabled at runtime, now
implemented for quotas, 'mkfs.btrfs -R quota'
Expand All @@ -1038,7 +1030,7 @@ btrfs-progs-5.7 (2020-07-02)
* new tests

btrfs-progs-5.6 (2020-04-05)
----------------------------
""""""""""""""""""""""""""""
* inspect logical-resolve: support LOGICAL_INO_V2 as new option '-o',
helps advanced dedupe tools
* inspect: user larger buffer (64K) for results
Expand Down Expand Up @@ -1067,7 +1059,6 @@ btrfs-progs-5.6 (2020-04-05)
* many typos fixed

btrfs-progs-5.6.1 (2020-05-07)
""""""""""""""""""""""""""""""
* print warning when multiple block group profiles exist, update 'fi usage'
summary, add docs to manual page explaining the situation
* build: optional support for libgcrypt or libsodium, providing hash
Expand All @@ -1078,10 +1069,10 @@ btrfs-progs-5.6.1 (2020-05-07)
* updated docs

btrfs-progs-5.5 (skipped)
-------------------------
"""""""""""""""""""""""""

btrfs-progs-5.4 (2019-12-03)
----------------------------
""""""""""""""""""""""""""""
* support new hash algorithms (kernel 5.5):
* mkfs.btrfs and btrfs-convert with --csum, crc32c, xxhash, sha256, blake2
* mkfs: support new raid1c3 and raid1c4 block group profiles (kernel 5.5)
Expand All @@ -1103,14 +1094,13 @@ btrfs-progs-5.4 (2019-12-03)
* cleanups and refactoring

btrfs-progs-5.4.1 (2020-01-09)
""""""""""""""""""""""""""""""
* build: fix docbook5 build
* check: do extra verification of extent items, inode items and chunks
* qgroup: return ENOTCONN if quotas not running (needs updated kernel)
* other: various test fixups

btrfs-progs-5.3 (2019-10-21)
----------------------------
""""""""""""""""""""""""""""
* mkfs:
* new option to specify checksum algorithm (only crc32c)
* fix xattr enumeration
Expand All @@ -1125,11 +1115,10 @@ btrfs-progs-5.3 (2019-10-21)
* lots of printf format fixups

btrfs-progs-5.3.1 (2019-10-25)
""""""""""""""""""""""""""""""
* libbtrfs: fix link breakage due to missing symbols

btrfs-progs-5.2 (2019-07-05)
----------------------------
""""""""""""""""""""""""""""
* subvol show: print qgroup information when available
* scrub:
* status: show ETA, revamp the whole output
Expand Down Expand Up @@ -1157,7 +1146,6 @@ btrfs-progs-5.2 (2019-07-05)
* sb-mod can modify more superblock items

btrfs-progs-5.2.1 (2019-07-26)
""""""""""""""""""""""""""""""
* scrub status: fix ETA calculation after resume
* check: fix crash when using -Q
* restore: fix symlink owner restoration
Expand All @@ -1168,7 +1156,6 @@ btrfs-progs-5.2.1 (2019-07-26)
* test updates

btrfs-progs-5.2.2 (2019-09-05)
""""""""""""""""""""""""""""""
* check:
* fix false report of wrong byte count for orphan inodes
* option -E was not handled correctly
Expand All @@ -1181,7 +1168,7 @@ btrfs-progs-5.2.2 (2019-09-05)
* doc fixups and updates

btrfs-progs-5.1 (2019-05-17)
----------------------------
""""""""""""""""""""""""""""
* (version 5.0 skipped)
* check:
* repair: flush/FUA support to avoid breaking metadata COW
Expand Down Expand Up @@ -1212,7 +1199,6 @@ btrfs-progs-5.1 (2019-05-17)
* new tests

btrfs-progs-5.1.1 (2019-06-11)
""""""""""""""""""""""""""""""
* convert and mkfs will try to use optimized crc32c
* fi show: accept a file-backed image
* fi show: fix possible crash when device is deleted in parallel
Expand Down
1 change: 1 addition & 0 deletions Documentation/Contributors.rst
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ Statistics for 6.x series
"6.14", "20", "114592", "167178", "147", "+3847 -1391"
"6.15", "25", "114616", "167485", "190", "+2346 -2039"
"6.16", "16", "114997", "168152", "222", "+4143 -3464"
"6.17", "27", "115015", "168409", "255", "+3082 -2823"


Legend:
Expand Down
Loading