Skip to content

btrfs: cleanup on the extra_gfp parameters

Qu Wenruo linux-btrfs 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 2 repliesIn review
  2. v12 patches 5 repliesSuperseded

Changes in v2 from the cover letter

- Instead of a one line wrapper, just rename @extra_gfp to @nofail

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2btrfs: remove the extra_gfp parameter from btrfs_alloc_folio_array()fs/btrfs/compression.c fs/btrfs/extent_io.c fs/btrfs/extent_io.h+5 -80 replies
2/2btrfs: rename the extra_gfp parameter of btrfs_alloc_page_array()fs/btrfs/extent_io.c fs/btrfs/extent_io.h fs/btrfs/inode.c +2 more+16 -162 replies

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchFilipe Manana
1/2R-b
2/2R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/2] btrfs: cleanup on the extra_gfp parameters

[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(-)
Signature · 1 line
2.45.2