Skip to contentSkip to conversation

Btrfs fixes for 7.4-rc3

GIT PULL Merged David Sterba 2 participants 2 messages Nov 12 Btrfs file system

lore
Share & tools
lore

David Sterba

author maintainer
#0 lore raw

Hi,

please pull a few fixes. Thanks.

- zoned mode fixes
- fix counting active zones after activation
- redo zone reset after error
- update device lock range during mount and zone loading to avoid lockdep warnings with device drivers (virtio)
- space accounting and extent buffer handling fixes

- fix keeping zstd workspace for the last level

- in SUBVOL_SYNC ioctl handle a real case of a subvolume with 0 refs

- properly handle case of zero num_stripes when reading chunk items

- exclude reloc tree from xarray as it's special and it's key does not fit unsigned long on 32bit platforms

- in tree-checker, handle extent item tree owner depending on the features (enabled in simple quota mode)

- fix bio control structure leak when checksumming fails

----------------------------------------------------------------
The following changes since commit 8c66a6aa59a5df1d672d72b7cd379d897ff73200:

btrfs: zoned: fix double free of bitmaps on clone failure (2026-10-30 23:17:16 +0100)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/kdave/linux.git tags/for-7.4-rc2-tag

for you to fetch changes up to d27d0039bc1334be8a72c769e14c0b0c3efc317d:

btrfs: fix bio counter and bioc leak when async checksumming fails (2026-11-09 18:50:58 +0100)

----------------------------------------------------------------
Cheng Yongkang (2):
btrfs: reject refs=0 subvolume without DEAD in SUBVOL_SYNC_WAIT
btrfs: handle zero num_stripes in btrfs_chunk_item_size()

Filipe Manana (1):
btrfs: zstd: prevent leak of workspace below maximum level

Johannes Thumshirn (6):
btrfs: zoned: only change active zone counter on successful (de)activation
btrfs: zoned: fix possible UAF in wait_eb_writebacks()
btrfs: zoned: requeue block group if zone reset bails out
btrfs: zoned: avoid underflow of space info bytes_zone_unusable
btrfs: zoned: don't wait for ordered extents in do_zone_finish()
btrfs: zoned: fix lockdep splat on mount

Mani Tofigh (1):
btrfs: fix bio counter and bioc leak when async checksumming fails

Qu Wenruo (1):
btrfs: do not insert the data reloc tree into fs_roots_radix

Siddharth Mishra (1):
btrfs: tree-checker: reject extent owner ref without simple quota

 fs/btrfs/bio.c          |  4 +++
 fs/btrfs/block-group.c  |  2 +-
 fs/btrfs/disk-io.c      | 53 +++++++++++++++++++++++++++------
 fs/btrfs/ioctl.c        |  8 +++--
 fs/btrfs/tree-checker.c |  6 +++-
 fs/btrfs/volumes.h      |  5 ++--
 fs/btrfs/zoned.c        | 78 +++++++++++++++++++++++++++++++++++--------------
 fs/btrfs/zstd.c         |  3 +-
 8 files changed, 120 insertions(+), 39 deletions(-)
merge bot Merged
#1 lore raw
The pull request you sent on Thu, 12 Nov 2026 19:08:57 +0100:

The pull request you sent on Thu, 12 Nov 2026 19:08:57 +0100:

Quoted 1 line

git://git.kernel.org/pub/scm/linux/kernel/git/kdave/linux.git tags/for-7.4-rc2-tag

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/d3e7c23ec3d004de154dc85d3ddeae0feff4159d

Thank you!

Signature · 2 lines
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/prtracker.html