[GIT PULL] Btrfs fixes for 5.6-rc2

From: David Sterba
Date: Sun Feb 16 2020 - 08:52:16 EST


Hi,

please pull the following mix of fixes. There are two races fixed,
memory leak fix, sysfs directory fixup and two new log messages.

* two fixed race conditions: extent map merging and truncate vs fiemap

* create the right sysfs directory with device information and move the
individual device dirs under it

* print messages when the tree-log is replayed at mount time or cannot
be replayed on remount

Thanks.

----------------------------------------------------------------
The following changes since commit d55966c4279bfc6a0cf0b32bf13f5df228a1eeb6:

btrfs: do not zero f_bavail if we have available space (2020-02-02 18:49:32 +0100)

are available in the Git repository at:

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

for you to fetch changes up to 1b9867eb6120db85f8dca8ff42789d9ec9ee16a5:

btrfs: sysfs, move device id directories to UUID/devinfo (2020-02-12 18:28:22 +0100)

----------------------------------------------------------------
Anand Jain (2):
btrfs: sysfs, add UUID/devinfo kobject
btrfs: sysfs, move device id directories to UUID/devinfo

David Sterba (2):
btrfs: print message when tree-log replay starts
btrfs: log message when rw remount is attempted with unclean tree-log

Filipe Manana (2):
Btrfs: fix race between using extent maps and merging them
Btrfs: fix race between shrinking truncate and fiemap

Wenwen Wang (1):
btrfs: ref-verify: fix memory leaks

fs/btrfs/disk-io.c | 1 +
fs/btrfs/extent_map.c | 11 +++++++++++
fs/btrfs/inode.c | 8 ++++++++
fs/btrfs/ref-verify.c | 5 +++++
fs/btrfs/super.c | 2 ++
fs/btrfs/sysfs.c | 17 ++++++++++++++++-
fs/btrfs/volumes.h | 1 +
7 files changed, 44 insertions(+), 1 deletion(-)