[GIT PULL] Btrfs fixes for 5.17-rc2

From: David Sterba
Date: Tue Jan 25 2022 - 10:40:59 EST


Hi,

several fixes for defragmentation that got broken in 5.16 after
refactoring and added subpage support. The observed bugs are excessive
IO or uninterruptible ioctl.

All stable material. Please pull, thanks.

----------------------------------------------------------------
The following changes since commit 36c86a9e1be3b29f9f075a946df55dfe1d818019:

btrfs: output more debug messages for uncommitted transaction (2022-01-07 14:18:27 +0100)

are available in the Git repository at:

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

for you to fetch changes up to 27cdfde181bcacd226c230b2fd831f6f5b8c215f:

btrfs: update writeback index when starting defrag (2022-01-24 18:16:28 +0100)

----------------------------------------------------------------
Filipe Manana (5):
btrfs: fix too long loop when defragging a 1 byte file
btrfs: allow defrag to be interruptible
btrfs: fix deadlock when reserving space during defrag
btrfs: add back missing dirty page rate limiting to defrag
btrfs: update writeback index when starting defrag

Qu Wenruo (2):
btrfs: defrag: fix wrong number of defragged sectors
btrfs: defrag: properly update range->start for autodefrag

fs/btrfs/ioctl.c | 84 ++++++++++++++++++++++++++++++++++++++++++++++++++------
1 file changed, 75 insertions(+), 9 deletions(-)