Skip to contentSkip to conversation

Btrfs fixes for 5.10-rc2

GIT PULL Merged David Sterba 2 participants 2 messages Oct 30, 2020 Btrfs file system

lore
Share & tools
lore

David Sterba

author maintainer
#0 lore raw

Hi,

please pull the following branch with fixes. Thanks.

- lockdep fixes
- drop path locks before manipulating sysfs objects or qgroups
- preliminary fixes before tree locks get switched to rwsem
- use annotated seqlock

- build warning fixes (printk format)

- fix relocation vs fallocate race

- tree checker properly validates number of stripes and parity

- readahead vs device replace fixes

- iomap dio fix for unnecessary buffered io fallback

----------------------------------------------------------------
The following changes since commit 1fd4033dd011a3525bacddf37ab9eac425d25c4f:

btrfs: rename BTRFS_INODE_ORDERED_DATA_CLOSE flag (2020-10-07 12:18:00 +0200)

are available in the Git repository at:

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

for you to fetch changes up to d5c8238849e7bae6063dfc16c08ed62cee7ee688:

btrfs: convert data_seqcount to seqcount_mutex_t (2020-10-27 15:11:51 +0100)

----------------------------------------------------------------
Daniel Xu (1):
btrfs: tree-checker: validate number of chunk stripes and parity

Davidlohr Bueso (1):
btrfs: convert data_seqcount to seqcount_mutex_t

Filipe Manana (3):
btrfs: fix relocation failure due to race with fallocate
btrfs: fix use-after-free on readahead extent after failure to create it
btrfs: fix readahead hang and use-after-free after removing a device

Johannes Thumshirn (1):
btrfs: don't fallback to buffered read if we don't need to

Josef Bacik (3):
btrfs: drop the path before adding block group sysfs files
btrfs: drop the path before adding qgroup items when enabling qgroups
btrfs: add a helper to read the tree_root commit root for backref lookup

Pujin Shi (1):
btrfs: tree-checker: fix incorrect printk format

 fs/btrfs/backref.c      |  13 ++++-
 fs/btrfs/block-group.c  |   1 +
 fs/btrfs/ctree.h        |   2 +
 fs/btrfs/dev-replace.c  |   5 ++
 fs/btrfs/disk-io.c      | 139 ++++++++++++++++++++++++++++++++++--------------
 fs/btrfs/disk-io.h      |   3 ++
 fs/btrfs/extent-tree.c  |   2 +-
 fs/btrfs/file.c         |   3 +-
 fs/btrfs/inode.c        |   8 ++-
 fs/btrfs/qgroup.c       |  18 +++++++
 fs/btrfs/reada.c        |  47 ++++++++++++++++
 fs/btrfs/tree-checker.c |  18 +++++++
 fs/btrfs/volumes.c      |   5 +-
 fs/btrfs/volumes.h      |  12 ++---
 14 files changed, 225 insertions(+), 51 deletions(-)