]> git.baikalelectronics.ru Git - kernel.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)
committerAlasdair G Kergon <agk@redhat.com>
Fri, 27 Jul 2012 14:07:57 +0000 (15:07 +0100)
commit295a3098c629ea5ea0ad5eec0f71e59df33d8f2d
tree355d56037f8d0ff19e1dc332aeecf3ffd2c70f88
parent5a645b123da4e55e140b9654aa48953e39dc063e
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