diff options
author | Mike Snitzer <snitzer@redhat.com> | 2012-07-03 15:55:37 +0400 |
---|---|---|
committer | Alasdair G Kergon <agk@redhat.com> | 2012-07-03 15:55:37 +0400 |
commit | b0239faaf87c38bb419c9264bf20817438ddc3a9 (patch) | |
tree | cc91fa9575c0900e5e26a0aa5edca2dc29cd37ca /Documentation/device-mapper | |
parent | 62662303e7f590fdfbb0070ab820a0ad4267c119 (diff) | |
download | linux-b0239faaf87c38bb419c9264bf20817438ddc3a9.tar.xz |
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>
Diffstat (limited to 'Documentation/device-mapper')
0 files changed, 0 insertions, 0 deletions