aboutsummaryrefslogtreecommitdiffstats
path: root/lib/mpi/mpi-add.c
diff options
context:
space:
mode:
authorDave Chinner <[email protected]>2012-03-07 04:50:22 +0000
committerBen Myers <[email protected]>2012-03-15 19:54:23 +0000
commitf074211f6041305b645669464343d504f4e6a290 (patch)
tree2fd1678c72b47683e25f69e247dfecaec79e477b /lib/mpi/mpi-add.c
parentxfs: fallback to vmalloc for large buffers in xfs_attrmulti_attr_get (diff)
downloadkernel-f074211f6041305b645669464343d504f4e6a290.tar.gz
kernel-f074211f6041305b645669464343d504f4e6a290.zip
xfs: fallback to vmalloc for large buffers in xfs_getbmap
xfs_getbmap uses for a large buffer for extents, which is kmalloc'd. This can fail after the system has been running for some time as it is a high order allocation. Add a fallback to vmalloc so that it doesn't require contiguous memory and so won't randomly fail on files with large extent lists. Signed-off-by: Dave Chinner <[email protected]> Reviewed-by: Christoph Hellwig <[email protected]> Reviewed-by: Mark Tinguely <[email protected]> Signed-off-by: Ben Myers <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-add.c')
0 files changed, 0 insertions, 0 deletions