android_kernel_google_msm/drivers/md/persistent-data
Mike Snitzer 6d442d8f7e dm persistent data: fix allocation failure in space map checker init
commit b0239faaf8 upstream.

If CONFIG_DM_DEBUG_SPACE_MAPS is enabled and memory is fragmented and a
sufficiently-large metadata device is used in a thin pool then the space
map checker will fail to allocate the memory it requires.

Switch from kmalloc to vmalloc to allow larger virtually contiguous
allocations for the space map checker's internal count arrays.

Reported-by: Vivek Goyal <vgoyal@redhat.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Signed-off-by: Alasdair G Kergon <agk@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2012-07-16 09:04:26 -07:00
..
dm-block-manager.c
dm-block-manager.h
dm-btree-internal.h dm persistent data: remove redundant value_size arg from value_ptr 2012-03-28 18:41:25 +01:00
dm-btree-remove.c dm persistent data: remove redundant value_size arg from value_ptr 2012-03-28 18:41:25 +01:00
dm-btree-spine.c
dm-btree.c dm persistent data: remove redundant value_size arg from value_ptr 2012-03-28 18:41:25 +01:00
dm-btree.h
dm-persistent-data-internal.h
dm-space-map-checker.c dm persistent data: fix allocation failure in space map checker init 2012-07-16 09:04:26 -07:00
dm-space-map-checker.h
dm-space-map-common.c dm persistent data: remove space map ref_count entries if redundant 2012-03-28 18:41:27 +01:00
dm-space-map-common.h
dm-space-map-disk.c dm persistent data: handle space map checker creation failure 2012-07-16 09:04:26 -07:00
dm-space-map-disk.h
dm-space-map-metadata.c
dm-space-map-metadata.h
dm-space-map.h
dm-transaction-manager.c dm persistent data: handle space map checker creation failure 2012-07-16 09:04:26 -07:00
dm-transaction-manager.h
Kconfig
Makefile