[GIT PULL] Btrfs fixes for 6.8-rc6

David Sterba
2024-02-21T11:28:00Z

Hi,

two more fixes. Please pull, thanks.

- fix a deadlock in fiemap, there was a big lock around the whole operation
that can interfere with a page fault and mkwrite, reducing the lock
scope can also speed up fiemap

- fix range condition for extent defragmentation which could lead to worse
layout in some cases

----------------------------------------------------------------
The following changes since commit 2f6397e448e689adf57e6788c90f913abd7e1af8:

btrfs: don't refill whole delayed refs block reserve when starting transaction (2024-02-13 18:39:09 +0100)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/kdave/linux.git tags/for-6.8-rc5-tag

for you to fetch changes up to b0ad381fa7690244802aed119b478b4bdafc31dd:

btrfs: fix deadlock with fiemap and extent locking (2024-02-19 11:20:00 +0100)

----------------------------------------------------------------
Josef Bacik (1):
btrfs: fix deadlock with fiemap and extent locking

Qu Wenruo (1):
btrfs: defrag: avoid unnecessary defrag caused by incorrect extent size

fs/btrfs/defrag.c | 2 +-
fs/btrfs/extent_io.c | 62 ++++++++++++++++++++++++++++++++++++++--------------
2 files changed, 46 insertions(+), 18 deletions(-)