Skip to contentSkip to conversation

Btrfs fixes for 6.13-rc5

GIT PULL Merged David Sterba 5 participants 5 messages Dec 29, 2024 – Jan 2, 2025 Btrfs file system

lore
Share & tools
lore

David Sterba

author maintainer
#0 lore raw

Hi,

a few more fixes that accumulated over the last two weeks, fixing some user reported problems. Please pull, thanks.

- swapfile fixes
- conditional reschedule in the activation loop
- fix race with memory mapped file when activating
- make activation loop interruptible
- rework and fix extent sharing checks

- folio fixes
- in send, recheck folio mapping after unlock
- in relocation, recheck folio mapping after unlock

- fix waiting for encoded read io_uring requests

- fix transaction atomicity when enabling simple quotas

- move COW block trace point before the block gets freed

- print various sizes in sysfs with correct endianity

----------------------------------------------------------------
The following changes since commit f10bef73fb355e3fc85e63a50386798be68ff486:

btrfs: flush delalloc workers queue before stopping cleaner kthread during unmount (2024-12-06 15:04:18 +0100)

are available in the Git repository at:

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

for you to fetch changes up to fca432e73db2bec0fdbfbf6d98d3ebcd5388a977:

btrfs: sysfs: fix direct super block member reads (2024-12-23 22:06:44 +0100)

----------------------------------------------------------------
Boris Burkov (2):
btrfs: check folio mapping after unlock in relocate_one_folio()
btrfs: check folio mapping after unlock in put_file_data()

Filipe Manana (5):
btrfs: fix use-after-free when COWing tree bock and tracing is enabled
btrfs: fix race with memory mapped writes when activating swap file
btrfs: fix swap file activation failure due to extents that used to be shared
btrfs: allow swap activation to be interruptible
btrfs: avoid monopolizing a core when activating a swap file

Johannes Thumshirn (1):
btrfs: fix use-after-free waiting for encoded read endios

Julian Sun (1):
btrfs: fix transaction atomicity bug when enabling simple quotas

Qu Wenruo (1):
btrfs: sysfs: fix direct super block member reads

 fs/btrfs/ctree.c      |  11 ++--
 fs/btrfs/inode.c      | 154 +++++++++++++++++++++++++++++++++++---------------
 fs/btrfs/qgroup.c     |   3 +-
 fs/btrfs/relocation.c |   6 ++
 fs/btrfs/send.c       |   6 ++
 fs/btrfs/sysfs.c      |   6 +-
 6 files changed, 130 insertions(+), 56 deletions(-)
#1 lore raw
Quoted 2 lines · David Sterba

- print various sizes in sysfs with correct endianity

"endianity"?

More commonly called "endianness".

I left it around, but I really don't think that's a word.

Linus

#2 lore raw
Quoted 5 lines · Linus Torvalds

"endianity"?

More commonly called "endianness".

I left it around, but I really don't think that's a word.

Clearly, it refers to "Endiana Jones and the Least Significant Bit Crusade."

-K

#3 lore raw
In reply to Linus Torvalds
Quoted 9 lines · Linus Torvalds
Quoted 2 lines · David Sterba

- print various sizes in sysfs with correct endianity

"endianity"?

More commonly called "endianness".

I left it around, but I really don't think that's a word.

Right, it's not, it's close to the czech version. Feel free to fix such obvious mistakes.

merge bot Merged
#4 lore raw
In reply to David Sterba
The pull request you sent on Sun, 29 Dec 2024 08:40:38 +0100:

The pull request you sent on Sun, 29 Dec 2024 08:40:38 +0100:

Quoted 1 line

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

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

Thank you!

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