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:18 -07:00
2006-09-27 08:26:10 -07:00
2006-09-30 20:52:31 +02:00
2006-09-27 08:26:18 -07:00
2006-09-29 09:18:18 -07:00
2006-09-27 08:26:18 -07:00
2006-09-27 08:26:18 -07:00
2006-09-30 20:52:31 +02:00
2006-09-27 08:26:18 -07:00
2006-09-27 08:26:18 -07:00
2006-09-29 09:18:20 -07:00
2006-09-27 08:26:18 -07:00
2006-09-27 08:26:18 -07:00
2006-09-27 08:26:10 -07:00
2006-09-30 20:52:29 +02:00
2006-09-30 20:52:29 +02:00
2006-09-30 20:52:30 +02:00
2006-09-29 09:18:20 -07:00
2006-09-29 09:18:08 -07:00
2006-09-27 08:26:18 -07:00
2006-09-30 20:52:28 +02:00
2006-09-27 08:26:18 -07:00
2006-09-27 08:26:18 -07:00
2006-09-27 08:26:18 -07:00
2006-09-29 09:18:08 -07:00
2006-09-29 09:18:15 -07:00
2006-09-29 09:18:03 -07:00
2006-09-27 08:26:18 -07:00
2006-09-27 08:26:18 -07:00
2006-09-30 20:52:28 +02:00
2006-09-27 08:26:19 -07:00
2006-09-27 08:26:18 -07:00
2006-09-29 09:18:12 -07:00
2006-09-27 08:26:18 -07:00
2006-09-30 20:52:30 +02:00
2006-09-27 08:26:10 -07:00
2006-06-30 19:25:36 +02:00
2006-09-27 08:26:18 -07:00
2006-09-27 08:26:18 -07:00
2006-09-24 11:13:19 -04:00
2006-09-30 20:52:31 +02:00
2006-09-30 20:52:31 +02:00
2006-09-27 08:26:18 -07:00
2006-09-27 08:26:18 -07:00
2006-09-30 20:52:28 +02:00
2006-09-27 08:26:10 -07:00
2006-09-27 08:26:18 -07:00
2006-09-27 08:26:18 -07:00
2006-09-27 08:26:18 -07:00
2006-09-29 09:18:09 -07:00
2006-09-27 08:26:18 -07:00
2006-06-23 07:42:45 -07:00
2006-09-30 20:52:31 +02:00
2006-06-26 18:35:02 +02:00
2006-09-29 09:18:08 -07:00
2006-09-29 09:18:14 -07:00
2006-09-30 20:52:18 +02:00
2006-06-30 19:25:36 +02:00
2006-09-29 09:18:12 -07:00
2006-06-30 19:25:36 +02:00
2006-09-30 20:52:33 +02:00
2006-09-30 20:52:27 +02:00
2006-09-30 20:31:19 +02:00
2006-09-30 20:52:18 +02:00
2006-09-30 20:52:31 +02:00
2006-09-30 20:52:18 +02:00
2006-09-30 20:52:18 +02:00
2006-06-30 19:25:36 +02:00
2006-07-03 15:27:06 -07:00
2006-09-29 09:18:14 -07:00
2006-09-27 08:26:18 -07:00
2006-09-29 09:18:12 -07:00
2006-09-27 08:26:17 -07:00
2006-09-29 09:18:25 -07:00
2006-09-29 09:18:20 -07:00
2006-09-30 20:52:26 +02:00
2006-09-29 09:18:24 -07:00
2006-09-30 20:52:27 +02:00
2006-07-31 13:28:41 -07:00
2006-06-20 05:25:19 -04:00
2006-09-30 20:52:32 +02:00
2006-06-30 19:25:36 +02:00
2006-09-30 20:31:18 +02:00
2006-09-30 20:52:31 +02:00
2006-09-29 09:18:06 -07:00
2006-08-14 13:10:59 -07:00
2006-09-30 20:52:31 +02:00
2006-09-29 09:18:07 -07:00
2006-09-30 20:52:26 +02:00
2006-09-29 09:18:22 -07:00
2006-09-30 20:52:18 +02:00
2006-06-30 19:25:36 +02:00
2006-09-30 20:52:31 +02:00
2006-09-29 09:18:13 -07:00
2006-09-27 08:26:18 -07:00
2006-06-26 09:58:17 -07:00
2006-09-30 20:52:31 +02:00
2006-07-10 13:24:18 -07:00
2006-09-29 09:18:23 -07:00
2006-07-10 11:00:01 +02:00
2006-09-27 08:26:18 -07:00
2006-09-30 20:52:31 +02:00
2006-09-30 20:31:19 +02:00
2006-06-20 05:25:28 -04:00