[GIT PULL] Btrfs fixes for 6.9-rc3

From: David Sterba
Date: Mon Apr 08 2024 - 14:37:44 EST


Hi,

please pull several fixes to qgroups that have been recently identified
by test generic/475, thanks.

- fix prealloc reserve leak in subvolume operations

- various other fixes in reservation setup, conversion or cleanup

----------------------------------------------------------------
The following changes since commit ef1e68236b9153c27cb7cf29ead0c532870d4215:

btrfs: fix race in read_extent_buffer_pages() (2024-03-26 16:42:39 +0100)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/kdave/linux.git tags/for-6.9-rc2-tag

for you to fetch changes up to 6e68de0bb0ed59e0554a0c15ede7308c47351e2d:

btrfs: always clear PERTRANS metadata during commit (2024-04-02 19:19:13 +0200)

----------------------------------------------------------------
Boris Burkov (6):
btrfs: qgroup: correctly model root qgroup rsv in convert
btrfs: qgroup: fix qgroup prealloc rsv leak in subvolume operations
btrfs: record delayed inode root in transaction
btrfs: qgroup: convert PREALLOC to PERTRANS after record_root_in_trans
btrfs: make btrfs_clear_delalloc_extent() free delalloc reserve
btrfs: always clear PERTRANS metadata during commit

fs/btrfs/delayed-inode.c | 3 +++
fs/btrfs/inode.c | 15 +++++++++++++--
fs/btrfs/ioctl.c | 37 ++++++++++++++++++++++++++++---------
fs/btrfs/qgroup.c | 2 ++
fs/btrfs/root-tree.c | 10 ----------
fs/btrfs/root-tree.h | 2 --
fs/btrfs/transaction.c | 19 +++++++++----------
7 files changed, 55 insertions(+), 33 deletions(-)