bcachefs: Check gfp_flags correctly in bch2_btree_cache_scan()
authorKent Overstreet <kent.overstreet@gmail.com>
Fri, 5 Jun 2020 13:01:23 +0000 (09:01 -0400)
committerKent Overstreet <kent.overstreet@linux.dev>
Sun, 22 Oct 2023 21:08:40 +0000 (17:08 -0400)
commit8c9eef95cde9e2a11f7c84181dc1710e594dffb2
treebd22a3fb8d55ce431f02ea787a46046666b543fb
parent8804ef1f28def994562801f68d271ad4f0cf1c36
bcachefs: Check gfp_flags correctly in bch2_btree_cache_scan()

bch2_btree_node_mem_alloc() uses memalloc_nofs_save()/GFP_NOFS, but
GFP_NOFS does include __GFP_IO - oops. We used to use GFP_NOIO, but as
we're a filesystem now GFP_NOFS makes more sense now and is looser.

Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
fs/bcachefs/btree_cache.c