Roger Pau Monne 9c1e050cae xen-blkfront: pre-allocate pages for requests
This prevents us from having to call alloc_page while we are preparing
the request. Since blkfront was calling alloc_page with a spinlock
held we used GFP_ATOMIC, which can fail if we are requesting a lot of
pages since it is using the emergency memory pools.

Allocating all the pages at init prevents us from having to call
alloc_page, thus preventing possible failures.

Signed-off-by: Roger Pau Monné <roger.pau@citrix.com>
Cc: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Cc: xen-devel@lists.xen.org
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
2013-03-19 12:50:06 -04:00
..
2012-01-03 22:54:07 -05:00
2011-08-08 11:40:15 +02:00
2012-03-28 18:30:03 +01:00
2012-10-30 08:37:00 +01:00
2012-10-06 03:05:24 +09:00
2012-09-09 10:35:39 +02:00
2012-12-20 10:56:44 -06:00
2009-03-26 21:15:27 +01:00
2012-03-28 18:30:03 +01:00
2008-10-21 07:48:11 -04:00