From: Qu Wenruo <wqu@suse.com>
To: linux-btrfs@vger.kernel.org
Subject: [PATCH v2 0/2] btrfs: cleanup on the extra_gfp parameters
Date: Fri, 28 Jun 2024 13:51:28 +0930 [thread overview]
Message-ID: <cover.1719548446.git.wqu@suse.com> (raw)
[CHANGELOG]
v2:
- Instead of a one line wrapper, just rename @extra_gfp to @nofail
The @extra_gfp parameters for page/folio array allocation is only for
extent buffer allocation to pass __GFP_NOFAIL.
Furthermore there is no usage of btrfs_alloc_folio_array() for the extra
gfp flags.
This patchset removes the parameter for btrfs_alloc_folio_array() first,
then rename @extra_gfp to @nofail for btrfs_alloc_page_array().
Qu Wenruo (2):
btrfs: remove the extra_gfp parameter from btrfs_alloc_folio_array()
btrfs: rename the extra_gfp parameter of btrfs_alloc_page_array()
fs/btrfs/compression.c | 2 +-
fs/btrfs/extent_io.c | 28 +++++++++++++---------------
fs/btrfs/extent_io.h | 5 ++---
fs/btrfs/inode.c | 2 +-
fs/btrfs/raid56.c | 6 +++---
fs/btrfs/scrub.c | 2 +-
6 files changed, 21 insertions(+), 24 deletions(-)
--
2.45.2
next reply other threads:[~2024-06-28 4:21 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-06-28 4:21 Qu Wenruo [this message]
2024-06-28 4:21 ` [PATCH v2 1/2] btrfs: remove the extra_gfp parameter from btrfs_alloc_folio_array() Qu Wenruo
2024-06-28 4:21 ` [PATCH v2 2/2] btrfs: rename the extra_gfp parameter of btrfs_alloc_page_array() Qu Wenruo
2024-06-28 9:33 ` Filipe Manana
2024-07-01 14:03 ` David Sterba
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.1719548446.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.