OpenCloudOS-Kernel/drivers/md/persistent-data
Mike Snitzer b0239faaf8 dm persistent data: fix allocation failure in space map checker init
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>
Cc: stable@kernel.org
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Signed-off-by: Alasdair G Kergon <agk@redhat.com>
2012-07-03 12:55:37 +01:00
..
Kconfig
Makefile
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-03 12:55:37 +01: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-03 12:55:35 +01: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-03 12:55:35 +01:00
dm-transaction-manager.h