Hi,
a few more fixes and a correction of async discard for zoned mode.
Please pull, thanks.
- fix accounting of global block reserve size when block group tree is
enabled
- the async discard has been enabled in 6.2 unconditionally, but for
zoned mode it does not make that much sense to do it asynchronously as
the zones are reset as needed
- error handling and proper error value propagation fixes
----------------------------------------------------------------
The following changes since commit aa84ce8a78a1a5c10cdf9c7a5fb0c999fbc2c8d6:
btrfs: fix warning when putting transaction with qgroups enabled after abort (2023-07-18 03:14:11 +0200)
are available in the Git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/kdave/linux.git tags/for-6.5-rc3-tag
for you to fetch changes up to b28ff3a7d7e97456fd86b68d24caa32e1cfa7064:
btrfs: check for commit error at btrfs_attach_transaction_barrier() (2023-07-26 13:57:47 +0200)
----------------------------------------------------------------
Filipe Manana (4):
btrfs: account block group tree when calculating global reserve size
btrfs: remove BUG_ON()'s in add_new_free_space()
btrfs: check if the transaction was aborted at btrfs_wait_for_commit()
btrfs: check for commit error at btrfs_attach_transaction_barrier()
Naohiro Aota (1):
btrfs: zoned: do not enable async discard
fs/btrfs/block-group.c | 51 ++++++++++++++++++++++++++++++----------------
fs/btrfs/block-group.h | 4 ++--
fs/btrfs/block-rsv.c | 5 +++++
fs/btrfs/disk-io.c | 7 ++++++-
fs/btrfs/free-space-tree.c | 24 +++++++++++++++-------
fs/btrfs/transaction.c | 10 +++++++--
fs/btrfs/zoned.c | 3 +++
7 files changed, 75 insertions(+), 29 deletions(-)
The pull request you sent on Thu, 27 Jul 2023 13:16:17 +0200:
> git://git.kernel.org/pub/scm/linux/kernel/git/kdave/linux.git tags/for-6.5-rc3-tag
has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/64de76ce8e26fb0a5ca32ac2210ef99238c28525
Thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/prtracker.html