Skip to content

Remove GFP_NOFS uses from ext2, udf, and quota code

Jan Kara linux-ext4 linux-fsdevel 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest9 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/9udf: Remove GFP_NOFS from dir iteration codefs/udf/dir.c fs/udf/namei.c+2 -20 replies
2/9udf: Avoid GFP_NOFS allocation in udf_symlink()fs/udf/namei.c+11 -80 replies
3/9udf: Avoid GFP_NOFS allocation in udf_load_pvoldesc()fs/udf/super.c+1 -10 replies
4/9udf: Remove GFP_NOFS allocation in udf_expand_file_adinicb()fs/udf/inode.c+1 -10 replies
5/9ext2: Drop GFP_NOFS allocation from ext2_init_block_alloc_info()fs/ext2/balloc.c+1 -10 replies
6/9ext2: Drop GFP_NOFS use in ext2_get_blocks()fs/ext2/inode.c+1 -10 replies
7/9ext2: Remove GFP_NOFS use in ext2_xattr_cache_insert()fs/ext2/xattr.c+1 -10 replies
8/9quota: Set nofs allocation context when acquiring dqio_semfs/ocfs2/quota_global.c fs/ocfs2/quota_local.c fs/quota/quota_v1.c +1 more+39 -00 replies
9/9quota: Drop GFP_NOFS instances under dquot->dq_lock and dqio_semfs/quota/quota_tree.c fs/quota/quota_v2.c+13 -130 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/9] Remove GFP_NOFS uses from ext2, udf, and quota code

Hello,

inspired by recent Matthew's complaint about frequent use of GFP_NOFS in filesystems I've audited GFP_NOFS use in ext2, udf, and quota code and removed the uses that are no longer needed or can be reasonably easily replaced with the scope API. So far lockdep didn't barf on me during fstests runs but I guess we'll really know only once syzbot seriously stresses this in Linux next.

Unless somebody objects, I'll queue these patches into my tree.

Honza