Skip to contentSkip to conversation

Btrfs fixes for 5.2-rc3

GIT PULL Merged David Sterba 2 participants 2 messages May 30, 2019 – May 31, 2019 Btrfs file system

lore
Share & tools
lore

David Sterba

author maintainer
#0 lore raw

Hi,

a few more fixes for bugs reported by users, fuzzing tools and regressions:

* fix crashes in relocation
* resuming interrupted balance operation does not properly clean up orphan trees
* with enabled qgroups, resuming needs to be more careful about block groups due to limited context when updating qgroups

* fsync and logging fixes found by fuzzing

* incremental send fixes for no-holes and clone

* fix spin lock type used in timer function for zstd

No merge conflicts, please pull. Thanks.

----------------------------------------------------------------
The following changes since commit 4e9845eff5a8027b5181d5bff56a02991fe46d48:

Btrfs: tree-checker: detect file extent items with overlapping ranges (2019-05-16 14:33:51 +0200)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/kdave/linux.git for-5.2-rc2-tag

for you to fetch changes up to 06989c799f04810f6876900d4760c0edda369cf7:

Btrfs: fix race updating log root item during fsync (2019-05-28 19:26:46 +0200)

----------------------------------------------------------------
Dennis Zhou (1):
btrfs: correct zstd workspace manager lock to use spin_lock_bh()

Filipe Manana (5):
Btrfs: incremental send, fix file corruption when no-holes feature is enabled
Btrfs: incremental send, fix emission of invalid clone operations
Btrfs: fix fsync not persisting changed attributes of a directory
Btrfs: fix wrong ctime and mtime of a directory after log replay
Btrfs: fix race updating log root item during fsync

Nikolay Borisov (1):
btrfs: Ensure replaced device doesn't have pending chunk allocation

Qu Wenruo (2):
btrfs: reloc: Also queue orphan reloc tree for cleanup to avoid BUG_ON()
btrfs: qgroup: Check bg while resuming relocation to avoid NULL pointer dereference

 fs/btrfs/dev-replace.c | 35 +++++++++++++++++++++++----------
 fs/btrfs/inode.c       | 14 ++++++++++++--
 fs/btrfs/qgroup.c      |  8 +++++++-
 fs/btrfs/relocation.c  | 27 ++++++++++++++++++--------
 fs/btrfs/send.c        | 52 +++++++++++++++++++++++++++++++++++++++++++++++---
 fs/btrfs/tree-log.c    | 20 ++++++-------------
 fs/btrfs/zstd.c        | 20 +++++++++----------
 7 files changed, 128 insertions(+), 48 deletions(-)
merge bot Merged
#1 lore raw
The pull request you sent on Thu, 30 May 2019 12:44:01 +0200:

The pull request you sent on Thu, 30 May 2019 12:44:01 +0200:

Quoted 1 line

git://git.kernel.org/pub/scm/linux/kernel/git/kdave/linux.git for-5.2-rc2-tag

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

Thank you!

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