Skip to contentSkip to conversation

Btrfs fixes for 7.1-rc4

GIT PULL Merged David Sterba 2 participants 2 messages May 15 Btrfs file system

lore
Share & tools
lore

David Sterba

author maintainer
#0 lore raw

Hi,

please pull the following fixes, thanks.

- fixup warning when allocating memory for readahead, __GFP_NOWARN was accidentally dropped when setting mapping constraints

- in tracepoint of file sync, fix sleeping in atomic context when handling dentries

- harden initial loading of block group on crafted/fuzzed images, iterate all chunk mapping entries unconditionally

- fix freeing pages of submitted io after checking for errors

- fix incorrect inode size after remount when using fallocate KEEP_SIZE mode (also requires disabled 'no-holes' feature)

----------------------------------------------------------------
The following changes since commit 82323b1a7088b7a5c3e528a5d634bff447fa286f:

btrfs: fix double-decrement of bytes_may_use in submit_one_async_extent() (2026-04-21 04:03:08 +0200)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/kdave/linux.git tags/for-7.1-rc3-tag

for you to fetch changes up to c562ba61fc5e11798720acc1b172862158f1fa0b:

btrfs: fix incorrect i_size after remount caused by KEEP_SIZE prealloc gap (2026-05-08 00:32:08 +0200)

----------------------------------------------------------------
Calvin Owens (1):
btrfs: always pass __GFP_NOWARN from add_ra_bio_pages()

Filipe Manana (1):
btrfs: tracepoints: fix sleep while in atomic context in btrfs_sync_file()

Qu Wenruo (1):
btrfs: only release the dirty pages io tree after successful writes

Robbie Ko (1):
btrfs: fix incorrect i_size after remount caused by KEEP_SIZE prealloc gap

ZhengYuan Huang (1):
btrfs: fix check_chunk_block_group_mappings() to iterate all chunk maps

 fs/btrfs/block-group.c       | 23 ++++++++---------------
 fs/btrfs/compression.c       | 26 ++++++++++++++------------
 fs/btrfs/disk-io.c           |  1 +
 fs/btrfs/inode.c             | 28 ++++++++++++++++++++++++++++
 fs/btrfs/transaction.c       |  9 ++++-----
 include/trace/events/btrfs.h |  4 +---
 6 files changed, 56 insertions(+), 35 deletions(-)
merge bot Merged
#1 lore raw
The pull request you sent on Fri, 15 May 2026 19:34:23 +0200:

The pull request you sent on Fri, 15 May 2026 19:34:23 +0200:

Quoted 1 line

git://git.kernel.org/pub/scm/linux/kernel/git/kdave/linux.git tags/for-7.1-rc3-tag

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

Thank you!

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