• David Sterba's avatar
    btrfs: reada: use GFP_KERNEL everywhere · ed0244fa
    David Sterba authored
    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>
    ed0244fa
reada.c 24.6 KB