linux/drivers/md/persistent-data
Mikulas Patocka faada2174c dm persistent data: fix memory allocation failure
kmalloc is unreliable when allocating more than 8 pages of memory. It may
fail when there is plenty of free memory but the memory is fragmented.
Zdenek Kabelac observed such failure in his tests.

This commit changes kmalloc to kvmalloc - kvmalloc will fall back to
vmalloc if the large allocation fails.

Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>
Reported-by: Zdenek Kabelac <zkabelac@redhat.com>
Reviewed-by: Mike Snitzer <snitzer@kernel.org>
Cc: stable@vger.kernel.org
2024-08-13 21:14:21 +02:00
..
dm-array.c dm: Constify struct dm_block_validator 2024-07-19 12:08:15 +02:00
dm-array.h
dm-bitset.c
dm-bitset.h
dm-block-manager.c dm: Constify struct dm_block_validator 2024-07-19 12:08:15 +02:00
dm-block-manager.h dm: Constify struct dm_block_validator 2024-07-19 12:08:15 +02:00
dm-btree-internal.h dm: Constify struct dm_block_validator 2024-07-19 12:08:15 +02:00
dm-btree-remove.c
dm-btree-spine.c dm: Constify struct dm_block_validator 2024-07-19 12:08:15 +02:00
dm-btree.c
dm-btree.h
dm-persistent-data-internal.h
dm-space-map-common.c dm: Constify struct dm_block_validator 2024-07-19 12:08:15 +02:00
dm-space-map-common.h
dm-space-map-disk.c
dm-space-map-disk.h
dm-space-map-metadata.c dm persistent data: fix memory allocation failure 2024-08-13 21:14:21 +02:00
dm-space-map-metadata.h
dm-space-map.h
dm-transaction-manager.c dm: Constify struct dm_block_validator 2024-07-19 12:08:15 +02:00
dm-transaction-manager.h dm: Constify struct dm_block_validator 2024-07-19 12:08:15 +02:00
Kconfig
Makefile