Skip to contentSkip to conversation

Btrfs fixes for 5.4-rc2

GIT PULL Merged David Sterba 2 participants 2 messages Sep 30, 2019 Btrfs file system

lore
Share & tools
lore

David Sterba

author maintainer
#0 lore raw

Hi,

a bunch of fixes that accumulated in recent weeks, mostly material for stable.

Summary:

- fix for regression from 5.3 that prevents to use balance convert with single profile

- qgroup fixes: rescan race, accounting leak with multiple writers, potential leak after io failure recovery

- fix for use after free in relocation (reported by KASAN)

- other error handling fixups

Please pull, thanks.

----------------------------------------------------------------
The following changes since commit 6af112b11a4bc1b560f60a618ac9c1dcefe9836e:

btrfs: Relinquish CPUs in btrfs_compare_trees (2019-09-09 14:59:20 +0200)

are available in the Git repository at:

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

for you to fetch changes up to d4e204948fe3e0dc8e1fbf3f8f3290c9c2823be3:

btrfs: qgroup: Fix reserved data space leak if we have multiple reserve calls (2019-09-27 15:24:34 +0200)

----------------------------------------------------------------
Dennis Zhou (1):
btrfs: adjust dirty_metadata_bytes after writeback failure of extent buffer

Filipe Manana (3):
Btrfs: fix selftests failure due to uninitialized i_mode in test inodes
Btrfs: fix missing error return if writeback for extent buffer never started
Btrfs: fix race setting up and completing qgroup rescan workers

Qu Wenruo (4):
btrfs: relocation: fix use-after-free on dead relocation roots
btrfs: Fix a regression which we can't convert to SINGLE profile
btrfs: qgroup: Fix the wrong target io_tree when freeing reserved data space
btrfs: qgroup: Fix reserved data space leak if we have multiple reserve calls

 fs/btrfs/extent_io.c         | 13 +++++++++++++
 fs/btrfs/qgroup.c            | 38 +++++++++++++++++++++++---------------
 fs/btrfs/relocation.c        |  9 ++++++++-
 fs/btrfs/tests/btrfs-tests.c |  8 +++++++-
 fs/btrfs/volumes.c           |  8 +++++++-
 5 files changed, 58 insertions(+), 18 deletions(-)
merge bot Merged
#1 lore raw
The pull request you sent on Mon, 30 Sep 2019 16:25:08 +0200:

The pull request you sent on Mon, 30 Sep 2019 16:25:08 +0200:

Quoted 1 line

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

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

Thank you!

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