diff options
author | Jennifer Herbert <jennifer.herbert@citrix.com> | 2015-01-05 16:49:22 +0000 |
---|---|---|
committer | David Vrabel <david.vrabel@citrix.com> | 2015-01-28 14:03:16 +0000 |
commit | c43cf3ea838541ea9f066f4f1aa7b197cba6276e (patch) | |
tree | 36e8b188920c0b47074397234bd9b923338f5f34 /include/xen | |
parent | 745282256c754ac5ed3dbe2fbef6471dc1373417 (diff) | |
download | talos-obmc-linux-c43cf3ea838541ea9f066f4f1aa7b197cba6276e.tar.gz talos-obmc-linux-c43cf3ea838541ea9f066f4f1aa7b197cba6276e.zip |
xen-blkback: safely unmap grants in case they are still in use
Use gnttab_unmap_refs_async() to wait until the mapped pages are no
longer in use before unmapping them.
This allows blkback to use network storage which may retain refs to
pages in queued skbs after the block I/O has completed.
Signed-off-by: Jennifer Herbert <jennifer.herbert@citrix.com>
Acked-by: Roger Pau Monné <roger.pau@citrix.com>
Acked-by: Jens Axboe <axboe@kernel.de>
Signed-off-by: David Vrabel <david.vrabel@citrix.com>
Diffstat (limited to 'include/xen')
0 files changed, 0 insertions, 0 deletions