summaryrefslogtreecommitdiffstats
path: root/fs/jfs/jfs_incore.h
diff options
context:
space:
mode:
authorNikolay Borisov <nborisov@suse.com>2019-04-01 10:29:57 +0200
committerDavid Sterba <dsterba@suse.com>2019-05-02 13:48:19 +0200
commitb1c16ac978fd40ae636e629bb69a652df7eebdc2 (patch)
tree85fcec89523e78e9e44acb95186238245a48f06c /fs/jfs/jfs_incore.h
parentbtrfs: Factor out common extent locking code in submit_compressed_extents (diff)
downloadlinux-b1c16ac978fd40ae636e629bb69a652df7eebdc2.tar.xz
linux-b1c16ac978fd40ae636e629bb69a652df7eebdc2.zip
btrfs: Use kvmalloc for allocating compressed path context
Recent refactoring of cow_file_range_async means it's now possible to request a rather large physically contiguous memory via kmalloc. The size is dependent on the number of 512k chunks that the compressed range consists of. David reported multiple OOM messages on such large allocations. Fix it by switching to using kvmalloc. Signed-off-by: Nikolay Borisov <nborisov@suse.com> Reviewed-by: David Sterba <dsterba@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/jfs/jfs_incore.h')
0 files changed, 0 insertions, 0 deletions