mbox series

[v2,0/8] btrfs: delayed refs and qgroups, fixes, cleanups, improvements

Message ID cover.1727342969.git.fdmanana@suse.com (mailing list archive)
Headers show
Series btrfs: delayed refs and qgroups, fixes, cleanups, improvements | expand

Message

Filipe Manana Sept. 26, 2024, 9:33 a.m. UTC
From: Filipe Manana <fdmanana@suse.com>

Some fixes around delayed refs and qgroups after the conversion of a
red black tree to xarray in this merge window, and some improvements
and cleanups. Details in the changelogs.

V2: Updated patch 2/8 to check for MAX_LFS_FILESIZE and error out.

Filipe Manana (8):
  btrfs: fix missing error handling when adding delayed ref with qgroups enabled
  btrfs: use sector numbers as keys for the dirty extents xarray
  btrfs: end assignment with semicolon at btrfs_qgroup_extent event class
  btrfs: qgroups: remove bytenr field from struct btrfs_qgroup_extent_record
  btrfs: store fs_info in a local variable at btrfs_qgroup_trace_extent_post()
  btrfs: remove unnecessary delayed refs locking at btrfs_qgroup_trace_extent()
  btrfs: always use delayed_refs local variable at btrfs_qgroup_trace_extent()
  btrfs: remove pointless initialization at btrfs_qgroup_trace_extent()

 fs/btrfs/delayed-ref.c       | 59 ++++++++++++++++++++++---------
 fs/btrfs/delayed-ref.h       | 10 +++++-
 fs/btrfs/qgroup.c            | 68 +++++++++++++++++++++---------------
 fs/btrfs/qgroup.h            | 13 +++++--
 include/trace/events/btrfs.h | 17 +++++----
 5 files changed, 111 insertions(+), 56 deletions(-)

Comments

Qu Wenruo Sept. 26, 2024, 9:55 a.m. UTC | #1
在 2024/9/26 19:03, fdmanana@kernel.org 写道:
> From: Filipe Manana <fdmanana@suse.com>
>
> Some fixes around delayed refs and qgroups after the conversion of a
> red black tree to xarray in this merge window, and some improvements
> and cleanups. Details in the changelogs.
>
> V2: Updated patch 2/8 to check for MAX_LFS_FILESIZE and error out.
>
> Filipe Manana (8):
>    btrfs: fix missing error handling when adding delayed ref with qgroups enabled
>    btrfs: use sector numbers as keys for the dirty extents xarray
>    btrfs: end assignment with semicolon at btrfs_qgroup_extent event class
>    btrfs: qgroups: remove bytenr field from struct btrfs_qgroup_extent_record
>    btrfs: store fs_info in a local variable at btrfs_qgroup_trace_extent_post()
>    btrfs: remove unnecessary delayed refs locking at btrfs_qgroup_trace_extent()
>    btrfs: always use delayed_refs local variable at btrfs_qgroup_trace_extent()
>    btrfs: remove pointless initialization at btrfs_qgroup_trace_extent()

Reviewed-by: Qu Wenruo <wqu@suse.com>

Thanks,
Qu

>
>   fs/btrfs/delayed-ref.c       | 59 ++++++++++++++++++++++---------
>   fs/btrfs/delayed-ref.h       | 10 +++++-
>   fs/btrfs/qgroup.c            | 68 +++++++++++++++++++++---------------
>   fs/btrfs/qgroup.h            | 13 +++++--
>   include/trace/events/btrfs.h | 17 +++++----
>   5 files changed, 111 insertions(+), 56 deletions(-)
>