Commit 78367aaa authored by Kent Overstreet's avatar Kent Overstreet
Browse files

bcachefs: bch2_trans_kmalloc no longer allocates memory with btree locks held



When allocating memory, gfp flags should generally be

 - GFP_NOWAIT|__GFP_NOWARN if btree locks are held
 - GFP_NOFS if in the IO path or otherwise holding resources needed for
   IO submission
 - GFP_KERNEL otherwise

Signed-off-by: default avatarKent Overstreet <kent.overstreet@linux.dev>
parent b5fd7566
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment