diff options
author | 2023-07-26 23:29:11 +0200 | |
---|---|---|
committer | 2023-09-05 15:58:16 +0200 | |
commit | dc0b9435238c1a68150c798c9c7a1b5d7414cbb9 (patch) | |
tree | 960fda2f6452ebf72f70b6fa5808339cc3309e30 /fs/gfs2/glock.c | |
parent | gfs2: Use mapping->gfp_mask for metadata inodes (diff) | |
download | linux-dc0b9435238c1a68150c798c9c7a1b5d7414cbb9.tar.gz linux-dc0b9435238c1a68150c798c9c7a1b5d7414cbb9.tar.bz2 linux-dc0b9435238c1a68150c798c9c7a1b5d7414cbb9.zip |
gfs: Don't use GFP_NOFS in gfs2_unstuff_dinode
Revert the rest of commit 220cca2a4f58 ("GFS2: Change truncate page
allocation to be GFP_NOFS"):
In gfs2_unstuff_dinode(), there is no need to carry out the page cache
allocation under GFP_NOFS because inodes on the "regular" filesystem are
never un-inlined under memory pressure, so switch back from
find_or_create_page() to grab_cache_page() here as well.
Inodes on the "metadata" filesystem can theoretically be un-inlined
under memory pressure, but any page cache allocations in that context
would happen in GFP_NOFS context because those inodes have
inode->i_mapping->gfp_mask set to GFP_NOFS (see the previous patch).
Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
Diffstat (limited to 'fs/gfs2/glock.c')
0 files changed, 0 insertions, 0 deletions