Skip to contentSkip to conversation

Btrfs fixes for 6.6-rc4

GIT PULL Merged David Sterba 2 participants 2 messages Sep 26, 2023 Btrfs file system

lore
Share & tools
lore

David Sterba

author maintainer
#0 lore raw

Hi,

a few more fixes and build warning fixes. Please pull, thanks.

- delayed refs fixes:
- fix race when refilling delayed refs block reserve
- prevent transaction block reserve underflow when starting transaction
- error message and value adjustments

- fix build warnings with CONFIG_CC_OPTIMIZE_FOR_SIZE and -Wmaybe-uninitialized

- fix for smatch report where uninitialized data from invalid extent buffer range could be returned to the caller

- fix numeric overflow in statfs when calculating lower threshold for a full filesystem

----------------------------------------------------------------
The following changes since commit 8e7f82deb0c0386a03b62e30082574347f8b57d5:

btrfs: fix race between reading a directory and adding entries to it (2023-09-14 23:24:42 +0200)

are available in the Git repository at:

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

for you to fetch changes up to b4c639f699349880b7918b861e1bd360442ec450:

btrfs: initialize start_slot in btrfs_log_prealloc_extents (2023-09-21 18:52:23 +0200)

----------------------------------------------------------------
Filipe Manana (5):
btrfs: fix race when refilling delayed refs block reserve
btrfs: prevent transaction block reserve underflow when starting transaction
btrfs: return -EUCLEAN for delayed tree ref with a ref count not equals to 1
btrfs: remove redundant BUG_ON() from __btrfs_inc_extent_ref()
btrfs: log message if extent item not found when running delayed extent op

Josef Bacik (3):
btrfs: properly report 0 avail for very full file systems
btrfs: make sure to initialize start and len in find_free_dev_extent
btrfs: initialize start_slot in btrfs_log_prealloc_extents

Qu Wenruo (1):
btrfs: reset destination buffer when read_extent_buffer() gets invalid range

 fs/btrfs/delayed-ref.c | 46 +++++++++++++++++++++++++++++++++++-----------
 fs/btrfs/delayed-ref.h |  1 -
 fs/btrfs/extent-tree.c | 18 ++++++++++--------
 fs/btrfs/extent_io.c   |  8 +++++++-
 fs/btrfs/super.c       |  2 +-
 fs/btrfs/transaction.c |  6 +++---
 fs/btrfs/tree-log.c    |  2 +-
 fs/btrfs/volumes.c     | 13 ++++++-------
 8 files changed, 63 insertions(+), 33 deletions(-)
merge bot Merged
#1 lore raw
The pull request you sent on Tue, 26 Sep 2023 18:22:00 +0200:

The pull request you sent on Tue, 26 Sep 2023 18:22:00 +0200:

Quoted 1 line

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

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

Thank you!

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