From: Qu Wenruo <wqu@suse.com>
To: linux-btrfs@vger.kernel.org
Subject: [PATCH 0/2] btrfs: add large folio support to read-repair and defrag
Date: Mon, 7 Apr 2025 15:39:19 +0930 [thread overview]
Message-ID: <cover.1744005845.git.wqu@suse.com> (raw)
These two patches are originally in a series of ASSERT()s cleanup, but
later since I'm able to enable large data folios for testing, one bug is
exposed in the first patch, thus these two are not yet merged into
for-next branch.
Now with full fstests able to run on my local large data folios branch,
I can eventually verify the behavior of those two patches.
The first patch is to add extra calculation to convert the bio_vec (no
matter single page or multi page) to a proper folio and offset inside the
folio.
The second patch is to add large folios support to defrag, which only
needs minor changes.
Qu Wenruo (2):
btrfs: prepare btrfs_end_repair_bio() for larger data folios
btrfs: enable larger data folios support for defrag
fs/btrfs/bio.c | 61 ++++++++++++++++++++++++++++++++++-----
fs/btrfs/defrag.c | 72 +++++++++++++++++++++++++++--------------------
2 files changed, 96 insertions(+), 37 deletions(-)
--
2.49.0
next reply other threads:[~2025-04-07 6:09 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-04-07 6:09 Qu Wenruo [this message]
2025-04-07 6:09 ` [PATCH 1/2] btrfs: prepare btrfs_end_repair_bio() for larger data folios Qu Wenruo
2025-04-14 14:25 ` Filipe Manana
2025-04-14 22:58 ` Qu Wenruo
2025-04-07 6:09 ` [PATCH 2/2] btrfs: enable larger data folios support for defrag Qu Wenruo
2025-04-14 14:38 ` Filipe Manana
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=cover.1744005845.git.wqu@suse.com \
--to=wqu@suse.com \
--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