Files
twx-linux/drivers
Mikulas Patocka f930cf3f21 dm integrity: reduce vmalloc space footprint on 32-bit architectures
commit 6d50eb4725 upstream.

It was reported that dm-integrity runs out of vmalloc space on 32-bit
architectures. On x86, there is only 128MiB vmalloc space and dm-integrity
consumes it quickly because it has a 64MiB journal and 8MiB recalculate
buffer.

Fix this by reducing the size of the journal to 4MiB and the size of
the recalculate buffer to 1MiB, so that multiple dm-integrity devices
can be created and activated on 32-bit architectures.

Cc: stable@vger.kernel.org
Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>
Signed-off-by: Mike Snitzer <snitzer@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2023-07-23 13:47:49 +02:00
..
2023-07-23 13:47:25 +02:00
2023-07-23 13:46:46 +02:00
2023-04-05 11:24:55 +02:00
2023-07-23 13:47:30 +02:00
2023-03-10 09:40:13 +01:00
2023-07-23 13:47:20 +02:00