]> git.karo-electronics.de Git - karo-tx-linux.git/commit
dm thin: reduce endio_hook pool size
authorAlasdair G Kergon <agk@redhat.com>
Fri, 27 Jul 2012 14:07:57 +0000 (15:07 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 9 Aug 2012 15:23:11 +0000 (08:23 -0700)
commitac9d9e65b673fa34f12002df33211d11432b86cf
tree01a7b368f0d6121c5fa8099d93ec13be9b0b16e9
parentf74a7c968090d6db642c70657c742bc313524e9b
dm thin: reduce endio_hook pool size

commit 7768ed33ccdc02801c4483fc5682dc66ace14aea 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>
drivers/md/dm-thin.c