summaryrefslogtreecommitdiffstats
path: root/drivers/xen
diff options
context:
space:
mode:
authorJulien Grall <julien.grall@citrix.com>2015-07-01 15:10:38 +0200
committerDavid Vrabel <david.vrabel@citrix.com>2015-10-23 15:20:36 +0200
commit4f503fbdf319e4411aa48852b8922c93a9cc0c5d (patch)
tree9eb62475a83bc14c3b0090a2f2001cdaac6391fe /drivers/xen
parentblock/xen-blkfront: Store a page rather a pfn in the grant structure (diff)
downloadlinux-4f503fbdf319e4411aa48852b8922c93a9cc0c5d.tar.xz
linux-4f503fbdf319e4411aa48852b8922c93a9cc0c5d.zip
block/xen-blkfront: split get_grant in 2
Prepare the code to support 64KB page granularity. The first implementation will use a full Linux page per indirect and persistent grant. When non-persistent grant is used, each page of a bio request may be split in multiple grant. Furthermore, the field page of the grant structure is only used to copy data from persistent grant or indirect grant. Avoid to set it for other use case as it will have no meaning given the page will be split in multiple grant. Provide 2 functions, to setup indirect grant, the other for bio page. 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/xen')
0 files changed, 0 insertions, 0 deletions