]> git.baikalelectronics.ru Git - kernel.git/commit
btrfs: reada: use GFP_KERNEL everywhere
authorDavid Sterba <dsterba@suse.com>
Mon, 18 Jan 2016 17:42:13 +0000 (18:42 +0100)
committerDavid Sterba <dsterba@suse.com>
Thu, 11 Feb 2016 14:19:39 +0000 (15:19 +0100)
commit8ce581aab669de34fafd28232f476924c17fc458
tree8573846ea2e518c3fdc8d2fd4dab42430a309e22
parentfc58d0717006a83d20c36a5dd8746400fb85b22a
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: David Sterba <dsterba@suse.com>
fs/btrfs/reada.c