From: Qu Wenruo <quwenruo.btrfs@gmx.com>
To: fdmanana@kernel.org, linux-btrfs@vger.kernel.org
Subject: Re: [PATCH 0/8] btrfs: delayed refs and qgroups, fixes, cleanups, improvements
Date: Thu, 26 Sep 2024 08:05:17 +0930 [thread overview]
Message-ID: <802b77a8-adaa-4ea2-adf2-05438aa36410@gmx.com> (raw)
In-Reply-To: <cover.1727261112.git.fdmanana@suse.com>
在 2024/9/25 20:20, 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.
>
> 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
I'd prefer an error out other than continuing if the record->bytenr goes
beyond MAX_LFS_FILESIZE to be extra safe on 32bit systems.
Otherwise the remaining patches look good to me.
Thanks for the cleanup, especially since the convert to xarray
introduces extra xa_lock for us, it means we do not need to re-use the
delayed refs lock.
Thanks,
Qu
> 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 | 58 +++++++++++++++++------------------
> fs/btrfs/qgroup.h | 13 ++++++--
> include/trace/events/btrfs.h | 17 ++++++-----
> 5 files changed, 101 insertions(+), 56 deletions(-)
>
next prev parent reply other threads:[~2024-09-25 22:35 UTC|newest]
Thread overview: 25+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-09-25 10:50 [PATCH 0/8] btrfs: delayed refs and qgroups, fixes, cleanups, improvements fdmanana
2024-09-25 10:50 ` [PATCH 1/8] btrfs: fix missing error handling when adding delayed ref with qgroups enabled fdmanana
2024-09-25 10:50 ` [PATCH 2/8] btrfs: use sector numbers as keys for the dirty extents xarray fdmanana
2024-09-25 22:25 ` Qu Wenruo
2024-09-25 10:50 ` [PATCH 3/8] btrfs: end assignment with semicolon at btrfs_qgroup_extent event class fdmanana
2024-09-25 10:50 ` [PATCH 4/8] btrfs: qgroups: remove bytenr field from struct btrfs_qgroup_extent_record fdmanana
2024-09-25 10:50 ` [PATCH 5/8] btrfs: store fs_info in a local variable at btrfs_qgroup_trace_extent_post() fdmanana
2024-09-25 10:50 ` [PATCH 6/8] btrfs: remove unnecessary delayed refs locking at btrfs_qgroup_trace_extent() fdmanana
2024-09-25 10:50 ` [PATCH 7/8] btrfs: always use delayed_refs local variable " fdmanana
2024-09-25 10:50 ` [PATCH 8/8] btrfs: remove pointless initialization " fdmanana
2024-09-25 22:35 ` Qu Wenruo [this message]
2024-09-26 9:33 ` [PATCH v2 0/8] btrfs: delayed refs and qgroups, fixes, cleanups, improvements fdmanana
2024-09-26 9:33 ` [PATCH v2 1/8] btrfs: fix missing error handling when adding delayed ref with qgroups enabled fdmanana
2024-10-08 19:39 ` Kees Bakker
2024-10-08 20:03 ` Filipe Manana
2024-10-08 20:20 ` Kees Bakker
2024-10-08 20:30 ` Filipe Manana
2024-09-26 9:33 ` [PATCH v2 2/8] btrfs: use sector numbers as keys for the dirty extents xarray fdmanana
2024-09-26 9:33 ` [PATCH v2 3/8] btrfs: end assignment with semicolon at btrfs_qgroup_extent event class fdmanana
2024-09-26 9:33 ` [PATCH v2 4/8] btrfs: qgroups: remove bytenr field from struct btrfs_qgroup_extent_record fdmanana
2024-09-26 9:33 ` [PATCH v2 5/8] btrfs: store fs_info in a local variable at btrfs_qgroup_trace_extent_post() fdmanana
2024-09-26 9:33 ` [PATCH v2 6/8] btrfs: remove unnecessary delayed refs locking at btrfs_qgroup_trace_extent() fdmanana
2024-09-26 9:33 ` [PATCH v2 7/8] btrfs: always use delayed_refs local variable " fdmanana
2024-09-26 9:33 ` [PATCH v2 8/8] btrfs: remove pointless initialization " fdmanana
2024-09-26 9:55 ` [PATCH v2 0/8] btrfs: delayed refs and qgroups, fixes, cleanups, improvements Qu Wenruo
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=802b77a8-adaa-4ea2-adf2-05438aa36410@gmx.com \
--to=quwenruo.btrfs@gmx.com \
--cc=fdmanana@kernel.org \
--cc=linux-btrfs@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).