Skip to contentSkip to conversation

Btrfs fixes for 7.4-rc7

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

lore
Share & tools
lore

David Sterba

author maintainer
#0 lore raw

Hi,

please pull a number of fixes as reported on Bugs page of Sashiko and usual bag of regular fixes.

Thanks.

- send fixes:
- fix sending file hole punching command in incremental mode
- fix invalid memory access for inline extent

- fixes for nowait semantics
- fix memory allocation in encoding read ioctl
- don't wait for ordered extents in buffered write

- don't propagate nodatacow from mount option to files with compression flag inherited from parent directory

- fix fsync mode in encoded write so the data are fully written

- fix race between reflink and compressed write on the same folio

- fix rchar accounting in io_uring after error

- drop link count for a deleted subvolume early so eventual open file does not keep showing the subvolume in the list

- fix livelock during transaction commit on RT kernel

- fix inode locking inode for concurrent sync direct IO writes

- reject subvolume ids that don't fit 32bit long

- error handling and resource management fixes: sysfs objects, block group refs, bio control structures, delayed inode refs

----------------------------------------------------------------
The following changes since commit d27d0039bc1334be8a72c769e14c0b0c3efc317d:

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

are available in the Git repository at:

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

for you to fetch changes up to 3100f46985fd14148e79a0e79912180934ef7231:

btrfs: fix delayed inode count leak after failure to delete inode ref (2026-11-23 19:53:01 +0100)

----------------------------------------------------------------
Binbin Deng (1):
btrfs: wait for a grace period before freeing a new device

Boris Burkov (1):
btrfs: fix block group ref leak when scrub races with unused bg deletion

Cheng Yongkang (1):
btrfs: remove devid kobject when deleting a missing device

Daniel Vacek (1):
btrfs: fix a livelock in wait_for_commit() on PREEMPT_RT

Filipe Manana (13):
btrfs: send: fix missing hole punching during incremental send
btrfs: send: fix invalid access to inline extents in clone_range()
btrfs: don't propagate nodatacow mount option on files with inherited compression
btrfs: drop the link count of a subvolume inode when deleting the subvolume
btrfs: fix race between concurrent sync direct IO writes
btrfs: zstd: fix UAF due to race between putting workspace and reclaim
btrfs: fiemap: deal with inline extent in fiemap_find_last_extent_offset()
btrfs: fix off-by-one max tree level bound when replaying log trees
btrfs: fix double release of space when cloning compressed inline extent
btrfs: abort transaction on failure to update inode after hole punching
btrfs: fix blocking allocation for nowait encoded reads of inline extents
btrfs: fix incorrect task accounting on error during io_uring read
btrfs: fix delayed inode count leak after failure to delete inode ref

Joseph Qi (1):
btrfs: don't wait for ordered extents in nowait buffered writes

Qu Wenruo (3):
btrfs: reject subvolume ids that do not fit into unsigned long
btrfs: skip fast sync for inodes with encoded writes
btrfs: fix a race between reflink and compressed writes

 fs/btrfs/block-group.c   |  7 +++-
 fs/btrfs/delayed-inode.c |  3 +-
 fs/btrfs/direct-io.c     | 15 +++++++-
 fs/btrfs/disk-io.c       | 31 +++++++++------
 fs/btrfs/disk-io.h       | 18 +++++++++
 fs/btrfs/extent_io.c     |  5 +--
 fs/btrfs/extent_io.h     |  3 +-
 fs/btrfs/fiemap.c        |  2 +
 fs/btrfs/file.c          | 16 +++++++-
 fs/btrfs/inode.c         | 86 ++++++++++++++++++++++++------------------
 fs/btrfs/ioctl.c         |  9 +++--
 fs/btrfs/reflink.c       | 15 +++++++-
 fs/btrfs/send.c          | 98 +++++++++++++++++++++++++++++++++++++++---------
 fs/btrfs/transaction.c   | 15 +++-----
 fs/btrfs/tree-log.c      |  2 +-
 fs/btrfs/volumes.c       |  9 +++--
 fs/btrfs/zstd.c          |  8 +++-
 17 files changed, 244 insertions(+), 98 deletions(-)
merge bot Merged
#1 lore raw
The pull request you sent on Thu, 26 Nov 2026 02:46:16 +0100:

The pull request you sent on Thu, 26 Nov 2026 02:46:16 +0100:

Quoted 1 line

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

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

Thank you!

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