diff options
author | Julien Grall <julien.grall@citrix.com> | 2015-05-05 16:25:56 +0100 |
---|---|---|
committer | David Vrabel <david.vrabel@citrix.com> | 2015-10-23 14:20:40 +0100 |
commit | 67de5dfbc176ea86ab0278658b5d55f64207ff2d (patch) | |
tree | 0c03545ee47352eddd9b61171546a1e76fccb73c /drivers/net/xen-netfront.c | |
parent | c004a6fe0c405e2aa91b2a88aa1428724e6d06f6 (diff) | |
download | blackbird-op-linux-67de5dfbc176ea86ab0278658b5d55f64207ff2d.tar.gz blackbird-op-linux-67de5dfbc176ea86ab0278658b5d55f64207ff2d.zip |
block/xen-blkback: Make it running on 64KB page granularity
The PV block protocol is using 4KB page granularity. The goal of this
patch is to allow a Linux using 64KB page granularity behaving as a
block backend on a non-modified Xen.
It's only necessary to adapt the ring size and the number of request per
indirect frames. The rest of the code is relying on the grant table
code.
Note that the grant table code is allocating a Linux page per grant
which will result to waste 6OKB for every grant when Linux is using 64KB
page granularity. This could be improved by sharing the page between
multiple grants.
Signed-off-by: Julien Grall <julien.grall@citrix.com>
Acked-by: "Roger Pau Monné" <roger.pau@citrix.com>
Signed-off-by: David Vrabel <david.vrabel@citrix.com>
Diffstat (limited to 'drivers/net/xen-netfront.c')
0 files changed, 0 insertions, 0 deletions