Skip to content
Commit ed0244fa authored by David Sterba's avatar David Sterba
Browse files

btrfs: reada: use GFP_KERNEL everywhere



The readahead framework is not on the critical writeback path we don't
need to use GFP_NOFS for allocations. All error paths are handled and
the readahead failures are not fatal. The actual users (scrub,
dev-replace) will trigger reads if the blocks are not found in cache.

Signed-off-by: default avatarDavid Sterba <dsterba@suse.com>
parent e780b0d1
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