commit | 69b91ede5cab843dcf345c28bd1f4b5a99dacd9b | [log] [tgz] |
---|---|---|
author | Bob Liu <bob.liu@oracle.com> | Wed Jun 03 13:40:01 2015 +0800 |
committer | Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> | Fri Jun 05 21:14:05 2015 -0400 |
tree | 542bccc08bb0281d7a2474dc48021c5b4917e038 | |
parent | a5768aa887fb636f0cc4c83a2f1242506aaf50f6 [diff] |
drivers: xen-blkback: delay pending_req allocation to connect_ring This is a pre-patch for multi-page ring feature. In connect_ring, we can know exactly how many pages are used for the shared ring, delay pending_req allocation here so that we won't waste too much memory. Signed-off-by: Bob Liu <bob.liu@oracle.com> Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>