Linux Btrfs filesystem development
 help / color / mirror / Atom feed
* [PATCH v2 0/2] btrfs: cleanup on the extra_gfp parameters
@ 2024-06-28  4:21 Qu Wenruo
  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
  0 siblings, 2 replies; 5+ messages in thread
From: Qu Wenruo @ 2024-06-28  4:21 UTC (permalink / raw)
  To: linux-btrfs

[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


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2024-07-01 14:03 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-06-28  4:21 [PATCH v2 0/2] btrfs: cleanup on the extra_gfp parameters Qu Wenruo
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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox