mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-01 16:57:18 +09:00
dm thin: reduce endio_hook pool size
commit 7768ed33cc upstream.
Reduce the slab size used for the dm_thin_endio_hook mempool.
Allocation has been seen to fail on machines with smaller amounts
of memory due to fragmentation.
lvm: page allocation failure. order:5, mode:0xd0
device-mapper: table: 253:38: thin-pool: Error creating pool's endio_hook mempool
Signed-off-by: Alasdair G Kergon <agk@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
f74a7c9680
commit
ac9d9e65b6
@@ -19,7 +19,7 @@
|
||||
/*
|
||||
* Tunable constants
|
||||
*/
|
||||
#define ENDIO_HOOK_POOL_SIZE 10240
|
||||
#define ENDIO_HOOK_POOL_SIZE 1024
|
||||
#define DEFERRED_SET_SIZE 64
|
||||
#define MAPPING_POOL_SIZE 1024
|
||||
#define PRISON_CELLS 1024
|
||||
|
||||
Reference in New Issue
Block a user