Mikulas Patocka 5f43ba2950 dm kcopyd: reserve fewer pages
Reserve just the minimum of pages needed to process one job.

Because we allocate pages from page allocator, we don't need to reserve
a large number of pages.  The maximum job size is SUB_JOB_SIZE and we
calculate the number of reserved pages based on this.

Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>
Signed-off-by: Alasdair G Kergon <agk@redhat.com>
2011-05-29 13:03:11 +01:00
..
2011-03-31 11:26:23 -03:00
2011-03-24 13:54:24 +00:00
2011-05-29 13:03:09 +01:00
2011-05-29 13:03:11 +01:00
2010-08-12 04:14:11 +01:00
2011-05-29 13:03:09 +01:00
2011-05-29 13:03:11 +01:00
2011-03-31 11:26:23 -03:00
2011-05-29 13:03:11 +01:00
2011-03-24 13:54:35 +00:00
2007-10-20 02:01:26 +01:00
2010-08-12 04:14:12 +01:00
2011-03-31 11:26:23 -03:00
2011-03-24 13:54:24 +00:00
2011-03-24 13:54:24 +00:00
2011-04-18 18:25:42 +10:00
2011-03-31 11:26:23 -03:00