Milan Broz 50be345560 [PATCH] fix creating zero sized bio mempools in low memory system
In the very low memory systems is in the init_bio call
scale parameter set to zero and it leads to creating
zero sized mempool.

This patch prevents pool_entries parameter become zero,
so the created pool have at least 1 entry.

Mempool with 0 entries lead to incorrect behaviour
of mempool_free. (Alloc requests are not waken up
and system stalls in mempool_alloc->ioschedule).

Signed-off-by: Milan Broz <mbroz@redhat.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
2006-09-30 20:52:33 +02:00
..
2006-09-29 09:18:20 -07:00
2006-09-27 08:26:19 -07:00
2006-09-29 09:18:12 -07:00
2006-06-26 18:35:02 +02:00
2006-08-14 13:10:59 -07:00
2006-06-26 09:58:17 -07:00