dm thin: reduce endio_hook pool size
authorAlasdair G Kergon <agk@redhat.com>
Fri, 27 Jul 2012 14:07:57 +0000 (15:07 +0100)
committerAlasdair G Kergon <agk@redhat.com>
Fri, 27 Jul 2012 14:07:57 +0000 (15:07 +0100)
commit7768ed33ccdc02801c4483fc5682dc66ace14aea
tree355d56037f8d0ff19e1dc332aeecf3ffd2c70f88
parentbdc0077af574800d24318b6945cf2344e8dbb050
dm thin: reduce endio_hook pool size

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

Cc: stable@vger.kernel.org
Signed-off-by: Alasdair G Kergon <agk@redhat.com>
drivers/md/dm-thin.c