Skip to contentSkip to conversation

Btrfs fixes for 6.12-rc2

GIT PULL Merged David Sterba 2 participants 2 messages Oct 4, 2024 Btrfs file system

lore
Share & tools
lore

David Sterba

author maintainer
#0 lore raw

Hi,

please pull the following fixes, thanks.

- in incremental send, fix invalid clone operation for file that got its size decreased

- fix __counted_by() annotation of send path cache entries, we don not store the terminating NUL

- fix a longstanding bug in relocation (and quite hard to hit by chance), drop back reference cache that can get out of sync after transaction commit

- wait for fixup worker kthread before finishing umount

- add missing raid-stripe-tree extent for NOCOW files, zoned mode cannot have NOCOW files but RST is meant to be a standalone feature

- handle transaction start error during relocation, avoid potential NULL pointer dereference of relocation control structure (reported by syzbot)

- disable module-wide rate limiting of debug level messages

- minor fix to tracepoint definition (reported by checkpatch.pl)

----------------------------------------------------------------
The following changes since commit 7f1b63f981b8284c6d8238cb49b5cb156d9a833e:

btrfs: fix use-after-free on rbtree that tracks inodes for auto defrag (2024-09-17 17:35:53 +0200)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/kdave/linux.git tags/for-6.12-rc1-tag

for you to fetch changes up to d6e7ac65d4c106149d08a0ffba39fc516ae3d21b:

btrfs: disable rate limiting when debug enabled (2024-10-01 19:29:41 +0200)

----------------------------------------------------------------
Filipe Manana (4):
btrfs: send: fix buffer overflow detection when copying path to cache entry
btrfs: tracepoints: end assignment with semicolon at btrfs_qgroup_extent event class
btrfs: send: fix invalid clone operation for file that got its size decreased
btrfs: wait for fixup workers before stopping cleaner kthread during umount

Johannes Thumshirn (1):
btrfs: also add stripe entries for NOCOW writes

Josef Bacik (1):
btrfs: drop the backref cache during relocation if we commit

Leo Martins (1):
btrfs: disable rate limiting when debug enabled

Qu Wenruo (1):
btrfs: fix a NULL pointer dereference when failed to start a new trasacntion

 fs/btrfs/backref.c           | 12 ++++---
 fs/btrfs/disk-io.c           | 11 +++++++
 fs/btrfs/inode.c             |  5 +++
 fs/btrfs/messages.c          |  3 +-
 fs/btrfs/relocation.c        | 77 +++-----------------------------------------
 fs/btrfs/send.c              | 31 +++++++++++++++---
 include/trace/events/btrfs.h |  2 +-
 7 files changed, 58 insertions(+), 83 deletions(-)
merge bot Merged
#1 lore raw
The pull request you sent on Fri, 4 Oct 2024 16:37:13 +0200:

The pull request you sent on Fri, 4 Oct 2024 16:37:13 +0200:

Quoted 1 line

git://git.kernel.org/pub/scm/linux/kernel/git/kdave/linux.git tags/for-6.12-rc1-tag

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

Thank you!

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