[GIT PULL] Btrfs fixes for 5.9-rc4

From: David Sterba
Date: Mon Aug 31 2020 - 19:22:12 EST


Hi,

two small fixes and a bunch of lockdep fixes for warnings that show up
with an upcoming tree locking update but are valid with current locks as
well. Please pull, thanks.

* fix bug in free space bitmap/extent switch logic

* several lockdep warning fixes

* clarify tree-checker error message

----------------------------------------------------------------
The following changes since commit a84d5d429f9eb56f81b388609841ed993f0ddfca:

btrfs: detect nocow for swap after snapshot delete (2020-08-21 12:21:23 +0200)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/kdave/linux.git for-5.9-rc3-tag

for you to fetch changes up to f96d6960abbc52e26ad124e69e6815283d3e1674:

btrfs: tree-checker: fix the error message for transid error (2020-08-27 14:16:05 +0200)

----------------------------------------------------------------
Josef Bacik (5):
btrfs: drop path before adding new uuid tree entry
btrfs: fix potential deadlock in the search ioctl
btrfs: allocate scrub workqueues outside of locks
btrfs: set the correct lockdep class for new nodes
btrfs: set the lockdep class for log tree extent buffers

Marcos Paulo de Souza (1):
btrfs: block-group: fix free-space bitmap threshold

Qu Wenruo (1):
btrfs: tree-checker: fix the error message for transid error

fs/btrfs/block-group.c | 4 +-
fs/btrfs/ctree.c | 6 ++-
fs/btrfs/extent-tree.c | 2 +-
fs/btrfs/extent_io.c | 8 +--
fs/btrfs/extent_io.h | 6 +--
fs/btrfs/free-space-tree.c | 4 ++
fs/btrfs/ioctl.c | 27 +++++++---
fs/btrfs/scrub.c | 122 ++++++++++++++++++++++++++-------------------
fs/btrfs/tree-checker.c | 2 +-
fs/btrfs/volumes.c | 3 +-
10 files changed, 113 insertions(+), 71 deletions(-)