Skip to contentSkip to conversation

Btrfs fixes for 6.13-rc2

GIT PULL Merged David Sterba 2 participants 2 messages Dec 3, 2024 Btrfs file system

lore
Share & tools
lore

David Sterba

author maintainer
#0 lore raw

Hi,

first batch of regression and regular fixes. Please pull, thanks.

- add lockdep annotations for io_uring/encoded read integration, inode lock is held when returning to userspace

- properly reflect experimental config option to sysfs

- handle NULL root in case the rescue mode accepts invalid/damaged tree roots (rescue=ibadroot)

- regression fix of a deadlock between transaction and extent locks

- fix pending bio accounting bug in encoded read ioctl

- fix NOWAIT mode when checking references for NOCOW files

- fix use-after-free in a rb-tree cleanup in ref-verify debugging tool

----------------------------------------------------------------
The following changes since commit e82c936293aafb4f33b153c684c37291b3eed377:

btrfs: send: check for read-only send root under critical section (2024-11-11 14:34:23 +0100)

are available in the Git repository at:

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

for you to fetch changes up to 22d2e48e318564f8c9b09faf03ecb4f03fb44dd5:

btrfs: fix lockdep warnings on io_uring encoded reads (2024-11-29 16:56:38 +0100)

----------------------------------------------------------------
Filipe Manana (4):
btrfs: fix deadlock between transaction commits and extent locks
btrfs: sysfs: advertise experimental features only if CONFIG_BTRFS_EXPERIMENTAL=y
btrfs: don't loop for nowait writes when checking for cross references
btrfs: ref-verify: fix use-after-free after invalid ref action

Johannes Thumshirn (1):
btrfs: fix use-after-free in btrfs_encoded_read_endio()

Lizhi Xu (1):
btrfs: add a sanity check for btrfs root in btrfs_search_slot()

Mark Harmstone (1):
btrfs: fix lockdep warnings on io_uring encoded reads

 fs/btrfs/ctree.c       |  6 +++++-
 fs/btrfs/extent-tree.c |  2 +-
 fs/btrfs/inode.c       | 18 ++++++++++++++----
 fs/btrfs/ioctl.c       | 10 ++++++++++
 fs/btrfs/locking.h     | 10 ++++++++++
 fs/btrfs/ref-verify.c  |  1 +
 fs/btrfs/sysfs.c       |  4 ++--
 7 files changed, 43 insertions(+), 8 deletions(-)
merge bot Merged
#1 lore raw
The pull request you sent on Tue, 3 Dec 2024 17:44:40 +0100:

The pull request you sent on Tue, 3 Dec 2024 17:44:40 +0100:

Quoted 1 line

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

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

Thank you!

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