WSL2-Linux-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 dm: add persistent data library 2011-10-31 20:19:11 +00:00
Makefile dm: add persistent data library 2011-10-31 20:19:11 +00:00
dm-block-manager.c dm: add persistent data library 2011-10-31 20:19:11 +00:00
dm-block-manager.h dm: add persistent data library 2011-10-31 20:19:11 +00:00
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: add persistent data library 2011-10-31 20:19:11 +00:00
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: add persistent data library 2011-10-31 20:19:11 +00:00
dm-persistent-data-internal.h dm: add persistent data library 2011-10-31 20:19:11 +00:00
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: add persistent data library 2011-10-31 20:19:11 +00:00
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: add persistent data library 2011-10-31 20:19:11 +00:00
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: add persistent data library 2011-10-31 20:19:11 +00:00
dm-space-map-metadata.c dm: add persistent data library 2011-10-31 20:19:11 +00:00
dm-space-map-metadata.h dm: add persistent data library 2011-10-31 20:19:11 +00:00
dm-space-map.h dm: add persistent data library 2011-10-31 20:19:11 +00:00
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 dm: add persistent data library 2011-10-31 20:19:11 +00:00